[Scummvm-devel] MD5s of Scumm data files

Max Horn max at quendi.de
Sat Dec 13 12:14:01 CET 2003


Am Samstag, 13.12.03 um 20:20 Uhr schrieb Marcus Comstedt:

>
> Max Horn <max at quendi.de> writes:
>
>>> I'm all for this.  Having "perfect" auto detection in the ScummVM
>>> proper would allow me to can my own auto-detection hacks which tend 
>>> to
>>> break whenever someone edits the launcher.  :-)
>>>
>> Well that's because you are not really using the launcher, but rather
>> your own code which then "borrows" code form the launcher, no? :-)
>
> Yes, which is because the launcher is not really usable in its current
> form on a hard-disk-less system, no?  :-)
>
>
>> Yes yes, I figured all this all by my own, w/o even owning a DC, ain't
>> I clever? :-) I am only hashing the first file (did you actually take
>> a look at the MD5 website I put up? :-)
>
> Yes.  I also read your mail, which said that sometimes you would hash
> all the files.

. To quote myself:
BEGIN QUOTE
* We can check for corrupt files (this requires MD5 of all files, and 
is not something I am aiming for currently, but might be interesting in 
the future, e.g. for doing a 'scummvm -check TARGET' command)
END QUOTE
This was just an example of a hypothetical, optional future feature :-)


> In case you're interrested, the 000.LFL file of the Spanish Loom CD
> Talkie (the speech isn't in Spanish, just the subtitles) has the same
> MD5 as the english version.
>
OK. Which is the first indication that taking just the checksum of the 
first file is not always enough. However, at least in this case I see 
no problem arising from this (distinguishing languages is mostly 
important for the V1/V2 games, so that we can select the proper font).

Cheers,

Max





More information about the Scummvm-devel mailing list