Page 1 of 1
just by curiousity
Posted: Thu Feb 21, 2002 12:46 pm
by artaxerxes
What is in the savegame file ?
How is it laid out ?
How is the data saved in it ?
Artaxerxes
Re: just by curiousity
Posted: Thu Feb 21, 2002 1:02 pm
by wjp
A savegame file is basically a zipped up copy of the gamedat/ directory. The original used a flex-like format to save it. Exult supports this too, but recently started using a zip instead of a flex file by default. (So that the savegames are a lot smaller)
In think u7tech.txt has some info on the file formats in the gamedat/ directory. The rest is in the exult source. Any particular info you're looking for?
Re: just by curiousity
Posted: Thu Feb 21, 2002 1:14 pm
by artaxerxes
nothing in particular.
I just happened to tar several savegames and scp them over to another machine and I realized the savegame files are _huge_.
Artaxerxes
Re: just by curiousity
Posted: Thu Feb 21, 2002 1:25 pm
by wjp
should be about 250K a piece, right?
Re: just by curiousity
Posted: Fri Feb 22, 2002 4:20 am
by artaxerxes
yeap
isn't it too big ? Can something be done to that or it is just the way it is ? (I know that U7 orig would make even bigger savegames)
Artaxerxes
Re: just by curiousity
Posted: Fri Feb 22, 2002 4:26 am
by nadir
Well, it is smaller in Exult, because it's zipped whereas in the original it was "flexed" (i.e. no compression).
The size is determined by the fact that all of the contents of the gamedat directory have to be stored, which means all 144 ireg files plus scheduled usecode, npc flags, etc.
Re: just by curiousity
Posted: Fri Feb 22, 2002 4:33 am
by artaxerxes
well I guess I'll have to live with it.
no big deal... just asked.
Artaxerxes