GUIDE: Compressing audio/video to vorbis in 4 easy steps!
Moderator: ScummVM Team
GUIDE: Compressing audio/video to vorbis in 4 easy steps!
v0.7 Throttle monster.sou fix (thanks miracle.flame)
v0.6 The Dig dirfix
v0.5 Sam And Max, Day of the Tentacle Dirfix
v0.4 Bugfix Update (thanks raschi/md5), added queen.tbl
v0.3 Bugfix Update (thanks raschi)
v0.2 fixed some bugs reported, added the monster.sou conversion for full throttle.. didnt realise it was in there.
v0.1 revised some settings
The ScummCompress-0.4.zip package you probably want is added to the second post in this topic
As a bit of a vorbis fan, Ive taken some time to figure out what ogg settings are best for the scummvm games. (I couldn't find a good topic on this). Mind you I only own some of the games but I'll include the info for other games too if I can find it.
Anyone who wants to convert to mp3 is out of luck and out of his/her mind. (well, I seem to remember that ogg support doesn't exist or slows down the game too much on a couple of platforms, so in that case it's valid to want mp3, but otherwise, you simply get MUCH better audio quality at the same filesize with ogg.)
To elaborate, there are 2 specific things you must do to get near-'optimal' audio at the lowest bitrate.
1/ The right oggenc. Not too easy to find, since a lot of the tuned oggenc's (and the tuned ones are FAR better than the 'official' ones) have different commandline parameters than the scummvm encoder programs expect.
Get the following oggenc: note: since Ive included it in the package you don't need to manually do this anymore
http://homepage3.nifty.com/blacksword/o ... 051121.zip (of course a newer version will appear in due time, in which case go look for the 'lancer' compile if it still exists).
rename the oggenc2.exe in that zip file to oggenc.exe
2/ The right setting. Now of course you'll have to balance things a little bit, but the way I see it, if a game would (theoretically) have CD quality audio, which is 44Khz, 16bit stereo samples, then 128kbit vorbis files would sound 'perfect' on any device. (they should sound better than 192kbit mp3). If you want a bit extra headroom, choose 1 quality setting above that. (160kbit, perhaps?)
Now, given that the SCUMMVM games are using a lot smaller files, let's do some very simple division. Take for example Day of the Tentacle. This game's samples are 22Khz, 8bit, mono.
So:
44khz -> 22khz: divide bitrate by 2.
16bit -> 8 bit: divide bitrate by 2.
[edit] I USED to add:
stereo -> mono: divide bitrate by 2.
but this is NOT true. The quality setting can be loosely interpreted as a measure of deviation from the original. Oggenc interprets "-q 0" for a mono file as about 32kbps, while it interprets "-q 0" for a stereo as roughly 56kbps. So strike that last one. [/edit]
However .. heh .. things don't completely work that way. It isn't twice as hard to step from 22 to 44..
The bottomline is: I think 32kbit is quite ample for Tentacle audio. Conclusion: The commandline should be:
compress_scumm_sou --vorbis -q 0 monster.sou
So without further ado, here are the 'optimal' settings in my opinion:
DOTT: 22Khz, 8bit mono audio -> 32kbps -> -q 0
Sam and Max: 22Khz, 8bit mono audio -> 32kbps -> -q 0
Atlantis: 11Khz, 8bit mono audio -> 32kbps -> -q 0 or even -q -1
Full Throttle: 22Khz 16bit stereo audio -> 64kbps -q 3
Monkey Island 3 Video: 22Khz 16bit stereo audio -> 64kbps -q 3
Monkey Island 3 Audio: 22Khz 16bit mono audio -> 48kbps -q 2
The Dig Video: 22Khz 16bit stereo audio -> 64kbps -q 3
The Dig Audio: 22Khz 16bit mono audio -> 48kbps -q 2
Simon the Sorceror 2: 11Khz 8bit mono -> 32kbps -> -q 0 or even -q -1
v0.6 The Dig dirfix
v0.5 Sam And Max, Day of the Tentacle Dirfix
v0.4 Bugfix Update (thanks raschi/md5), added queen.tbl
v0.3 Bugfix Update (thanks raschi)
v0.2 fixed some bugs reported, added the monster.sou conversion for full throttle.. didnt realise it was in there.
v0.1 revised some settings
The ScummCompress-0.4.zip package you probably want is added to the second post in this topic
As a bit of a vorbis fan, Ive taken some time to figure out what ogg settings are best for the scummvm games. (I couldn't find a good topic on this). Mind you I only own some of the games but I'll include the info for other games too if I can find it.
Anyone who wants to convert to mp3 is out of luck and out of his/her mind. (well, I seem to remember that ogg support doesn't exist or slows down the game too much on a couple of platforms, so in that case it's valid to want mp3, but otherwise, you simply get MUCH better audio quality at the same filesize with ogg.)
To elaborate, there are 2 specific things you must do to get near-'optimal' audio at the lowest bitrate.
1/ The right oggenc. Not too easy to find, since a lot of the tuned oggenc's (and the tuned ones are FAR better than the 'official' ones) have different commandline parameters than the scummvm encoder programs expect.
Get the following oggenc: note: since Ive included it in the package you don't need to manually do this anymore
http://homepage3.nifty.com/blacksword/o ... 051121.zip (of course a newer version will appear in due time, in which case go look for the 'lancer' compile if it still exists).
rename the oggenc2.exe in that zip file to oggenc.exe
2/ The right setting. Now of course you'll have to balance things a little bit, but the way I see it, if a game would (theoretically) have CD quality audio, which is 44Khz, 16bit stereo samples, then 128kbit vorbis files would sound 'perfect' on any device. (they should sound better than 192kbit mp3). If you want a bit extra headroom, choose 1 quality setting above that. (160kbit, perhaps?)
Now, given that the SCUMMVM games are using a lot smaller files, let's do some very simple division. Take for example Day of the Tentacle. This game's samples are 22Khz, 8bit, mono.
So:
44khz -> 22khz: divide bitrate by 2.
16bit -> 8 bit: divide bitrate by 2.
[edit] I USED to add:
stereo -> mono: divide bitrate by 2.
but this is NOT true. The quality setting can be loosely interpreted as a measure of deviation from the original. Oggenc interprets "-q 0" for a mono file as about 32kbps, while it interprets "-q 0" for a stereo as roughly 56kbps. So strike that last one. [/edit]
However .. heh .. things don't completely work that way. It isn't twice as hard to step from 22 to 44..
The bottomline is: I think 32kbit is quite ample for Tentacle audio. Conclusion: The commandline should be:
compress_scumm_sou --vorbis -q 0 monster.sou
So without further ado, here are the 'optimal' settings in my opinion:
DOTT: 22Khz, 8bit mono audio -> 32kbps -> -q 0
Sam and Max: 22Khz, 8bit mono audio -> 32kbps -> -q 0
Atlantis: 11Khz, 8bit mono audio -> 32kbps -> -q 0 or even -q -1
Full Throttle: 22Khz 16bit stereo audio -> 64kbps -q 3
Monkey Island 3 Video: 22Khz 16bit stereo audio -> 64kbps -q 3
Monkey Island 3 Audio: 22Khz 16bit mono audio -> 48kbps -q 2
The Dig Video: 22Khz 16bit stereo audio -> 64kbps -q 3
The Dig Audio: 22Khz 16bit mono audio -> 48kbps -q 2
Simon the Sorceror 2: 11Khz 8bit mono -> 32kbps -> -q 0 or even -q -1
Last edited by puntloos on Mon Jan 30, 2006 8:28 pm, edited 20 times in total.
Some batch files.
To save you guys some trouble with this, I have now created the following package:
http://arago4.tnw.utwente.nl/ScummCompress-0.7.zip (5.3 Mb)
It contains a number of handy scripts, the right oggenc.exe, and the right vorbis tools. For the most popular talkie games, it now really is just a matter of a few clicks and waiting for it all to finish. I think it will work by blindly following the 3 steps below, but if things go wrong you will probably need a little experience in DOS Boxes. Usually the reason for it to fail is if it can not find the source files where it expects them. (disclaimer: I can't give guarantees of course, use at your own risk)
Games supported 'out of the box':
Indiana Jones 4: Fate of Atlantis
Monkey Island 3: The Curse of Monkey Island
Flight of the Amazon Queen
Sam and Max
Simon the Sorcerer 1
Simon the Sorcerer 2
Day of the Tentacle
The Dig
Full Throttle
Broken Sword 1 (*see notes*)
Broken Sword 2 (*see notes*)
I have used various (but not all) files from the packages:
* oggenc2_lancer20051121.zip - oggenc2 based on aoTuV4 by lancer
* scummvm-tools-0.8.0 - the scummvm tools
If I am violating any licenses with this package, let me know and I will either modify it, or take it down. I've included all readme and gpl.txt files where applicable though, so I think I'm in the clear, legally speaking.![Smile :)](./images/smilies/icon_smile.gif)
With this batchfileset, the basic procedure is simple:
0/ Download & Unpack the ScummCompress file (above) to some place with enough free space. Let's say 2Gig free space needed for each CD you want to convert.
1/ Drop the contents of your talkie CD's in the newly unpacked dir "<gamename>\<gamename>Source" (*)
2/ Run the <gamename>.bat file.
3/ The Scummvm-playable dir will be "<gamename>\<gamename>"
(*) For example with curse of monkey island, this will result in:Be careful with broken sword, where you will need to take care not to let the speech.clu files to overwrite eachother:
1/ copy CD1
2/ rename speech.clu from cd1 to speech1.clu
3/ copy CD2
4/ rename speech.clu from cd2 to speech2.clu.
Also the .bat files themselves explain a few things, if you know a little about DOS commandline, check out what's inside and tweak as needed. Also be sure to read what the program says when you start it.
*note1: The scripts are not always designed to keep the source dir intact, so if something goes wrong you better re-copy the entire CD back to harddisk before you start over.
*note2: some files came from the 2 packages:
oggenc2_lancer20051121.zip - oggenc.exe - the aoTuv4 ogg encoder commandline tool, made by lancer.
scummvm-tools-0.8.0.zip - the scummvm tools (I only kept compress_*.exe since those were what I needed for this). I have left the readme files in the directory GPLFiles.
*note3: I intentionally used many duplicate copies of the same oggenc.exe. If you think you can do better, feel free to try.![Smile :)](./images/smilies/icon_smile.gif)
*note4: I have only included the games I own myself and a few I could find some information on. Specifically: be careful with how broken sword 1 and 2 work, I can't test those. I don't think much will break, but the system might leave some uncompressed or unnecessary files in the destination dir.
*note5: If you spot mistakes, or have new batch files for other games, feel free to post them in the forum. If I notice them Ill add them to the package if you're ok with that.
That's all, really. I'll leave some of the theory Ive posted before when I hadn't made the package yet, so you can get an idea of what the package will now do automatically for you. Read on if you're interested in the internals of the scripts. Remember that while creating the package I've stepped away from the norm/comp combination, although most of it still applies.
The process:
0/ Figure out what data files you need. Use http://www.scummvm.org/documentation.php?view=datafiles
1/ Create a dir for the data files. Lets use 'Monkey3' as an example.
2/ Create a dir "Monkey3/norm" - for the normal sound/video files.
2/ Put the relevant audio/video files (SAN/BUN/SOU/..) in the directory "norm"
3/ Create a dir "Monkey3/comp"
4/ put the oggenc.exe in the main dir.
5/ extract the scumm tools into the main dir.
6/ Drop the right batch file into the workdir
Result should be:
Workdir
Workdir/oggenc.exe
Workdir/compress_scumm_sou.exe
Workdir/compress_scumm_bun.exe
Workdir/compress_san.exe
Workdir/compress_.... (etc)
Workdir/Monkey3
Workdir/Monkey3/norm
Workdir/Monkey3/norm/BBSAN.SAN
Workdir/Monkey3/norm/CURSERING.SAN
Workdir/Monkey3/norm/FINALE.SAN
Workdir/Monkey3/norm/.... (etc)
Workdir/Monkey3/comp
Workdir/compressmonkey.bat
7/ Run the script.
8/ Move the files from comp, together with the other game files into one dir, and play.
Right. and now the batch scripts:
compressmonkey.bat - Assumes workdirname "Monkey3"
compressthrottle.bat - Assumes workdirname "FullThrottle"
*note* - some full throttle versions have superflous files that aren't being used in scummvm. These files won't be compressed and consequently won't end up in the 'comp' dirs. This is all good, just grab all comp files and the game should be complete.
compressdig.bat - Assumes workdirname "Dig"
Im not 100% sure the dig is 22khz/2/16, but the release date is around the same time as full throttle, so I figure it's a good guess.
Games with audio tracks in CD-audio format
Frankly I don't know much about these, don't own any. From what I've gathered, scummvm will look for (and play) files called;
- Track1.wav
- Track2.wav
- ....
- Track11.wav
Also, you can choose to convert them to your favourite format, (ogg/mp3). So rip the audio tracks off the CD, convert them if you wish, and put them in the format Track#.ogg in your game dir. No leading 0's I think (so no Track01.wav, only Track1.wav)
Personally I'd probably use 160 kbit ogg vorbis files.
Just run:
and you will have a Track1.ogg in the same dir.
Single datafile games, like DOTT and Sam and Max
Finally, allow me to add a few quick comments to convert the 'single datafile' games. This is a lot easier to do since you just need to convert one big file. (Among these games are DOTT, Sam n Max, simon te sorcerer etc)
All you need to do is run the relevant program inside the dir with oggenc.exe, the program and the datafile. To see the commandline you need to run the program without any extra options. Usually it lists an example at the bottom. For example:
Conclusion: you should run:
Most single-datafile games are fairly old, and Im guessing that '-q 1' will be a pretty good choice for the bulk of the games out there, but look at my first post in here for some more specific guidelines about what settings to choose.
http://arago4.tnw.utwente.nl/ScummCompress-0.7.zip (5.3 Mb)
It contains a number of handy scripts, the right oggenc.exe, and the right vorbis tools. For the most popular talkie games, it now really is just a matter of a few clicks and waiting for it all to finish. I think it will work by blindly following the 3 steps below, but if things go wrong you will probably need a little experience in DOS Boxes. Usually the reason for it to fail is if it can not find the source files where it expects them. (disclaimer: I can't give guarantees of course, use at your own risk)
Games supported 'out of the box':
Indiana Jones 4: Fate of Atlantis
Monkey Island 3: The Curse of Monkey Island
Flight of the Amazon Queen
Sam and Max
Simon the Sorcerer 1
Simon the Sorcerer 2
Day of the Tentacle
The Dig
Full Throttle
Broken Sword 1 (*see notes*)
Broken Sword 2 (*see notes*)
I have used various (but not all) files from the packages:
* oggenc2_lancer20051121.zip - oggenc2 based on aoTuV4 by lancer
* scummvm-tools-0.8.0 - the scummvm tools
If I am violating any licenses with this package, let me know and I will either modify it, or take it down. I've included all readme and gpl.txt files where applicable though, so I think I'm in the clear, legally speaking.
![Smile :)](./images/smilies/icon_smile.gif)
With this batchfileset, the basic procedure is simple:
0/ Download & Unpack the ScummCompress file (above) to some place with enough free space. Let's say 2Gig free space needed for each CD you want to convert.
1/ Drop the contents of your talkie CD's in the newly unpacked dir "<gamename>\<gamename>Source" (*)
2/ Run the <gamename>.bat file.
3/ The Scummvm-playable dir will be "<gamename>\<gamename>"
(*) For example with curse of monkey island, this will result in:
Code: Select all
Monkey3\Monkey3Source\AUTORUN.INF
Monkey3\Monkey3Source\COMI.LA0
Monkey3\Monkey3Source\COMI.LA1
Monkey3\Monkey3Source\COMI.LA2
Monkey3\Monkey3Source\CURSE.EXE
Monkey3\Monkey3Source\DIRECTX (and subdirs)
Monkey3\Monkey3Source\INSTALL (and subdirs)
Monkey3\Monkey3Source\LAUNCHER.TAB
Monkey3\Monkey3Source\MONKEYTG.DOC
Monkey3\Monkey3Source\MONKEYTG.TXT
Monkey3\Monkey3Source\README.TXT
Monkey3\Monkey3Source\RESOURCE (and subdirs)
1/ copy CD1
2/ rename speech.clu from cd1 to speech1.clu
3/ copy CD2
4/ rename speech.clu from cd2 to speech2.clu.
Also the .bat files themselves explain a few things, if you know a little about DOS commandline, check out what's inside and tweak as needed. Also be sure to read what the program says when you start it.
*note1: The scripts are not always designed to keep the source dir intact, so if something goes wrong you better re-copy the entire CD back to harddisk before you start over.
*note2: some files came from the 2 packages:
oggenc2_lancer20051121.zip - oggenc.exe - the aoTuv4 ogg encoder commandline tool, made by lancer.
scummvm-tools-0.8.0.zip - the scummvm tools (I only kept compress_*.exe since those were what I needed for this). I have left the readme files in the directory GPLFiles.
*note3: I intentionally used many duplicate copies of the same oggenc.exe. If you think you can do better, feel free to try.
![Smile :)](./images/smilies/icon_smile.gif)
*note4: I have only included the games I own myself and a few I could find some information on. Specifically: be careful with how broken sword 1 and 2 work, I can't test those. I don't think much will break, but the system might leave some uncompressed or unnecessary files in the destination dir.
*note5: If you spot mistakes, or have new batch files for other games, feel free to post them in the forum. If I notice them Ill add them to the package if you're ok with that.
That's all, really. I'll leave some of the theory Ive posted before when I hadn't made the package yet, so you can get an idea of what the package will now do automatically for you. Read on if you're interested in the internals of the scripts. Remember that while creating the package I've stepped away from the norm/comp combination, although most of it still applies.
The process:
0/ Figure out what data files you need. Use http://www.scummvm.org/documentation.php?view=datafiles
1/ Create a dir for the data files. Lets use 'Monkey3' as an example.
2/ Create a dir "Monkey3/norm" - for the normal sound/video files.
2/ Put the relevant audio/video files (SAN/BUN/SOU/..) in the directory "norm"
3/ Create a dir "Monkey3/comp"
4/ put the oggenc.exe in the main dir.
5/ extract the scumm tools into the main dir.
6/ Drop the right batch file into the workdir
Result should be:
Workdir
Workdir/oggenc.exe
Workdir/compress_scumm_sou.exe
Workdir/compress_scumm_bun.exe
Workdir/compress_san.exe
Workdir/compress_.... (etc)
Workdir/Monkey3
Workdir/Monkey3/norm
Workdir/Monkey3/norm/BBSAN.SAN
Workdir/Monkey3/norm/CURSERING.SAN
Workdir/Monkey3/norm/FINALE.SAN
Workdir/Monkey3/norm/.... (etc)
Workdir/Monkey3/comp
Workdir/compressmonkey.bat
7/ Run the script.
8/ Move the files from comp, together with the other game files into one dir, and play.
Right. and now the batch scripts:
compressmonkey.bat - Assumes workdirname "Monkey3"
Code: Select all
compress_san.exe BBSAN.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe CURSERNG.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe FG010GP.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe FINALE.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe KIS030.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe LAVARIDE.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe LIFTCRSE.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe MORESLAW.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe WRECKSAN.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe ZAP010.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe NEWBOOTS.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe OPENING.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe SB010.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe SB020.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_san.exe SINKSHP.SAN Monkey3\norm Monkey3\comp --ogg -q 3
compress_scumm_bun.exe MUSDISK1.BUN Monkey3\norm Monkey3\comp --ogg -q 3
compress_scumm_bun.exe MUSDISK2.BUN Monkey3\norm Monkey3\comp --ogg -q 3
compress_scumm_bun.exe VOXDISK1.BUN Monkey3\norm Monkey3\comp --ogg -q 3
compress_scumm_bun.exe VOXDISK2.BUN Monkey3\norm Monkey3\comp --ogg -q 3
Code: Select all
compress_san 2009_10.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san ACCIDENT.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BARKDOG.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BC.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BENBURN.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BENESCPE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BENFLIP.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BENHANG.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BIGBLOW.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BIKESWAR.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BLINK.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BLINK2.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BLINK3.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BOLUSKIL.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BURST.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san BURSTDOG.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san CABSTRUG.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san CATCHUP.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san CES_NITE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san CHASEBEN.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san CHASOUT.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san CHASTHRU.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san CREDITS.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san CRUSHDOG.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san CVRAMP.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san DAZED.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san DRIVEBY.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san ESCPPLNE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san FANSTOP.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san FI_14.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san FI_14_15.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san FIRE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san FISHFEAR.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san FISHGOG2.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san FISHGOGG.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san FLINCH.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san FULPLANE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san GETNITRO.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san GOTCHA.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san GR_LOS.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san GR_WIN.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san HI_SIGN.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san HITDUST1.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san HITDUST2.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san HITDUST3.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san HITDUST4.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san INTO_FAN.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san INTRO4.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san INTROD_8.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san JG.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san JUMPGORG.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san KICK_OFF.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san KILLGULL.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san KR.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san KS_1.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san KS_11.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san KS_111.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san KS_IV.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san KS_V.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san KS_X.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san LIFTBORD.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san LIFTCHAY.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san LIFTGOG.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san LIFTMACE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san LIFTSAW.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san LIMOBY.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san LIMOCRSH.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san LIMOROAR.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san MINEDRIV.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san MINEEXIT.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san MINEFITE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san MO_FUME.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san MOEJECT.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san MOREACH.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san MWC.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san NAMES_MO.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san NB_BLOW.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san NITEFADE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san NITERIDE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san NTREACT.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san OFFGOGG.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san OM.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san PLNCRSH.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san REACHHER.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san REALRIDE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san REV.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san RIDEAWAY.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san RIDEOUT.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san RIP_KILL.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san RIPBROW.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san RIPSHIFT.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san ROTTFITE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san ROTTFLIP.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san ROTTOPEN.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san SCRAPBOT.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san SEEN_RIP.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san SHEFALLS.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san SHORTOPN.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san SHOWSMRK.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san SHOWUP1.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san SNAPFOTO.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san SNSETRDE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san SQUINT.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san TC.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san TEETBURN.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san TINYPLNE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san TINYTRUC.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san TINYTRUK.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san TOKCRGO.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san TOMINE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san TORANCH.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san TOVISTA1.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san TOVISTA2.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san TRKCRSH.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san VISION.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san VISTTHRU.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san WEREINIT.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san WHIP_PAN.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san WR2_BEN.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san WR2_BENC.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san WR2_BENR.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san WR2_BENV.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san WR2_CAVE.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san WR2_CVKO.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san WR2_ROTT.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san WR2_VLTC.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san WR2_VLTP.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compress_san WR2_VLTS.SAN FullThrottle\norm FullThrottle\comp --ogg -q 3
compressdig.bat - Assumes workdirname "Dig"
Code: Select all
compress_scumm_bun.exe digmusic.bun dig/norm dig/comp --ogg -q 3
compress_scumm_bun.exe digvoice.bun dig/norm dig/comp --ogg -q 3
compress_san alcove.san dig/norm dig/comp --ogg -q 3
compress_san asttun.san dig/norm dig/comp --ogg -q 3
compress_san darkcave.san dig/norm dig/comp --ogg -q 3
compress_san m1.san dig/norm dig/comp --ogg -q 3
compress_san m2.san dig/norm dig/comp --ogg -q 3
compress_san nexuspan.san dig/norm dig/comp --ogg -q 3
compress_san pigout.san dig/norm dig/comp --ogg -q 3
compress_san rtram1.san dig/norm dig/comp --ogg -q 3
compress_san rtram2.san dig/norm dig/comp --ogg -q 3
compress_san rtram3.san dig/norm dig/comp --ogg -q 3
compress_san rtram4.san dig/norm dig/comp --ogg -q 3
compress_san rtram5.san dig/norm dig/comp --ogg -q 3
compress_san sky.san dig/norm dig/comp --ogg -q 3
compress_san sq1.san dig/norm dig/comp --ogg -q 3
compress_san sq10.san dig/norm dig/comp --ogg -q 3
compress_san sq11.san dig/norm dig/comp --ogg -q 3
compress_san sq12a.san dig/norm dig/comp --ogg -q 3
compress_san sq12b.san dig/norm dig/comp --ogg -q 3
compress_san sq13.san dig/norm dig/comp --ogg -q 3
compress_san sq14b.san dig/norm dig/comp --ogg -q 3
compress_san sq14sc04.san dig/norm dig/comp --ogg -q 3
compress_san sq14sc07.san dig/norm dig/comp --ogg -q 3
compress_san sq14sc11.san dig/norm dig/comp --ogg -q 3
compress_san sq14sc14.san dig/norm dig/comp --ogg -q 3
compress_san sq14sc16.san dig/norm dig/comp --ogg -q 3
compress_san sq14sc19.san dig/norm dig/comp --ogg -q 3
compress_san sq14sc22.san dig/norm dig/comp --ogg -q 3
compress_san sq15a.san dig/norm dig/comp --ogg -q 3
compress_san sq15b.san dig/norm dig/comp --ogg -q 3
compress_san sq17.san dig/norm dig/comp --ogg -q 3
compress_san sq18a.san dig/norm dig/comp --ogg -q 3
compress_san sq18b.san dig/norm dig/comp --ogg -q 3
compress_san sq18sc15.san dig/norm dig/comp --ogg -q 3
compress_san sq19a.san dig/norm dig/comp --ogg -q 3
compress_san sq19b.san dig/norm dig/comp --ogg -q 3
compress_san sq19c.san dig/norm dig/comp --ogg -q 3
compress_san sq2.san dig/norm dig/comp --ogg -q 3
compress_san sq3.san dig/norm dig/comp --ogg -q 3
compress_san sq4.san dig/norm dig/comp --ogg -q 3
compress_san sq5.san dig/norm dig/comp --ogg -q 3
compress_san sq6.san dig/norm dig/comp --ogg -q 3
compress_san sq6sc3.san dig/norm dig/comp --ogg -q 3
compress_san sq7.san dig/norm dig/comp --ogg -q 3
compress_san sq8a.san dig/norm dig/comp --ogg -q 3
compress_san sq8a1.san dig/norm dig/comp --ogg -q 3
compress_san sq8b.san dig/norm dig/comp --ogg -q 3
compress_san sq8c.san dig/norm dig/comp --ogg -q 3
compress_san sq9.san dig/norm dig/comp --ogg -q 3
compress_san tombdwn1.san dig/norm dig/comp --ogg -q 3
compress_san tombdwn2.san dig/norm dig/comp --ogg -q 3
compress_san tram1.san dig/norm dig/comp --ogg -q 3
compress_san tram2.san dig/norm dig/comp --ogg -q 3
compress_san tram3.san dig/norm dig/comp --ogg -q 3
compress_san tram4.san dig/norm dig/comp --ogg -q 3
compress_san tram5.san dig/norm dig/comp --ogg -q 3
Games with audio tracks in CD-audio format
Frankly I don't know much about these, don't own any. From what I've gathered, scummvm will look for (and play) files called;
- Track1.wav
- Track2.wav
- ....
- Track11.wav
Also, you can choose to convert them to your favourite format, (ogg/mp3). So rip the audio tracks off the CD, convert them if you wish, and put them in the format Track#.ogg in your game dir. No leading 0's I think (so no Track01.wav, only Track1.wav)
Personally I'd probably use 160 kbit ogg vorbis files.
Just run:
Code: Select all
oggenc -q 5 Track1.wav
Single datafile games, like DOTT and Sam and Max
Finally, allow me to add a few quick comments to convert the 'single datafile' games. This is a lot easier to do since you just need to convert one big file. (Among these games are DOTT, Sam n Max, simon te sorcerer etc)
All you need to do is run the relevant program inside the dir with oggenc.exe, the program and the datafile. To see the commandline you need to run the program without any extra options. Usually it lists an example at the bottom. For example:
Code: Select all
E:\LA>compress_queen.exe
Usage: compress_queen.exe [--mp3/--vorbis/--flac <args>] queen.1
Params:
--mp3 <args> encode to MP3 format
--vorbis <args> encode to Ogg Vorbis Format
--flac <args> encode to Flac Format
(Optional: <args> are passed on to the encoder)
Example: compress_queen.exe --mp3 -q 1 queen.1
E:\LA>
Code: Select all
compress_queen.exe --vorbis -q 1 queen.1
Last edited by puntloos on Mon Jan 30, 2006 8:29 pm, edited 24 times in total.
- JamesWoodcock
- Posts: 222
- Joined: Wed Nov 09, 2005 12:20 am
- Location: England UK
- Contact:
- eriktorbjorn
- ScummVM Developer
- Posts: 3549
- Joined: Mon Oct 31, 2005 7:39 am
The ScummVM README file has information about it. I this case, I guess "compress_simon.exe --vorbis -q -1 SIMON.VOC" would work (assuming -1 is a valid quality setting), but I haven't actually tried it myself.Track505 wrote:How functions with that compress_simon.exe (Simon the Sorcer)?
I have all folders/files, oggenc and compress_simon.exe on the right place.
now i type compress_simon.exe SIMON.VOC norm comp --ogg -q -1 and it doesnt work.![]()
Can anyone help me to compress the simon.voc?
thx in advance.
That would work just fine, yep.eriktorbjorn wrote: The ScummVM README file has information about it. I this case, I guess "compress_simon.exe --vorbis -q -1 SIMON.VOC" would work (assuming -1 is a valid quality setting), but I haven't actually tried it myself.
I've updated my tutorial post to include 'how to find out the settings for single-file audio data games', as well as CD audio files.
Not trying to be mr. importance, but it might be worthwhile making this topic sticky, since it's turning out to be a fairly complete guide to compression settings?
Whew.
OK I've now created a big archive file with all the zips and skeleton dirs to make your life a lot easier. Converting is now just a matter of a few clicks. I hope.
Let me know if something is plain wrong, not working, or if you have batchfiles for other games for me to add.
Let me know if something is plain wrong, not working, or if you have batchfiles for other games for me to add.
Version 0.2 is up
I forgot there's a monster.sou in Full Throttle, added code for that. Fixed a few booboos here and there.
Hi.
I have done a bit of testing here.
1. The simon directory should be named simon1 according to the bat file.
2. The monster.sog file in Full Throttle doesn´t get moved because you use / instead of \. Also I don´t think it is a good idea to move the *.FLU files since new ones are generated when you use compress_san.
3. For The Dig the executables are in the wrong directory. Also there is a problem with the move commands in the bat file because of /.
Will report more if I find any.
Edit: Thanks for the package:)
I have done a bit of testing here.
1. The simon directory should be named simon1 according to the bat file.
2. The monster.sog file in Full Throttle doesn´t get moved because you use / instead of \. Also I don´t think it is a good idea to move the *.FLU files since new ones are generated when you use compress_san.
3. For The Dig the executables are in the wrong directory. Also there is a problem with the move commands in the bat file because of /.
Will report more if I find any.
Edit: Thanks for the package:)
Note about Full Throttle: if you compress the SAN files in the data folder, make sure that you also copy the FLU files. Check this bug report:
http://sourceforge.net/tracker/index.ph ... tid=418820
http://sourceforge.net/tracker/index.ph ... tid=418820
Cool, thanksraschi wrote:Hi.
I have done a bit of testing here.
Done!1. The simon directory should be named simon1 according to the bat file.
Fixed2. The monster.sog file in Full Throttle doesn´t get moved because you use / instead of \.
Roger, stupid mistake. Fixed.Also I don´t think it is a good idea to move the *.FLU files since new ones are generated when you use compress_san.
Wrong directory? On the CD all the actual game files are in the 'dig' directory. I did get the compress_bun thing wrong, that's fixed.3. For The Dig the executables are in the wrong directory. Also there is a problem with the move commands in the bat file because of /.
Muchly appreciated!Will report more if I find any.
New one, then!Edit: Thanks for the package:)
http://arago4.tn.utwente.nl/ScummCompress-0.3.zip
Let me know what else rattles!
Hmm tough to reallyreallyreally follow this. As far as I can tell, compress-san makes new flu files 'with new offsets'. Im right to assume those files are actually being written to the output directory too, right?md5 wrote:Note about Full Throttle: if you compress the SAN files in the data folder, make sure that you also copy the FLU files. Check this bug report:
http://sourceforge.net/tracker/index.ph ... tid=418820
Some of the SAN files in the game's DATA folder have corresponding FLU files, which contain pointers to certain offsets in those SAN files. When the SAN files are compressed, the offsets in the FLU files need to be updated as well. This is done automatically by compress_san, however the game's FLU files must be in the same folder as the uncompressed SAN files.
Therefore, you need to copy both the FLU and the SAN files. compress_san creates the updated FLU files in the folder it is launched from
Hope this makes more sense
Therefore, you need to copy both the FLU and the SAN files. compress_san creates the updated FLU files in the folder it is launched from
Hope this makes more sense
Sorry. Worded myself badly there. I meant compress_scumm_bun.exe and compress_san.exepuntloos wrote:Wrong directory? On the CD all the actual game files are in the 'dig' directory. I did get the compress_bun thing wrong, that's fixed.raschi wrote: 3. For The Dig the executables are in the wrong directory. Also there is a problem with the move commands in the bat file because of /.
I ran a check on Full Throttle again, and the new *.FLU files are definetely generated in the target directory. If these new files are causing crashes, then maybe the respective *.bun files should be left alone.