Avenger Posted May 23, 2005 Share Posted May 23, 2005 Well, I can now answer my question i asked in the topic below There is an offset/counter pair after the familiar offset in .gam files. The relevant parts: .... long familiaroffset; long slocoffset; long sloccount; long realtime; .... The saved location offset usually points after the familiars' offset. And it is an optional field in the saved game. StorePartyLocations fills these arrays and RestorePartyLocations frees them up again. So you can use RestorePartyLocations only once. The stored data is (one for each partymember): typedef struct { char area[8]; short xpos, ypos; } gam_sloc; As you see no orientation data is stored. One record is 12 bytes long (8+2+2). DLTCEP 6.6 cannot load these savegames correctly, it will truncate the saved locations (and break the saved game). Link to comment
igi Posted June 25, 2005 Share Posted June 25, 2005 Nifty find. Maybe this will encourage more use of these actions. Maybe not. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.