convert *smk in dxa

Ask for help with ScummVM problems

Moderator: ScummVM Team

abe
Posts: 9
Joined: Tue Jul 01, 2008 4:16 pm

convert *smk in dxa

Post by abe »

hello

I'm a neewbie, i have found a old game " feeble files " . I use xp , so i use ScummVM.
But when I launch it i have two error message
the first is : "counld't open voice1.wav"
so I have juste rename the file voice.wav in voices1.wav
just after i have the next error " failed to load video Winasoft.dxa "
so i have Winasoft.smk, and i don't know how do for convert smk in dxa =|

thank to help me :)
User avatar
eriktorbjorn
ScummVM Developer
Posts: 3558
Joined: Mon Oct 31, 2005 7:39 am

Post by eriktorbjorn »

There are lots of threads about this in the forum. Perhaps this one is a good starting point, if you're running Windows. (I don't, so I can't verify it.)
abe
Posts: 9
Joined: Tue Jul 01, 2008 4:16 pm

Post by abe »

thank you for your answer!

But the link in post is dead =|
for LAME i have found this link : http://sourceforge.net/project/downloa ... gz&951413
is it good?
I have dowload the last scummvm version.

what is your OS ? linux?

:wink:
User avatar
eriktorbjorn
ScummVM Developer
Posts: 3558
Joined: Mon Oct 31, 2005 7:39 am

Post by eriktorbjorn »

abe wrote: for LAME i have found this link : http://sourceforge.net/project/downloa ... gz&951413
is it good?
That's the source code, not an executable program. It's probably not what you want. Perhaps the LAME home page has some better link?
abe wrote: what is your OS ? linux?
Yes.
abe
Posts: 9
Joined: Tue Jul 01, 2008 4:16 pm

Post by abe »

okay
thank you :D
i have finally found this: http://www.free-codecs.com/download_sof ... =2762&s=22

so now i have lame.exe =D

i have put compress_agos.exe encode_dxa.exe lame.exe
where i have install feeble file, is it good?

so now what i must do?

i'm sorry to be a noob :(
Ceri Cat
Posts: 149
Joined: Wed Jun 11, 2008 3:47 pm

Post by Ceri Cat »

You still need RAD Game tools installed. As without it you can't do anything with the smk files. You'll also notice in the SCUMMVM Tools folder two batch files (convert_dxa.bat and convert_dxa_one.bat) they'll make life easier working with the feeble files as they're already setup for it. If you edit them you can set the paths to what you need.
abe
Posts: 9
Joined: Tue Jul 01, 2008 4:16 pm

Post by abe »

okay if i have understand, i just do edit conver_dxa.bat and convert_dxa_one.bat and edit SET SMK_PATH="write here where is the file smk"
and same for SET DXA_PATH=
Last edited by abe on Wed Jul 02, 2008 1:19 pm, edited 1 time in total.
abe
Posts: 9
Joined: Tue Jul 01, 2008 4:16 pm

Post by abe »

thank everyone who help me
it isn't easy to understand it when you are french and 14 years old !
abe
Posts: 9
Joined: Tue Jul 01, 2008 4:16 pm

Post by abe »

I have edit convert_dxa.bat : rem Script for converting Feeble Files video to ScummVM format
rem
rem modify the paths below
rem
rem (c) 2006 ScummVM Team
rem (c) 2006 oduverne
rem
rem $URL: https://scummvm.svn.sourceforge.net/svn ... rt_dxa.bat $
rem
rem $Id: convert_dxa.bat 28817 2007-09-02 12:46:17Z Kirben $

@echo off
rem Feeble Files smk->dxa batch convertor

echo Setting environment variables...
SET TOOLS_PATH=C:\Program files\ScummVM\tools
SET BINK_PATH=C:\Program Files\RADVideo
SET SMK_PATH=C:\Program Files\AdventureSoft (UK) Ltd\Winasoft.smk
SET DXA_PATH=C:\Program Files\AdventureSoft (UK) Ltd\winasoft.dxa
SET DXA_CONVERT=CORRECT


for %%i in (Winasoft.dxa) do convert_dxa_one.bat "%Winasoft.smk
"


