Help Reqd With Scummvm Tools


simonb

Member
Joined
Nov 6, 2007
Messages
141
Firstly, if this is a pointless exercise let me know ;-)

I want to compress some of the files for games I run via scummvm on the gp2x, using the scummvm tools... the wiki at scummvm site says

(taken from http://wiki.scummvm.org/index.php/Full_Throttle , though other pages indicate similar usage)

CODE

Datafile Compression

The monster.sou file can be compressed with the utility compress_scumm_sou which is found in the [ScummVM tools package]

The utility is used in the following manner:

compress_scumm_sou monster.sou

The *.san files can be compressed with the utility compress_scumm_san which is found in the [ScummVM tools package]

The utility is used in the following manner:

compress_scumm_sou ft.san



However, I get nowhere fast trying to run the tool in this manner... e.g.

CODE

[simonb@tachikoma RESOURCE]$ compress_scumm_san WRECKSAN.SAN

Usage: compress_scumm_san <inputfile> <inputdir> <outputdir> [--ogg] [encoder params]

MP3 mode params:
-b <rate> <rate> is the target bitrate(ABR)/minimal bitrate(VBR) (default:24)
-B <rate> <rate> is the maximum VBR/ABR bitrate (default:64)
--vbr LAME uses the VBR mode (default)
--abr LAME uses the ABR mode
-V <value> specifies the value (0 - 9) of VBR quality (0=best) (default:4)
-q <value> specifies the MPEG algorithm quality (0-9; 0=best) (default:2)
--silent the output of LAME is hidden (default:disabled)

Vorbis mode params:
-b <rate> <rate> is the nominal bitrate (default:unset)
-m <rate> <rate> is the minimum bitrate (default:unset)
-M <rate> <rate> is the maximum bitrate (default:unset)
-q <value> specifies the value (0 - 10) of VBR quality (10=best) (default:3)
--silent the output of oggenc is hidden (default:disabled)
[simonb@tachikoma RESOURCE]$



Or, going along with that barf message...

CODE


[simonb@tachikoma RESOURCE]$ compress_scumm_san WRECKSAN.SAN foo2 foo
Cannot open file: foo2/WRECKSAN.san
[simonb@tachikoma RESOURCE]$ mkdir foo
[simonb@tachikoma RESOURCE]$ compress_scumm_san WRECKSAN.SAN foo foo
Cannot open file: foo/WRECKSAN.san
[simonb@tachikoma RESOURCE]$ compress_scumm_san WRECKSAN.SAN foo

Usage: compress_scumm_san <inputfile> <inputdir> <outputdir> [--ogg] [encoder params]

MP3 mode params:
-b <rate> <rate> is the target bitrate(ABR)/minimal bitrate(VBR) (default:24)
-B <rate> <rate> is the maximum VBR/ABR bitrate (default:64)
--vbr LAME uses the VBR mode (default)
--abr LAME uses the ABR mode
-V <value> specifies the value (0 - 9) of VBR quality (0=best) (default:4)
-q <value> specifies the MPEG algorithm quality (0-9; 0=best) (default:2)
--silent the output of LAME is hidden (default:disabled)

Vorbis mode params:
-b <rate> <rate> is the nominal bitrate (default:unset)
-m <rate> <rate> is the minimum bitrate (default:unset)
-M <rate> <rate> is the maximum bitrate (default:unset)
-q <value> specifies the value (0 - 10) of VBR quality (10=best) (default:3)
--silent the output of oggenc is hidden (default:disabled)
[simonb@tachikoma RESOURCE]$ compress_scumm_san WRECKSAN.SAN foo foo
Cannot open file: foo/WRECKSAN.san
[simonb@tachikoma RESOURCE]$ mkdir foo
mkdir: foo: File exists
[simonb@tachikoma RESOURCE]$ rmdir foo
[simonb@tachikoma RESOURCE]$ compress_scumm_san WRECKSAN.SAN foo foo
Cannot open file: foo/WRECKSAN.san
[simonb@tachikoma RESOURCE]$




Any ideas chaps & chapesses ? Am I being shockingly dense here?
 
QUOTE

Usage: compress_scumm_san <inputfile> <inputdir> <outputdir> [--ogg] [encoder params]

...

...

[simonb@tachikoma RESOURCE]$ compress_scumm_san WRECKSAN.SAN foo2 foo
Cannot open file: foo2/WRECKSAN.san



is your WRECKSAN.SAN file in the foo2 directory? there also seems to be an issue with the capitals... try all lower case.

put your wrecksan.san file in the same directory as the tool, and try:

CODE
compress_scumm_san wrecksan.san ./ ./output
 
mrsnature said:
is your WRECKSAN.SAN file in the foo2 directory? there also seems to be an issue with the capitals... try all lower case.

put your wrecksan.san file in the same directory as the tool, and try:

CODE
compress_scumm_san wrecksan.san ./ ./output
OK, for future reference the "output" directory needs to exist, and the tool will only work with lowercased filenames.

Cheers for the help.
 
Last edited by a moderator:
Back
Top