Re: The Devanstator (save format)
My attempts to post this reply in your save game editor thread have been met with mysterious timeouts, so I'm forced to resort to this...
The actual fields of many of these GFF formats are not documented, but their functions are easy to discover by applying a bit of common sense and experimentation.
So, the simplest way to get at the current party members: Read LASTMODULE out of savenfo.res, extract the named resource (ResType 0x0809, IIRC) from SAVEGAME.sav, and then modify the structures in the Mod_PlayerList list in module.ifo (it's pretty self explanatory - ClassList for classes, FeatList for feats, Appearance_Type for player model, etc). No searching required.
I'm not sure if this is old news to you or not, but I didn't see any mention of it.
I have been poking about in the files for KotOR and recently tried checking the save files. I also found that every save-file is in either GFF or ERF file-format.
The save folders contains five files of the following format:
In the GFF format. Contains the global variables for quests and such things
In the GFF format. Contains more information about the different NPC's that join the group, such as which of them that are available to the players. It does not seem to contain any specific information such as skills.
In the GFF format. Seems to contain information about the save game such as name and the module the game was saved in.
In TGA format. It is the screenshot of the current game.
In ERF format (encapsulated resource file). It contains the following files:
All of them are in the GFF format and contains the NPC's that join the group and their different values. Contains skills, name, gender and much information.
In the GFF format. Contains the inventory of the party.
In the GFF format. Think that it contains how different groups of NPC's like the character.
There are many .sav-files, one for each planet. For example ebo_m12aa.sav if for the Ebon Hawk. These files are in ERF format. They are the area-save files, they contain the following files:
XXX.git (each have a name like the file that contains them)
XXX.are (same as above)
Those files seem to contain information about the area. Much of the information is somewhat cryptic but it is possible that it can be useful.
So far I have not been able to find the information about the PC, but I'm working on it.
It is quite possible to use ERFEdit to unpack everything and then use GFFEdit to change the information and then re-pack it.
Addition to the above information. When looking at my last save from my last game when I save near the end battle I found an extra file in the SAVEGAME.sav called pc.utc that contained the information about my character. Do not know why it did not show up in the other save files but I'm checking it out.
The AVAILNPC resources are standard creature blueprints, you can even copy NPCs out of templates.bif and put them in your party.
The last opened module is in savenfo.res, in the LASTMODULE field. =)
As for PC.utc, it contains a blueprint for the PC (obviously), but I'm not sure when it's created. My endgame saves have it, but I sort of nuked most of my mid-game saves. Might be used on the Leviathan when you don't have the PC in your party?
I have tried to modify things and should tell people to be sure to make back-ups before starting to change stuff. I have found at least one value that should not be altered because the modified game refuses to load.
Wow, you guys have really done your homework. Because I had no previous experience with NWN or Bioware, I just started figuring them out on my own. I would use a cheat to change some value, then save it in an extra slot, then load up the game again, cheat with a different value and save in another slot. Then I would use a hex editor to find the differences and try to sort it out. Thanks a lot for pointing this stuff out, I had no idea the sav was actually an erf. Everything makes so much more sense now.
This could make things a lot easier for me, thanks.
I noticed this as well, when I was looking into editing the savegames, and it seems to show up around that time.
|All times are GMT -4. The time now is 12:18 AM.|
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2011 - All rights reserved.