[Scummvm-devel] Help with tool details

Thierry Crozat (Yahoo! Mail) thierry.crozat at yahoo.co.uk
Sat Aug 8 11:56:22 CEST 2009


Le 5 août 09 à 03:00, Remere a écrit :

> On Sun, Aug 2, 2009 at 11:15 AM, Thierry Crozat (Yahoo!
> Mail)<thierry.crozat at yahoo.co.uk> wrote:
>> Le 2 août 09 à 02:37, Remere a écrit :
>>
>>> what input files are expected for the
>>> following tools: [...] extract_scumm_mac.
>>
>> No file extension there I'm afraid. The input file is a single  
>> file named
>> "Foo Data" where Foo is the name of the game (e.g. "Sam & Max  
>> Data", "Day of
>> the Tentacle Data", "Full Throttle Data").
>>
> Well, then simply checking if the filename ends with "Data" should be
> enough. I changed it to work this way, or are there any problems with
> this (Note that other input files will be expected just fine, it's
> only for output detection)?

For a bit more robustness you could check for filename ending with "  
Data" with the space.
Some of the other games have files ending with "DATA" (I suppose the  
check is case
insensitive) such as the "GDATA" file for Discworld 2.





More information about the Scummvm-devel mailing list