Page 1 of 1

Savegame format.

Posted: Fri Nov 19, 2004 11:49 pm
by Chris Schumacher
Where are the savegames for Exult stored? I poked around in the Exult
directories and couldn't find anything that looked like a savegame. Is this
implementation-specific?
In any case, in what file would the data concerning the characters attributes and equipment (-not- inventory) be stored?
I assume that Exult has its own format, since orig-U7 savegames can't be
used. Is the structure of the file(s) documented somewhere?

Re: Savegame format.

Posted: Sat Nov 20, 2004 4:56 am
by Dominus
documentation is sparse...
I'll do some of the whereabouts of the savegames. I'm sure others can fill more of the actual file structures.
1. The quicksave and the game you start up from are stored in the gamedat dir. Here you find the indvidual files that need explaining from others.
- Except scrnshot.shp, this is the screenshot you see in the save/load menu.
- And the newgame.ver, exult.ver. This are just text files, tracking with which version of exult the first savegame of a game was made and with what version it was saved last.

2. When you actually use the save menu and save game, a file called exultXXbg.sav or exultXXsi.sav (XX is a number and bg/si according to the game you play). By default these savegames are just the files from gamedat, zipped. These sav files are normaly found in the game dir specified in

Re: Savegame format.

Posted: Fri Dec 03, 2004 7:46 pm
by Chris Schumacher
All right, I found the attributes. Now, where is the inventory stored?
Anyone? Anyone?

Re: Savegame format.

Posted: Sat Dec 04, 2004 2:08 am
by Dominus
May I ask why you need this?
Just for changing attributes or changing equipment, the F2-cheat and Exult Studio are much more userfriendly then poking around hex-codes.

Re: Savegame format.

Posted: Sat Dec 04, 2004 7:58 pm
by Chris Schumacher
No, that's no good. I need the actual offsets within the files.
I'm going to stay mum about what I'm using this information for at the
moment, since I don't want to get anybody's hopes up.

Re: Savegame format.

Posted: Sun Dec 05, 2004 1:18 am
by SB-X
A U7 to Exult savegame converter.
What do I win?

Re: Savegame format.

Posted: Sun Dec 05, 2004 2:25 am
by Dominus
good luck.

Re: Savegame format.

Posted: Sun Dec 05, 2004 3:29 am
by wjp
You'll want to look at actorio.cc for actor saving/loading. This includes the inventory. Actor::read/write call functions from objs/contain.cc and objs/iregobjs.cc to save the inventory.

The functions calling Actor::read/write are Game_window::read/write_npcs in readnpcs.cc.

Re: Savegame format.

Posted: Sun Dec 05, 2004 1:26 pm
by Chris Schumacher
>A U7 to Exult savegame converter.

Nope, not even close.

Re: Savegame format.

Posted: Sun Dec 05, 2004 2:00 pm
by Chris Schumacher
Hmmm... According to this file, the attributes are located in npc.dat. However, I found them in saveinfo.dat. What is saveinfo.dat then, used for?

Re: Savegame format.

Posted: Sun Dec 05, 2004 5:16 pm
by SB-X
Damn you Avatar!

I'm not helping am I?

Re: Savegame format.

Posted: Mon Dec 06, 2004 12:37 am
by wjp
That's for the 'savegame info' box at the right hand side of the savegame dialog. We probably store more info than we're actually displaying.