Index  •  2DA  •  Effects  •  File Formats  •  Actions  •  Identifiers  •  Triggers  •  Appendices  •  Site Info  •  Legal

ARE file format

Applies to:
BG1, BG1: TotS, BG2, BG2: ToB, PST, IWD, IWD:HoW, IWD:TotL

Area overview
An area in the Infinity Engine is made up of several files; ARE, TIS, WED, MOS, BMP and, depending on the complexity of the area, references to BCS, CRE, ITM, BAM and ACM files. The role of each file type is outlined below, based on area AR0001 and standard naming conventions:
• AR0001.TIS contains the area graphics
• AR0001.WED contains the area region information (wall groups, alternate tiles, doors etc.)
• AR0001.MOS contains the area minimap graphics
• AR0001.ARE contains the area definition (area type, animations, containers etc.)
• AR0001SR.BMP contains the area search map
• AR0001LM.BMP contains the area light map
• AR0001HT.BMP contains the area height map
• AR0001.BCS contains the area script

General Description
The ARE file format describes the content of an area (rather than its visual representation). ARE files contain the list of actors, items, entrances and exits, spawn points and other area-associated info. The ARE file may contain references to other files, e.g. the list of items in a container is stored in the ARE file, however the files themselves are not embedded in the ARE file.

Detailed Description
Overall structure
Note: The ARE file is made of several sections. The order of these sections can vary; this is allowed for in the file format. The sections are presented in the order in which they are referenced in the header.


Offset Size (data type) Description
0x0000 4 (char array) Signature ('AREA')
0x0004 4 (char array) Version ('V1.0')
0x0008 8 (resref) Area WED
0x0010 4 (dword) Last saved (seconds, real time)
0x0014 4 (dword) Area flag (AREAFLAG.IDS)

BG1:TotS, IWD:ToTL, BG2:ToB:
  • bit 0: Save allowed
  • bit 1: Tutorial area (not BG1)
  • bit 2: Dead magic zone
  • bit 3: Dream
PST: Unknown
0x0018 8 (resref) Resref of the area to the North of this area
0x0020 4 (dword) Unknown
0x0024 8 (resref) Resref of the area to the East of this area
0x002c 4 (dword) Unknown
0x0030 8 (resref) Resref of the area to the South of this area
0x0038 4 (dword) Unknown
0x003c 8 (resref) Resref of the area to the West of this area
0x0044 4 (dword) Unknown
0x0048 2 (word) Area flags (AREATYPE.IDS)
BG1:TotS, IWD:ToTL, BG2:ToB:
  • bit 0: Outdoor
  • bit 1: Day/night
  • bit 2: Weather
  • bit 3: City
  • bit 4: Forest
  • bit 5: Dungeon
  • bit 6: Extended night
  • bit 7: Can rest indoors
PST: Unknown
0x004a 2 (word) Rain probability
0x004c 2 (word) Snow probability
0x004e 2 (word) Fog probability - not implemented
0x0050 2 (word) Lightning probability
0x0052 2 (word)
Unknown
0x0054 4 (dword) Offset to actors
0x0058 2 (word) Count of actors
0x005a 2 (word) Count of regions
0x005c 4 (dword) Offset to regionst
0x0060 4 (dword) Offset to spawn points
0x0064 4 (dword) Count of spawn points
0x0068 4 (dword) Offset to entrances
0x006c 4 (dword) Count of entrances
0x0070 4 (dword) Offset to containers
0x0074 2 (word) Count of containers
0x0076 2 (word) Count of items
0x0078 4 (dword) Offset to items
0x007c 4 (dword) Offset to vertices
0x0080 2 (word) Count of vertices
0x0082 2 (word) Count of ambients
0x0084 4 (dword) Offset to ambients
0x0088 4 (dword) Offset to variables
0x008c 4 (dword) Count of variables
0x0090 4 (dword) Unknown
0x0094 8 (resref) Area script
0x009c 4 (dword) Size of explored bitmask
0x00a0 4 (dword) Offset to explored bitmask
0x00a4 4 (dword) Count of doors
0x00a8 4 (dword) Offset to doors
0x00ac 4 (dword) Count of animations
0x00b0 4 (dword) Offset to animation
0x00b4 4 (dword) Count of tiled objects
0x00b8 4 (dword) Offset to tiled objects
0x00bc 4 (dword) Offset to song entries
0x00c0 4 (dword) Offset to rest interruptions
0x00c4 4 (dword) PST: 0xFFFFFFFF

