The Feeble Files

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
FeebleFiles1
Posts: 98
Joined: Sun Feb 12, 2006 12:02 pm

Post by FeebleFiles1 »

thank you very much for you explain. but i have only one more question, for what is the GAME22 file?
Kirben
Posts: 421
Joined: Wed Sep 21, 2005 12:15 pm
Location: Melbourne, Victoria, Australia

Post by Kirben »

The 'GAMExx' file contains the initial settings for items, a table of strings and the initial set of scripts.

Check out the loadGamePcFile() function in res.cpp for more specific details on what exactly is loaded from the 'GAMExx' file.
magnus80a
Posts: 8
Joined: Wed Jul 12, 2006 9:20 am

Post by magnus80a »

I'm having trouble converting the smk files into dxa.
I've copied all smk-files into a folder smk and created an empty named dxa.
I've then used the bat file I borrowed from this thread:
dxa.bat:

Code: Select all

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

echo Setting environment variables...
SET TOOLS_PATH=C:\Program\ScummVM\tools
SET BINK_PATH=C:\Program\RADVideo
SET SMK_PATH=C:\spel\Feeble\smk
SET DXA_PATH=C:\spel\Feeble\dxa

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

echo Converting finished!
smk2dxa:

Code: Select all

@echo off
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 /#
"%TOOLS_PATH%\encode_dxa.exe" --vorbis "%SMK_PATH%\%~n1"
echo Deleting temp files
del "%SMK_PATH%\%~n1*.png"
del "%SMK_PATH%\%~n1.wav"
move "%SMK_PATH%\%~n1.*" "%DXA_PATH%"
When I run the bat file it seems to do something right, but when it's finished I'm left with an empty smk-folder and a dxa folder full of smk-files. It's like it's just copied them all from one folder into another. The PATHs are all correct.
I do get a message from time to time saying that oggenc is not an internal/external or command or similar. Damn cmd.exe where you can't copy paste :-(
Is this easier in Linux? I have a Ubuntu box...
oduverne
Posts: 57
Joined: Sat Apr 15, 2006 4:43 pm

Post by oduverne »

Hi,

You can copy and paste in cmd.exe, just click on the icon of the window.

To compress the files, you need oggenc.exe which you can download freely on internet. Put the file in TOOLS_PATH.

It should work with that.
magnus80a
Posts: 8
Joined: Wed Jul 12, 2006 9:20 am

Post by magnus80a »

oduverne wrote:Hi,

You can copy and paste in cmd.exe, just click on the icon of the window.

To compress the files, you need oggenc.exe which you can download freely on internet. Put the file in TOOLS_PATH.

It should work with that.
I can only find oggenc2.exe which I have in my tools path, but that still doesn't work I get this error message:

Code: Select all

Setting environment variables...
Processing "C:\spel\Feeble\smk\agent32.smk"...
Encoding audio...Got error from encoder. (check your parameters)
Encoder Commandline: oggenc --quality=3 --output="C:\spel\Feeble\smk\agent32.ogg" "C:\spel\Feeble\smk\agent32.wav" 
Deleting temp files
C:\spel\Feeble\smk\agent32.smk
Processing "C:\spel\Feeble\smk\Airlock.smk"...
*edit*
Found, downloaded and stored in TOOLS-path oggenc.exe, but I still get the same message...

Code: Select all

