The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => General UQM Discussion => Topic started by: theblang on April 06, 2005, 02:28:51 am



Title: Saves
Post by: theblang on April 06, 2005, 02:28:51 am
Are saves backward compatible?  For instance, if I was playing one of the older versions, then a newer version is released, will I be able to import the old save file.


Title: Re: Saves
Post by: michael on April 06, 2005, 03:10:51 am
depends on what one.


Title: Re: Saves
Post by: Novus on April 06, 2005, 01:07:19 pm
Save games actually seem to be compatible between different versions of UQM on the same machine architecture in my experience (from UQM 0.2 to the current CVS version). The save game format has not changed, as far as I can tell, since the initial UQM release from TFB. However, the save game format may change in the future; the current format is AFAIK machine-specific (for example, transferring saves from a PC to a Mac won't work yet) and not as efficient as it could be.

In other words, you can probably still use your saves if you upgrade now, but this may not be true in the future.


Title: Re: Saves
Post by: Halleck on April 06, 2005, 03:11:06 pm
Hmm... here's a little snippet on the subject from my #sc2 log.
Quote
[17:56] McMartin: Are save games portable across Mac and PC now?
[17:56] * McMartin notes that one of the things we need to do for 0.4 is rewrite portions of the manual
[18:10] fOSSiL: yo
[18:11] fOSSiL: McMartin, dont bet on portable savegames
[18:12] McMartin: We currently say "no"
[18:12] fOSSiL: though parts of game state are saved the same way on both
[18:12] * McMartin fails to recall if endianness was hacked in.
[18:13] fOSSiL: McMartin, we have bug 44 for it
[18:13] McMartin: OK
[18:32] fOSSiL: McMartin, bug #644 has an attachement that contains a recent Mac savegame
[18:32] McMartin: Noted
[18:32] * McMartin will test when he gets back from lab
[18:34] fOSSiL: woah.. Mar 30, 7400
[18:34] fOSSiL: 52428 fuel, 9472 crew :P
[18:34] McMartin: Is answered question, I suppose
[18:34] fOSSiL: indeed
[18:35] fOSSiL: the savegame is from 0.3, however I do not think anything has changed since
[18:35] McMartin: Indeed not
[18:39] fOSSiL: I have a solution for the problem -- the savegame endianness can be auto-detected
[18:40] fOSSiL: from v0.4 we could always save in *one* format and auto-detect when reading


Title: Re: Saves
Post by: meep-eep on April 06, 2005, 08:32:41 pm
I think there was a little change after 0.1. From 0.2 to now (and probably 0.4) the savegame format is unchanged.
It hasn't been decided yet what we'll do after that. The savegame format is going to change, but possibly we'll add a convertor, or enable uqm to load old savegames. On the other hand, the game is still in alpha, so it wouldn't be too unreasonable not to support old saved games altogether.
Note that you can't currently transfer saved games to other platform. A game saved on a 32 bits x86 computer will work on another 32 bits x86 computer, even if you're using a different operating system, but you can't use it on a Mac. The game doesn't run yet on 64 bits machines but if it does before we switch to a new savegame format, its saved games probably won't be compatible with those from 32 bits machines.
After 0.4 (so 0.5 or perhaps 1.0) saved games will be stored in a portable format.