[Scummvm-devel] kMD5FileSizeLimit = 1024 * 1024

Johannes Schickel lordhoto at gmail.com
Wed Aug 9 01:30:56 CEST 2006


> Anyway (and I actually discussed this with LordHoto a few weeks ago),
> the 1MB constant set in the Kyra engine doesn't really mean much.
> The files that are checksummed are between 6 and 32 kb, depending
> on the game version. There should be no problems with reducing
> the constant to, say, 50 KBs or something of that nature, though
> in general it would just be for the "just in case" scenario and shouldn't
> make any difference in practice, either way.
>

Exactly, it shouldn't matter much, I don't see any problem in reducing
the filesize to something which is still big enough so we don't need
to recalculate all md5s. Since it should not change anything to reduce
the filesize, it would be just a cosmetical fix.

// Johannes




More information about the Scummvm-devel mailing list