Page 1 of 1

Save Files

Posted: Mon Nov 22, 2010 12:47 am
by AGP
I'm getting into the really small, annoying, parts of my engine (the fun, bigger things are all worked-out) and I have a question that AGDI may or may not be able to answer (depends on how much of it was AGS and how much was AGDI's): did you have to store, in the save files, each and every room the hero had visited which had things that only happened once (like the narrator's descriptions)? Or was there a cleverer algorithm for determining that?

Re: Save Files

Posted: Mon Nov 22, 2010 4:10 am
by MusicallyInspired
That would be a question for Chris Jones the creator of AGS. That type of thing isn't customised by the game author. The save files for AGS are fairly large though (2MB+) so I'm imagining that it does cache as much of the game settings as possible. I know that SCI games cache all game scripts and variables even if you alter the script, recompile, and restore a save from the pre-altered state.

I don't know if that was any help at all.

Re: Save Files

Posted: Tue Nov 23, 2010 3:01 am
by AGP
That does help a lot, thanks. Two megabytes sounds awfully large (so far my own format, holding everything from quests to inventory to location in game, points, health, etc. was only 165 BYTES). I guess AGS must store anything and everything it comes up with.