[ scummvm-Patches-2307224 ] BS1: Save/load overhaul

SourceForge.net noreply at sourceforge.net
Mon Nov 17 23:28:19 CET 2008


Patches item #2307224, was opened at 2008-11-18 00:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2307224&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Filippos Karapetis (thebluegr)
Assigned to: Nobody/Anonymous (nobody)
Summary: BS1: Save/load overhaul

Initial Comment:
This is a rewrite of the way save games are handled in BS1. The current save system suffers from many problems:
- All save games have the same names, i.e. "savegame.001", "savegame.002" and so on. This makes it impossible to use save games for multiple versions of the game (e.g. English and German)
- An index file is used for the save descriptions, which is a bad practice: it can get out of sync, and it makes copying of save games across systems a complete nightmare
- There is no save game versioning (this makes any possible additions to the save format problematic)
- There is no save header, to verify that the save is correct

The attached patch does the following:
- Removes the need for an index file - save descriptions are stored within the save files themselves
- Names save files consistently, based on the game id, like in other engines
- Adds a save game version field
- Provides functionality to convert the old format to the new one
- Adds GMM functionality to delete save states
- Adds meta info functionality (thumbnails, though it doesn't work yet) and creation date/time

Saving/loading from the GMM is included as well, but it's disabled as I've had crashes when trying to load a game



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

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




More information about the Scummvm-tracker mailing list