lfnetwork.com mark read register faq members calendar

Thread: Re: The Devanstator (save format)
Thread Tools Display Modes
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Prev Previous Post   Next Post Next
Old 01-05-2004, 09:14 AM   #1
eiz
Rookie
 
Join Date: Jan 2004
Posts: 35
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...

Quote:
What I wouldn't give to see the documentation for these files...
The file format documentation for ERF and GFF is on nwn.bioware.com in the For Developers section. The SAVEGAME.sav file is an ERF that seems to contain blueprints for party member selection (augmented by partytable.res, also a very simple GFF file), an inventory, and an ERF for each open module. The savenfo.res file in the savegame directory is a GFF which contains various information including the current module. The module.ifo resources contain the majority of the relevant module state.

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.
eiz is offline   you may: quote & reply,
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Re: The Devanstator (save format)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:07 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.