Setting environment variables...
Processing "C:\spel\Feeble\smk\agent32.smk"...
Encoding audio...oggenc är inte ett internt kommando, externt kommando,
program eller kommandofil.
Got error from encoder. (check your parameters)
Encoder Commandline: oggenc --quality=3 --output="C:\spel\Feeble\smk\agent32.ogg
" "C:\spel\Feeble\smk\agent32.wav"
Deleting temp files
C:\spel\Feeble\smk\agent32.smk
Processing "C:\spel\Feeble\smk\Airlock.smk"...
Encoding audio...oggenc är inte ett internt kommando, externt kommando,
program eller kommandofil.
Got error from encoder. (check your parameters)
Encoder Commandline: oggenc --quality=3 --output="C:\spel\Feeble\smk\Airlock.ogg
" "C:\spel\Feeble\smk\Airlock.wav"
Deleting temp files
C:\spel\Feeble\smk\Airlock.smk
Processing "C:\spel\Feeble\smk\Allcreds.smk"...
Encoding audio...oggenc är inte ett internt kommando, externt kommando,
program eller kommandofil.
Got error from encoder. (check your parameters)
Encoder Commandline: oggenc --quality=3 --output="C:\spel\Feeble\smk\Allcreds.og
g" "C:\spel\Feeble\smk\Allcreds.wav"
Deleting temp files
C:\spel\Feeble\smk\Allcreds.smk
Processing "C:\spel\Feeble\smk\Allships.smk"...
Encoding audio...oggenc är inte ett internt kommando, externt kommando,
program eller kommandofil.
Got error from encoder. (check your parameters)
Encoder Commandline: oggenc --quality=3 --output="C:\spel\Feeble\smk\Allships.og
g" "C:\spel\Feeble\smk\Allships.wav"
Deleting temp files
C:\spel\Feeble\smk\Allships.smk
Processing "C:\spel\Feeble\smk\Anlstink.smk"...
Encoding audio...oggenc är inte ett internt kommando, externt kommando,
program eller kommandofil.
Got error from encoder. (check your parameters)
Encoder Commandline: oggenc --quality=3 --output="C:\spel\Feeble\smk\Anlstink.og
g" "C:\spel\Feeble\smk\Anlstink.wav"
Deleting temp files
C:\spel\Feeble\smk\Anlstink.smk
Processing "C:\spel\Feeble\smk\Badluck.smk"...
Encoding audio...oggenc är inte ett internt kommando, externt kommando,
program eller kommandofil.
Got error from encoder. (check your parameters)
Encoder Commandline: oggenc --quality=3 --output="C:\spel\Feeble\smk\Badluck.ogg
" "C:\spel\Feeble\smk\Badluck.wav"
Deleting temp files
C:\spel\Feeble\smk\Badluck.smk
Processing "C:\spel\Feeble\smk\bentalk1.smk"...
Encoding audio...oggenc är inte ett internt kommando, externt kommando,
program eller kommandofil.
Got error from encoder. (check your parameters)
Encoder Commandline: oggenc --quality=3 --output="C:\spel\Feeble\smk\bentalk1.og
g" "C:\spel\Feeble\smk\bentalk1.wav"
Deleting temp files
C:\spel\Feeble\smk\bentalk1.smk
Processing "C:\spel\Feeble\smk\bentalk2.smk"...
Encoding audio...oggenc är inte ett internt kommando, externt kommando,
program eller kommandofil.
Got error from encoder. (check your parameters)
Encoder Commandline: oggenc --quality=3 --output="C:\spel\Feeble\smk\bentalk2.og
g" "C:\spel\Feeble\smk\bentalk2.wav"
Deleting temp files
C:\spel\Feeble\smk\bentalk2.smk
Processing "C:\spel\Feeble\smk\bentalk3.smk"...
oduverne
Posts: 57
Joined: Sat Apr 15, 2006 4:43 pm

Post by oduverne »

Worked for me when I renamed oggenc2.exe to oggenc.exe.
Did you try to use oggenc? Try to convert a wav file with it
magnus80a
Posts: 8
Joined: Wed Jul 12, 2006 9:20 am

Post by magnus80a »

oduverne wrote:Worked for me when I renamed oggenc2.exe to oggenc.exe.
Did you try to use oggenc? Try to convert a wav file with it
Seems to work fine:

Code: Select all

C:\Program\ScummVM\tools>oggenc.exe clftChasmTopWind_Loop.wav
Skipping chunk of type "fact", length 4
Opening with wav module: WAV file reader
Encoding "clftChasmTopWind_Loop.wav" to
         "clftChasmTopWind_Loop.ogg"
at quality 3,00
        [ 97,1%] [ 0m00s remaining] -

Done encoding file "clftChasmTopWind_Loop.ogg"

        File length:  0m 22,0s
        Elapsed time: 0m 03,0s
        Rate:         7,3416
        Average bitrate: 99,9 kb/s


C:\Program\ScummVM\tools>
oduverne
Posts: 57
Joined: Sat Apr 15, 2006 4:43 pm

Post by oduverne »

Ok, I think I know why, try to put oggenc.exe in the directory where you put your .bat files.
magnus80a
Posts: 8
Joined: Wed Jul 12, 2006 9:20 am

Post by magnus80a »

Aaaaah!
Thanks!
It seems to be working now. Now all I have to do is wait... :-)
Is there an official HOWTO for this. Otherwise I think I'll write one. Unless there is a reason for there not being one...

*edit*
Am I the only one getting problems with the item descriptions in the game? Every now and then the game stop giving item descriptions (for hotspots) when I hover the cursor over the area. Without the descriptions the game radically gets harder since finding hotspots becomes a chore...
Or is it that it's with the item descriptions as with the subtitles, they were never intended to be used officially?

