Savegame format.
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Savegame format.
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?
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.
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
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
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: Savegame format.
All right, I found the attributes. Now, where is the inventory stored?
Anyone? Anyone?
Anyone? Anyone?
Re: Savegame format.
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.
Just for changing attributes or changing equipment, the F2-cheat and Exult Studio are much more userfriendly then poking around hex-codes.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: Savegame format.
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.
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.
A U7 to Exult savegame converter.
What do I win?
What do I win?
Re: Savegame format.
good luck.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: Savegame format.
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.
The functions calling Actor::read/write are Game_window::read/write_npcs in readnpcs.cc.
Re: Savegame format.
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.
Damn you Avatar!
I'm not helping am I?
I'm not helping am I?
Re: Savegame format.
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.