echo Converting finished!

i have a message error : " unssuported output filetype or colord depth

:s
Ceri Cat
Posts: 149
Joined: Wed Jun 11, 2008 3:47 pm

Post by Ceri Cat »

Don't include the file in the path statement, just the directory.

Besides which you don't need to include the file name in the run line. Just put all the smk files for feeble in the one place and run the batch.
abe
Posts: 9
Joined: Tue Jul 01, 2008 4:16 pm

Post by abe »

so it?
rem Script for converting Feeble Files video to ScummVM format
rem
rem modify the paths below
rem
rem (c) 2006 ScummVM Team
rem (c) 2006 oduverne
rem
rem $URL: https://scummvm.svn.sourceforge.net/svn ... rt_dxa.bat $
rem
rem $Id: convert_dxa.bat 28817 2007-09-02 12:46:17Z Kirben $

@echo off
rem Feeble Files smk->dxa batch convertor

echo Setting environment variables...
SET TOOLS_PATH=C:\Program files\ScummVM\tools
SET BINK_PATH=C:\Program Files\RADVideo
SET SMK_PATH=C:\Program Files\AdventureSoft (UK) Ltd\The Feeble Files\smk
SET DXA_PATH=C:\Program Files\AdventureSoft (UK) Ltd\The Feeble Files\dxa
SET DXA_CONVERT=CORRECT

cd /d "%TOOLS_PATH%"

for %%i in (%SMK_PATH%\*.smk) do call convert_dxa_one "%%i"

echo Converting finished!

i have make one place and in it i have all smk files. I run the batch
and a lot of png are in the directory
Ceri Cat
Posts: 149
Joined: Wed Jun 11, 2008 3:47 pm

Post by Ceri Cat »

That's part of it. When it executes it pulls apart the smk files to png and wav

Ah whoops in convert_dxa_one you'll need to change vorbis to mp3 forgot that part.

Then the encode_dxa will be run an convert the png files to a dxa and a mp3 file.
abe
Posts: 9
Joined: Tue Jul 01, 2008 4:16 pm

Post by abe »

so i must edit convert_dxa_one?
what i must edit in :

rem Auxiliary script for converting Feeble Files video to ScummVM format
rem
rem (c) 2006 ScummVM Team
rem (c) 2006 oduverne
rem
rem $URL: https://scummvm.svn.sourceforge.net/svn ... xa_one.bat $
rem
rem $Id: convert_dxa_one.bat 28817 2007-09-02 12:46:17Z Kirben $

@echo off

if "%DXA_CONVERT%"=="CORRECT" goto proceed

goto usage

:proceed

echo Processing %1...
"%BINK_PATH%\BinkConv.exe" %1 "%SMK_PATH%\%~n1.png" /n-1 /z1 /#
"%BINK_PATH%\BinkConv.exe" %1 "%SMK_PATH%\%~n1.wav" /v /#
cd /d "%SMK_PATH%"
"%TOOLS_PATH%\encode_dxa.exe" --vorbis "%~n1.smk"
echo Deleting temp files
del "%SMK_PATH%\%~n1*.png"
del "%SMK_PATH%\%~n1.wav"
move "%SMK_PATH%\%~n1.*" "%DXA_PATH%"
cd /d "%TOOLS_PATH%"

goto quit

:usage
echo Please, modify and run convert_dxa.bat

:quit



:D thank you very much for your help
Ceri Cat
Posts: 149
Joined: Wed Jun 11, 2008 3:47 pm

Post by Ceri Cat »

"%TOOLS_PATH%\encode_dxa.exe" --vorbis "%~n1.smk"
should be
"%TOOLS_PATH%\encode_dxa.exe" --mp3 "%~n1.smk"
since you're using the lame encoder.
abe
Posts: 9
Joined: Tue Jul 01, 2008 4:16 pm

Post by abe »

thank you for your help

it was so hard, so i have dowload virtual pc , and I have used my old cd of windows98 and I have install..
so now i have windows98 in my xp and I can play at feeble file :D

thank everyone who had help me
Post Reply