[ scummvm-Patches-650085 ] Make saveload system extensible

noreply at sourceforge.net noreply at sourceforge.net
Sat Dec 7 17:11:04 CET 2002


Patches item #650085, was opened at 2002-12-07 17:11
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=650085&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Max Horn (fingolfin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Make saveload system extensible

Initial Comment:
This patch (as discussed on IRC) implements versioning
on the fields store in save games. This way, it becomes
easy to remove/add/grow fields in the save game, whil
still being able to load older save games. 

I can load all my old V8 & V9 save games (as well as
all the savegames here that are labeled as V7 - due to
a bug, all versions of ScummVM up to and including
0.3.0 would under certain conditions save states as V8,
sometimes even incorrectly marked as V7).

The new save game format V10 is in effect a few KB
bigger than the old. The reason is that we didn't save
a lot things that should have been saved - e.g. we only
saved 64 of the 256 bytes of each actor's palette.

I would check this in directly, but I think some people
should test it independently first, as it is always
risky to mess with the save/load system.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=650085&group_id=37116




More information about the Scummvm-tracker mailing list