*edit*
Nevermind, I just realized what hitbox meant :oops:
peachy
Posts: 8
Joined: Thu Oct 26, 2006 2:01 pm

Post by peachy »

ok ive done everything to try to run this game..

done the file converting and changing voices to voices1 and voices2 but this message now appears

Image

anyone know what i can do?
User avatar
Raziel
ScummVM Porter
Posts: 1522
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet

Post by Raziel »

Uhm, you renamed it to "voices1.WAV" and "voices2.WAV", don't you?
peachy
Posts: 8
Joined: Thu Oct 26, 2006 2:01 pm

Post by peachy »

yes but its ok now, its working again
User avatar
md5
ScummVM Developer
Posts: 2250
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 »

Since this thread has become huge, I'm posting a (hopefully) simple way to do the video and audio encoding
I chose to compress the audio in MP3, since I believe it's the simplest and fastest format to encode in, and I'd like to do other things with my PC than encoding the cutscenes of Feeble Files :)

The instructions here are for Windows

1) Get the following:
* ScummVM latest SVN build:
http://scummvm.sourceforge.net/download ... mwin32.exe
* LAME encoder:
http://mitiok.maresweb.org/
current version is 3.97:
http://mitiok.maresweb.org/lame-3.97.zip
* RAD video tools:
http://www.radgametools.com/down/Bink/RADTools.exe
* JKing's batch file (taken from this thread):
http://jking.dark-phantasy.com/projects ... onvert.zip
2) Install the Feeble Files using its installer
3) Copy all the files from all CDs in the directory where you installed the game. Make sure that you rename voices.wav from CD1 to voices1.wav, voices.wav from CD2 to voices2.wav and so on
4) Install ScummVM SVN and RAD game tools
5) Put the following files in the game folder:
compress_simon.exe (from the ScummVM tools folder)
encode_dxa.exe (from the ScummVM tools folder)
lame.exe (from the LAME zip)
binkconv.exe (from the RAD game tools folder)
radutil.dll (from the RAD game tools folder)
convert.bat (from JKing's zip)
6) Perform the following commands to convert the speech files:
compress_simon voices1.wav
compress_simon voices2.wav
compress_simon voices3.wav
compress_simon voices4.wav
7) JKing's batch file encodes the sound in videos into the ogg format, but as I said I prefer mp3s because they take far less to encode and they're simpler to use
So, open convert.bat in Notepad (or another text editor, e.g. EditPlus or Crimson) and scroll down to line 35
Change it from:
encode_dxa --vorbis --silent -q 10 "%%~na"
to:
encode_dxa --silent "%%~na.smk"
Edit: Changed it to "%%~na.smk" from "%%~na", to make it work for the SVN tools. It might work with "%%~a" as well, but I haven't tried it

(You could also put "start /w /low" before encode_dxa.exe to set this program with the lowest priority, so that it doesn't kill your CPU and you can do other things in the meantime. However, when I did that encode_dxa exited immediately)

8 ) Run the batch file and leave it to do the encoding for you :)

Instead of JKing's batch file, which can be found here:
http://forums.scummvm.org/viewtopic.php?p=10943#10943
you can use oduverne's batch file which can be found at:
http://forums.scummvm.org/viewtopic.php?p=11467#11467
Or deadagain's, which can be found at:
http://forums.scummvm.org/viewtopic.php?p=10802#10802
Last edited by md5 on Mon Dec 11, 2006 10:37 pm, edited 1 time in total.
User avatar
md5
ScummVM Developer
Posts: 2250
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 »

I don't know what I'm doing wrong here

When I use encode_dxa from the scummvm tools 0.9.0, it works fine. However, when I run encode_dxa from the SVN build, it gives this error:

readVideoInfo: Can't open file: XXX

where XXX is the file I told it to convert. It seems it can't find the PNG files. As I said, the 0.9.0 one works fine

Any idea what's wrong? Is this a bug in the SVN build?
oduverne
Posts: 57
Joined: Sat Apr 15, 2006 4:43 pm

Post by oduverne »

md5 wrote:I don't know what I'm doing wrong here

When I use encode_dxa from the scummvm tools 0.9.0, it works fine. However, when I run encode_dxa from the SVN build, it gives this error:

readVideoInfo: Can't open file: XXX

where XXX is the file I told it to convert. It seems it can't find the PNG files. As I said, the 0.9.0 one works fine

Any idea what's wrong? Is this a bug in the SVN build?
Try to add the extension .smk to the filename when running encode_dxa. for example: encode_dxa train.smk
Post Reply