Jump to content

(EE) GAME V2.0 file format additions


Recommended Posts

Posted

There are no EE-specific additions listed for the GAME file format yet, so here they are:

GAME V2.0 Header:

Offset    Size              Description
0x001c    2 (word)          Use active area from party member (0=Player1, 1=Player2, ... 5=Player6, -1=Not in party). This overrides current area at offset 0x0058.
^^ This applies to original BG2 as well.

0x0080    4 (dword)         Zoom level (in percent), 0 or 100: default zoom level, >100: zoomed out, <100: zoomed in
0x0084    8 (resref)        Random encounter area set by script action ForceRandomEncounter() or ForceRandomEncounterEntry().
0x008c    8 (resref)        Current worldmap
0x0094    8 (char array)    Current campaign (e.g. "SOD" for Siege of Dragonspear)
0x009c    4 (dword)         Familiar owner (0=Player1, 1=Player2, ..., 5=Player6) <- used by IWD:EE
0x00a0    20 (char array)   Random encounter entry set by script action ForceRandomEncounterEntry().

 

Posted

Thanks, added. I can confirm the first one, as Avenger added a note in 2012:  "in ToB this is named 'nPCAreaViewed'". :)

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...