[Scummvm-devel] Residual: Savegame format

James 'Ender' Brown ender at scummvm.org
Fri May 26 18:02:05 CEST 2006


Honestly, we really don't need to support the original save format.
Given the way .gsv files work, and endian, I don't believe a compatible
save format could be cross-platform interchangable.

IMHO it would better to create a new (incompatible) save format from
scratch, as we do for most of the engines ScummVM-proper supports.

Cheers,
	- Ender


> Thanks for that interesting link. I had exactly the same impression when
> gunzipping the .gsvs from GF, i.e. there's a lot of crap saved, probably
> the state of all the LUA objects. Even the text of the main menu items
> is saved in the current locale - although it is probably overwritten
> when a .gsv is stuffed into an unlocalized GF.
> 
> We clearly need to get a clue on how the .gsv format looks like.
> 
> I never reverse engineered a file format, maybe there is a HOWTO or some
> general guideline? Where should one start? Disassemble GRIMFANDANGO.EXE,
> slightly change the state and diff the files?
> 
> How can we know the tags of the various section, and how is it usually
> guaranteed that the section tags are not used in some random string? I
> can find {...} character sequences, maybe that is some protector?

-- 
James 'Ender' Brown <ender at scummvm.org>





More information about the Scummvm-devel mailing list