[Scummvm-devel] Moving and merging image-related code

Paul Gilbert paulfgilbert at gmail.com
Thu Feb 3 10:22:56 CET 2011


On Thu, Feb 3, 2011 at 2:19 PM, Matthew Hoops <clone2727 at gmail.com> wrote:


> Yes, there is a reason to keep encoding support: We'd break
> compatibility with the saved games. How would the original interpreter
> be able to load new saved games? (Unless there's a chance the original
> is robust enough to know not to load the PNG if it's not found, in
> which case I take it back ;))
>
> -Matt
>

Actually, come to think of it, I don't think the current savegames are
compatible with the original in any case. The first field of a savegame is,
in the original, an Md5 (I think) of the executable itself, to ensure that
different versions of the interpreter don't try to use each other's
savegames. The ScumMVM engine also has it's own unique identifier for this
field. So unless we changed this to hard-code the original interpreter's
equivalent Md5 string, the savegames won't be cross-compatible.

Even then, there's a slight complication - there have been two major
releases of the game - the original release, and the release with English
voice pack support. I can't be sure, but I think the two versions had
slightly different executables, and thus Md5 checksums. If that's the case,
even if we try to hardcode for one of the Md5's, it would still only result
in savegames that could be read by one version of the interpreter, and not
the other.

Paul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20110203/d3ff6f96/attachment.html>


More information about the Scummvm-devel mailing list