Other: Offset of the automap note section
0x00c8 4 (dword) PST: Offset of the automap note section

Other: Number of entries in the automap note section
0x00cc 4 (dword) PST: Number of entries in the automap note section

Other: Offset to the projectile traps section
0x00d0 4 (dword) Number of entries in the projectile traps section
0x00d4 8 (resref) BG2: ToB - Rest movie (day)
Others - Unknown
0x00dc 8 (resref) BG2: ToB - Rest movie (night)
Others - Unknown
0x00e4 38 (byte) Unknown


This section is 0x110 bytes in length.

Offset Size (data type Description
0x0000 32 (char array) Name
0x0020 2 (word) Current X coordinate
0x0022 2 (word) Current Y coordinate
0x0024 2 (word) Destination X coordinate
0x0026 2 (word) Destination Y coordinate
0x0028 4 (dword) Flags
  • bit 0: CRE attached (0=yes,1=no)
  • bit 1: Unknown
  • bit 2: Unknown
  • bit 3: Override script name
0x002c 4 (dword) Has been spawned (0=no, 1=yes)
0x0030 4 (dword) Actor animation
0x0034 4 (dword) Actor orientation
0x0038 4 (dword) Unknown
0x003c 4 (dword) Unknown
0x0040 4 (dword) Actor appearence schedule. Bits 0-23 each represent an hour of game time. Setting a bit means the actor will appear in the area for the corresponding hour.
Hours are offset by 30 minutes as follows:
bit 23 = 23:30 to 00:29
bit 22 = 22:30 to 23:29
bit 21 = 21:30 to 22:29 (Night)
bit 20 = 20:30 to 21:29 (Dusk)
bit 19 = 19:30 to 20:29
bit 18 = 18:30 to 19:29
bit 17 = 17:30 to 18:29
bit 16 = 16:30 to 17:29
bit 15 = 15:30 to 16:29
bit 14 = 14:30 to 15:29
bit 13 = 13:30 to 14:29
bit 12 = 12:30 to 13:29
bit 11 = 11:30 to 12:29
bit 10 = 10:30 to 11:29
bit 9 = 09:30 to 10:29
bit 8 = 08:30 to 09:29
bit 7 = 07:30 to 08:29
bit 6 = 06:30 to 07:29 (Day)
bit 5 = 05:30 to 06:29 (Dawn)
bit 4 = 04:30 to 05:29
bit 3 = 03:30 to 04:29
bit 2 = 02:30 to 03:29
bit 1 = 01:30 to 02:29
bit 0 = 00:30 to 01:29
0x0044 4 (dword) NumTimesTalkedTo (in SAV files)
0x0048 8 (resref) Dialog
0x0050 8 (resref) Script (Override)
0x0058 8 (resref) Script (General)
0x0060 8 (resref) Script (Class)
0x0068 8 (resref) Script (Race)
0x0070 8 (resref) Script (Default)
0x0078 8 (resref) Script (Specific)
0x0080 8 (resref) CRE file
0x0088 4 (dword) Offset to CRE structure (for embedded CRE files)
0x008c 4 (dword) Size of stored CRE structure
0x0090 128 (bytes) Unknown


Regions have previously been known as "Info points", this is the name the Bioware editors assigned to these structure types by default.
This section is 0xC4h bytes in length.

Offset Size (data type) Description
0x0000 32 (char array) Name
0x0020 2 (word) Region type
  • 0: Proximity trigger
  • 1: Info point
  • 2: Travel region
0x0022 8 (rect) Minimum bounding box of this point
0x002a 2 (word) Count of vertices composing the perimeter of this region
0x002c 4 (dword) Index of first vertex for this region
0x0030 4 (dword) Unknown
0x0034 4 (dword) Cursor index (cursors.bam)
0x0038 8 (resref) Destination area (for travel regions)
0x0040 32 (char array) Entrance name in destination area (for travel regions)
0x0060 4 (dword) Flags
  • bit 0: Invisible trap
  • bit 1: Reset trap (for proximity triggers)
  • bit 2: Party Required flag (for travel triggers)
  • bit 3: Detectable
  • bit 4: Unknown
  • bit 5: Unknown
  • bit 6: NPC can trigger
  • bit 7: Unknown
  • bit 8: Deactivated (for proximity triggers)
  • bit 9: NPC can't pass (for travel triggers)
  • bit 10: Alternative Point
  • bit 11: Used by door?
  • bit 12: Unknown
  • bit 13: Unknown
  • bit 14: Unknown
  • bit 15: Unknown
0x0064 4 (strref) Information text (for info points)
0x0068 2 (word) Trap detection difficulty (%)
0x006a 2 (word) Trap removal difficulty (%)
0x006c 2 (word) Region is trapped (0=No, 1=Yes)
0x006e 2 (word) Trap detected (0=No, 1=Yes)
0x0070 4 (point) Trap launch location
0x0074 8 (resref) Key item
0x007c 8 (resref) Region script
0x0084 2 (word) Alternative use point X coordinate
0x0086 2 (word) Alternative use point Y coordinate
0x0088 4 (dword) Unknown
0x008c 44 (bytes) Unknown
0x00b4 4 (point) Unknown
0x00b8 4 (dword) Unknown
0x00bc 8 (resref) Dialog file (PST)


This section is 0xC8 bytes in length.

Offset Size (data type) Description
0x0000 32 (char array) Name
0x0020 2 (word) X coordinate
0x0022 2 (word) Y coordinate
0x0024 8 (resref) Resref of creature to spawn
0x002c 8 (resref) Resref of creature to spawn
0x0034 8 (resref) Resref of creature to spawn
0x003c 8 (resref) Resref of creature to spawn
0x0044 8 (resref) Resref of creature to spawn
0x004c 8 (resref) Resref of creature to spawn
0x0054 8 (resref) Resref of creature to spawn
0x005c 8 (resref) Resref of creature to spawn
0x0064 8 (resref) Resref of creature to spawn
0x006c 8 (resref) Resref of creature to spawn
0x0074 2 (word) Count of spawn creatures
0x0076 2 (word) Base creature number to spawn. The actual number to spawn is given by:
(Frequency * Player Level) / Creature Power
With results rounded down.
0x0078 2 (word) Seconds between spawning
0x007a 2 (word) Spawn method (1=Rest, 2=Revealed)
0x007c 4 (dword) Unknown
0x0080 2 (word) Unknown. Usually matches 0x0082
0x0082 2 (word) Unknown. Usually matches 0x0080
0x0084 2 (word) Maximum creatures to spawn
0x0086 2 (word) Spawn point enabled (0=Inactive, 1=Active)
0x0088 4 (dword) Spawn point appearence schedule. Bits 0-23 each represent an hour of game time. Setting a bit means the spawn point will be active in the area for the corresponding hour.
Hours are offset by 30 minutes as follows:
bit 23 = 23:30 to 00:29
bit 22 = 22:30 to 23:29
bit 21 = 21:30 to 22:29 (Night)
bit 20 = 20:30 to 21:29 (Dusk)
bit 19 = 19:30 to 20:29
bit 18 = 18:30 to 19:29
bit 17 = 17:30 to 18:29
bit 16 = 16:30 to 17:29
bit 15 = 15:30 to 16:29
bit 14 = 14:30 to 15:29
bit 13 = 13:30 to 14:29
bit 12 = 12:30 to 13:29
bit 11 = 11:30 to 12:29
bit 10 = 10:30 to 11:29
bit 9 = 09:30 to 10:29
bit 8 = 08:30 to 09:29
bit 7 = 07:30 to 08:29
bit 6 = 06:30 to 07:29 (Day)
bit 5 = 05:30 to 06:29 (Dawn)
bit 4 = 04:30 to 05:29
bit 3 = 03:30 to 04:29
bit 2 = 02:30 to 03:29
bit 1 = 01:30 to 02:29
bit 0 = 00:30 to 01:29
0x008c 2 (word) Probability (day)
0x008e 2 (word) Probability (night)
0x0090 56 (word) Unknown


Offset Size (data type) Description
0x0000 32 (char array) Name
0x0020 2 (word) X coordinate
0x0022 2 (word) Y coordinate
0x0024 2 (word) Orientation
0x0026 66 (bytes) Unknown


Offset Size (data type) Description
0x0000 32 (char array) Name
0x0020 2 (word) X coordinate
0x0022 2 (word) Y coordinate
0x0024 2 (word) Container type
  • 00: <n/a>
  • 01: Bag
  • 02: Chest
  • 03: Drawer
  • 04: Pile
  • 05: Table
  • 06: Shelf
  • 07: Altar
  • 08: Nonvisible
  • 09: Spellbook
  • 0a: Body
  • 0b: Barrel
  • 0c: Crate
0x0026 2 (word) Lock difficulty
0x0028 4 (dword) Flags
  • bit 0: Locked
  • bit 1: Unknown
  • bit 2: Unknown
  • bit 3: Trap resets
  • bit 4: Unknown
  • bit 5: Disabled
0x002c 2 (word) Trap detection difficulty
0x002e 2 (word) Trap removal difficulty
0x0030 2 (word) Container is trapped (0=No, 1=Yes)
0x0032 2 (word) Trap detected (0=No, 1=Yes)
0x0034 2 (word) Trap launch x coordinate
0x0036 2 (word) Trap launch Y coordinate
0x0038 8 (rect) Minimum bounding box of container polygon
0x0040 4 (dword) Index of first item in this container
0x0044 4 (dword) Count of items in this container
0x0048 8 (resref) Trap script
0x0050 4 (dword) Index of first vertex making up the outline of this container
0x0054 4 (dword) Count of vertices making up the outline of this container
0x0058 32 (bytes) Unknown
0x0078 8 (resref) Key item
0x0080 4 (dword) Unknown
0x0084 4 (strref) Lockpick string
0x0088 56 (bytes) Unknown


Offset Size (data type) Description
0x0000 8 (resref) Item resref
0x0008 2 (word) Item expiration time (replace with drained item)
0x000a 2 (word) Quantity/Charges 1
0x000c 2 (word) Quantity/Charges 2
0x000e 2 (word) Quantity/Charges 3
0x0010 4 (dword) Flags
  • bit 0: Identified
  • bit 1: Unstealable
  • bit 2: Stolen
  • bit 3: Undroppable


An array of points used to create the outlines of regions and containers. Elements are 16-bit words stored x0, y0, x1, y1 etc.


Offset Size (data type) Description
0x0000 32 (char array) Name
0x0020 2 (word) X coordinate
0x0022 2 (word) Y coordinate
0x0024 2 (word) Radius
0x0026 2 (bytes) Height
0x0028 6 (bytes) Unknown
0x002e 2 (word) Volume (%)
0x0030 8 (resref) Resref of sound
0x0038 8 (resref) Resref of sound
0x0040 8 (resref) Resref of sound
0x0048 8 (resref) Resref of sound
0x0050 8 (resref) Resref of sound
0x0058 8 (resref) Resref of sound
0x0060 8 (resref) Resref of sound
0x0068 8 (resref) Resref of sound
0x0070 8 (resref) Resref of sound
0x0078 8 (resref) Resref of sound
0x0080 2 (word) Count of sounds
0x0082 2 (word) Unknown
0x0084 4 (dword) Base time (seconds) between sounds from this ambient list
0x0088 4 (dword) Base time deviation. Time between the start of consecutive sounds uses a uniform distribution over the range (0x0084 - 0x0088) and (0x0084 + 0x0088).
0x008c 4 (dword) Ambient appearence schedule. Bits 0-23 each represent an hour of game time. Setting a bit means the ambient will appear in the area for the corresponding hour.
Hours are offset by 30 minutes as follows:
bit 23 = 23:30 to 00:29
bit 22 = 22:30 to 23:29
bit 21 = 21:30 to 22:29 (Night)
bit 20 = 20:30 to 21:29 (Dusk)
bit 19 = 19:30 to 20:29
bit 18 = 18:30 to 19:29
bit 17 = 17:30 to 18:29
bit 16 = 16:30 to 17:29
bit 15 = 15:30 to 16:29
bit 14 = 14:30 to 15:29
bit 13 = 13:30 to 14:29
bit 12 = 12:30 to 13:29
bit 11 = 11:30 to 12:29
bit 10 = 10:30 to 11:29
bit 9 = 09:30 to 10:29
bit 8 = 08:30 to 09:29
bit 7 = 07:30 to 08:29
bit 6 = 06:30 to 07:29 (Day)
bit 5 = 05:30 to 06:29 (Dawn)
bit 4 = 04:30 to 05:29
bit 3 = 03:30 to 04:29
bit 2 = 02:30 to 03:29
bit 1 = 01:30 to 02:29
bit 0 = 00:30 to 01:29
0x0090 4 (dword) Flags
  • bit 0: (0) Ambient disabled / (1) Ambient enabled
  • bit 1: (0) Enable environmental effects / (1) Disable environmental effects
  • bit 2: (0) Local (uses radius) / (1) Global (ignores radius)
  • bit 3: (0) Sequential ambient selection / (1) Random ambient selection
  • bit 4: Unknown
  • bit 5: Unknown
  • bit 6: Unknown
  • bit 7: Unknown
0x0094 64 (bytes) Unknown


Variables can be associated with an area by specifying the six character area name as the variable namespace (e.g. AR1000). Variables associated with an area in this way are stored in the ARE file, in this section (in save games).

Offset Size (data type) Description
0x0000 32 (char array) Variable name
0x0020 8 (bytes) Unknown
0x0028 4 (dword) Variable value
0x002c 40 (bytes) Unknown


The explored bitmask is an array of bits, one bit for each 16x16 pixel cell on the map. A bit is set if the cell has been explored and clear if the cell has not been explored.


Doors in an ARE file are the "door" objects that the user interacts with, to be distinguished from the "door" objects in the WED file. The WED file deals with how the opening and closing of a door changes the appearance of the world. A door in an AREA file details what happens when the user tries to open the door - what polygon the mouse must be inside of in order for mouse clicks to affect the door in question. The two types of door objects are linked through the ID field in each - the 8-byte character array at 0x20.

Offset Size (data type) Description
0x0000 32 (char array) Name
0x0020 8 (char array) Door ID (to link with WED)
0x0028 4 (dword) Flags
  • bit 0: Door open
  • bit 1: Door locked
  • bit 2: Reset trap
  • bit 3: Trap detectable
  • bit 4: Broken
  • bit 5: Can't close
  • bit 6: Linked
  • bit 7: Door Hidden
  • bit 8: Door Found (if hidden)
  • bit 9: Don't block line of sight
  • bit 10: Remove Key (BG2 only)
  • bit 11: Slide
0x002c 4 (dword) Index of first vertex comprising the door outline (when open)
0x0030 2 (word) Count of vertices comprising the door outline (when open)
0x0032 2 (word) Count of vertices comprising the door outline (when closed)
0x0034 4 (dword) Index of first vertex comprising the door outline (when closed)
0x0038 8 (rect) Minimum bounding box of the door polygon (when open)
0x0040 8 (rect) Minimum bounding box of the door polygon (when closed)
0x0048 4 (dword) Index of first "vertex" in the impeded cell block (when closed). These are not actually vertices, they are instead cell coordinates (each cell corresponding to one tile in the WED file's tilemap structures. When the door is closed, these cells cannot be entered by any object.
0x004c 2 (word) Count of "vertices" in impeded cell block (when closed)
0x004e 2 (word) Count of "vertices" in impeded cell block (when open)
0x0050 4 (dword) Index of first "vertex" in the impeded cell block (when open). These are not actually vertices, they are instead cell coordinates (each cell corresponding to one tile in the WED file's tilemap structures. When the door is closed, these cells cannot be entered by any object.
0x0054 2 (word) Unknown
0x0056 2 (word) Unknown
0x0058 8 (resref) Door open sound
0x0060 8 (resref) Door close sound
0x0068 4 (dword) Cursor index (cursors.bam)
0x006c 2 (word) Trap detection difficulty
0x006e 2 (word) Trap removal difficulty
0x0070 2 (word) Door is trapped (0=No, 1=Yes)
0x0072 2 (word) Trap detected (0=No, 1=Yes)
0x0074 2 (word) Trap launch target X coordinate
0x0076 2 (word) Trap launch target Y coordinate
0x0078 8 (resref) Key item
0x0080 8 (resref) Door script
0x0088 4 (dword) Detection difficulty (secret doors)
0x008c 4 (dword) Lock difficulty (0-100)
0x0090 8 (rect) Two points. The player will move to the closest of these to toggle the door state.
0x0098 4 (strref) Lockpick string
0x009c 32 (bytes) Region link
0x00bc 4 (strref) Dialog name
0x00c0 8 (resref) Dialog resref


Offset Size (data type) Description
0x0000 32 (char array) Name
0x0020 2 (word) X coordinate
0x0022 2 (word) Y coordinate
0x0024 4 (dword) Animation appearence schedule. Bits 0-23 each represent an hour of game time. Setting a bit means the animation will appear in the area for the corresponding hour.
Hours are offset by 30 minutes as follows:
bit 23 = 23:30 to 00:29
bit 22 = 22:30 to 23:29
bit 21 = 21:30 to 22:29 (Night)
bit 20 = 20:30 to 21:29 (Dusk)
bit 19 = 19:30 to 20:29
bit 18 = 18:30 to 19:29
bit 17 = 17:30 to 18:29
bit 16 = 16:30 to 17:29
bit 15 = 15:30 to 16:29
bit 14 = 14:30 to 15:29
bit 13 = 13:30 to 14:29
bit 12 = 12:30 to 13:29
bit 11 = 11:30 to 12:29
bit 10 = 10:30 to 11:29
bit 9 = 09:30 to 10:29
bit 8 = 08:30 to 09:29
bit 7 = 07:30 to 08:29
bit 6 = 06:30 to 07:29 (Day)
bit 5 = 05:30 to 06:29 (Dawn)
bit 4 = 04:30 to 05:29
bit 3 = 03:30 to 04:29
bit 2 = 02:30 to 03:29
bit 1 = 01:30 to 02:29
bit 0 = 00:30 to 01:29
0x0028 8 (resref) Animation resref (BAM)
0x0030 2 (word) BAM sequence number
0x0032 2 (word) BAM frame number
0x0034 4 (dword) Flags
  • bit 0: (0) Animation disabled / (1) Animation enabled
  • bit 1: (0) Render black as black / (1) Render black as transparent
  • bit 2: (0) Self illumination / (1) Non-self illumination
  • bit 3: (0) Full animation / (1) Partial animation (stops at frame specified at 0x0032)
  • bit 4: (0) Non-synchronized draw / (1) Synchronized draw
  • bit 5: Unknown
  • bit 6: (0) Wall hides animation / (1) Wall doesn't hide animation
  • bit 7: (0) Visible in dark / (1) Invisible in dark
  • bit 8: (0) Cover / (1) Not cover
  • bit 9: (0) Don't play all frames / (1) Play all frames
  • bit 10: (0) Don't use palette bitmap / (1) Use palatte bitmap
  • bit 11: (0) Not mirrored / (1) Mirrored
  • bit 12: (0) Hide in combat / (1) Show in combat
  • bit 13: Unknown
  • bit 14: Unknown
  • bit 15: Unknown
0x0038 2 (word) Height (affects wall covering)
0x003a 2 (word) Transparency (0xFF is invisible)
0x003c 2 (word) Starting frame (0 indicates random frame. Synchronized will clear this)
0x003e 1 (byte) Chance of looping (0 defaults to 100)
0x003f 1 (byte) Skip cycles
0x0040 8 (resref) Palette
0x0048 4 (dword) Unknown


These are textual notes which are entered either automatically (PST) or by the player (BG1, BG2, IWD). Section size : 34h bytes.

Offset Size (data type) Description
0x0000 2 (word) X coordinate
0x0002 2 (word) Y coordinate
0x0004 4 (strref) Note text (dialog.tlk or TOH/TOT file)
0x0008 2 (word) Strref location (0=Extenal (TOH/TOT), 1=Internal (TLK)
0x000a 2 (word) (BG2) Colour of automap marker:
  • 0 - Gray (default value)
  • 1 - Violet
  • 2 - Green
  • 3 - Orange
  • 4 - Red
  • 5 - Blue
  • 6 - Dark Blue
  • 7 - Light Gray
0x000c 4 (dword) Note count + 10
0x0010 36 (bytes) Unknown

For PST:

Offset Size (data type) Description
0x0000 4 (dword) X coordinate
0x0004 4 (dword) Y coordinate
0x0008 500 (ASCII) Text
0x01fc 4 (dword) Note colour (0 = Blue user note, 1 = Red game note)
0x0200 5 * 4 (dword) Unknown


Offset Size (data type) Description
0x0000 32 (char array) Name
0x0020 8 (resref) Unknown
0x0028 4 (dword) Unknown
0x002c 4 (dword) Offset to open search squares
0x0030 4 (dword) Count of open search squares
0x0034 4 (dword) Offset to closed search squares
0x0038 4 (dword) Count of closed search squares
0x003c 48 (bytes) Unknown


This section stores information on saved projectiles (e.g. Skull Trap).
This section is 0x1A bytes in length.

Offset Size (data type) Description
0x0000 8 (resref) Projectile resref
0x0008 4 (dword) Effect block offset
0x000c 4 (dword) Effect block size
0x0010 4 (dword) Unknown
0x0014 2 (word) X coordinate
0x0016 2 (word) Y coordinate
0x0018 2 (word) Unknown


This sections determines which ACM files are played in certain situations. The length of this section is 90h bytes.

Offset Size (data type) Description
0x0000 4 (dword) Day song reference number
0x0004 4 (dword) Night song reference number
0x0008 4 (dword) Win song reference number
0x000c 4 (dword) Battle song reference number
0x0010 4 (dword) Lose song reference number
0x0014 4x5 (dword) Unknown
0x0028 8 (resref) Main day ambient 1 (WAV)
0x0030 8 (resref) Main day ambient 2 (WAV)
0x0038 4 (dword) Main day ambient volume %
0x003c 8 (resref) Main night ambient 1 (WAV)
0x0044 8 (resref) Main night ambient 2 (WAV)
0x004c 4 (dword) Main night ambient volume %
0x0050 4 (dword) Reverb from REVERB.IDS (if REVERB.IDS exists)
0x0054 60 (bytes) Unknown


This section determines the creatures that interupt party resting (e.g. soldiers in Athkatla that prevent rest when inside the city).
The section is E4h bytes in length.

Offset Size (data type) Description
0x0000 32 (bytes) Name
0x0020 4x10 (dword) Interruption explantion text
0x0048 8x10 (resref) Resref of creature to spawn
0x0098 2 (word) Count of creatures in spawn table
0x009a 2 (word) Unknown. Frequency? Difficulty?
0x009c 4 (dword) Unknown
0x00a0 2 (word) Unknown
0x00a2 2 (word) Unknown
0x00a4 2 (word) Maximum number of creatures to spawn
0x00a6 2 (word)
Unknown
0x00a8 2 (word) Probability (day)
0x00aa 2 (word) Probability (night)
0x00ac 56 (bytes)
Unknown