CHR file format

Applies to:
IWD2

General Description
This file format describes an exported party member. The format consists of a CHR header, followed by a standard CRE file.

Detailed Description
Overall structure:
  • CHR file header
  • Internal CRE v.2.2 file header
  • Known spells section
  • Spell memorization info
  • Memorized spells section
  • Effects
  • Items section
  • "Item slots"


  • Offset Size (data type) Description
    0x0000 4 (char array) Signature ('CHR ')
    0x0004 4 (char array) Version ('V2.2')
    0x0008 32(string) Name of Protagonist/Player
    0x0028 4 (dword) Offset to CRE structure
    0x002c 4 (dword) Length of the CRE structure
    0x0030 2 (word) Quickweapon
    0x0032 2 (word) Quickshield
    0x0034 2 (word) Quickweapon
    0x0036 2 (word) Quickshield
    0x0038 2 (word) Quickweapon
    0x003a 2 (word) Quickshield
    0x003c 2 (word) Quickweapon
    0x003e 2 (word) Quickshield
    0x0040 2 (word) Slot usable
    0x0042 2 (word) Slot usable
    0x0044 2 (word) Slot usable
    0x0046 2 (word) Slot usable
    0x0048 2 (word) Slot usable
    0x004a 2 (word) Slot usable
    0x004c 2 (word) Slot usable
    0x004e 2 (word) Slot usable
    0x0050 8 (resref) Quickspell 1
    0x0058 8 (resref) Quickspell 2
    0x0060 8 (resref) Quickspell 3
    0x0068 8 (resref) Quickspell 4
    0x0070 8 (resref) Quickspell 5
    0x0078 8 (resref) Quickspell 6
    0x0080 8 (resref) Quickspell 7
    0x0088 8 (resref) Quickspell 8
    0x0090 8 (resref) Quickspell 9
    0x0098 1 (byte) Quickspell class
    0x0099 1 (byte) Quickspell class
    0x009a 1 (byte) Quickspell class
    0x009b 1 (byte) Quickspell class
    0x009c 1 (byte) Quickspell class
    0x009d 1 (byte) Quickspell class
    0x009e 1 (byte) Quickspell class
    0x009f 1 (byte) Quickspell class
    0x00a0 1 (byte) Quickspell class
    0x00a1 1 (byte) Unknown
    0x00a2 2 (word) Quickitem 1
    0x00a4 2 (word) Quickitem 2
    0x00a6 2 (word) Quickitem 3
    0x00a8 2 (word) Slot usable
    0x00aa 2 (word) Slot usable
    0x00ac 2 (word) Slot usable
    0x00ae 8 (resref) Quick innate
    0x00b6 8 (resref) Quick innate
    0x00be 8 (resref) Quick innate
    0x00c6 8 (resref) Quick innate
    0x00ce 8 (resref) Quick innate
    0x00d6 8 (resref) Quick innate
    0x00de 8 (resref) Quick innate
    0x00e6 8 (resref) Quick innate
    0x00ee 8 (resref) Quick innate
    0x00f6 4 (dword) Unknown
    0x00fa 4 (dword) Unknown
    0x00fe 4 (dword) Unknown
    0x0102 4 (dword) Unknown
    0x0106 4 (dword) Unknown
    0x010a 4 (dword) Unknown
    0x010e 4 (dword) Unknown
    0x0112 4 (dword) Unknown
    0x0116 4 (dword) Unknown
    0x011a 4 (dword) Unknown
    0x011e 4 (dword) Unknown
    0x0122 4 (dword) Unknown
    0x0126 4 (dword) Unknown
    0x012a 4 (dword) Unknown
    0x012e 4 (dword) Unknown
    0x0132 4 (dword) Unknown
    0x0136 4 (dword) Unknown
    0x013a 4 (dword) Unknown
    0x013e 4 (dword) Configurable quickslot 1
    0x0142 4 (dword) Configurable quickslot 2
    0x0146 4 (dword) Configurable quickslot 3
    0x014a 4 (dword) Configurable quickslot 4
    0x014e 4 (dword) Configurable quickslot 5
    0x0152 4 (dword) Configurable quickslot 6
    0x0156 4 (dword) Configurable quickslot 7
    0x015a 4 (dword) Configurable quickslot 8
    0x015e 4 (dword) Configurable quickslot 9
    0x0162 2 (word) Unknown
    0x0164 2 (word) Unknown
    0x0166 2 (word) Unknown
    0x0168 2 (word) Unknown
    0x016a 2 (word) Unknown
    0x016c 2 (word) Unknown
    0x016e 2 (word) Unknown
    0x0170 2 (word) Unknown
    0x0172 2 (word) Unknown
    0x0174 2 (word) Unknown
    0x0176 2 (word) Unknown
    0x0178 2 (word) Unknown
    0x017a 2 (word) Unknown
    0x017c 8 (resref) Soundset
    0x0184 20 (char array) Voiceset
    0x01a4 4 (dword) Unknown
    0x01a8 4 (dword) Unknown
    0x01ac 4 (dword) Unknown
    0x01b0 4 (dword) Unknown
    0x01b4 4 (dword) Unknown
    0x01b8 4 (dword) Unknown
    0x01bc 4 (dword) Unknown
    0x01c0 4 (dword) Unknown
    0x01c4 4 (dword) Unknown
    0x01c8 4 (dword) Unknown
    0x01cc 4 (dword) Unknown
    0x01d0 4 (dword) Unknown
    0x01d4 4 (dword) Unknown
    0x01d8 4 (dword) Unknown
    0x01dc 4 (dword) Unknown
    0x01e0 4 (dword) Unknown
    0x01e4 4 (dword) Unknown
    0x01e8 4 (dword) Unknown
    0x01ec 4 (dword) Unknown
    0x01f0 4 (dword) Unknown
    0x01f4 4 (dword) Unknown
    0x01f8 4 (dword) Unknown
    0x01fc 4 (dword) Unknown
    0x0200 4 (dword) Unknown
    0x0204 4 (dword) Unknown
    0x0208 4 (dword) Unknown
    0x020c 4 (dword) Unknown
    0x0210 4 (dword) Unknown
    0x0214 4 (dword) Unknown
    0x0218 4 (dword) Unknown
    0x021c 4 (dword) Unknown
    0x0220 4 (dword) Unknown

    CRE V2.2 File