Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is the most useful information for many basic edits.

Data TypeNWN Explorer NameSize (in bytes)Value LimitsDescriptionNotes
BYTEUINT810 to 255Unsigned single byteSmallest unit to store so also used for booleans
WORDUINT1620 to 65535Unsigned integerUINT16 in Explorer
DWORDUINT3240 to 4294967296Unsigned integer
DWORD64
80 to roughly 18E18Unsigned integer
SHORT
2-32768 to 32767Signed integer
INTINT324-2147483648 to 2147483647Signed integer
INT64
8Roughly -9E18 to +9E18Signed integer
FLOATFLOAT4
Floating point value
DOUBLE
8
Double-precision floating point value
CExoLocString
variable

Localized string. Contains a StringRef DWORD, and a number of CExoStrings, each having their own language ID.


CExoStringSTRINGvariable
Non-localized stringCommonly used in the toolset (ie user set per-module)
CHAR
11 characterSingle character byte
CResRefRESREF1616 characters

Filename of a game resource. Max length is 16 characters. Unused characters are nulls.


VOID
variable
Variable-length arbitrary dataUsed to store things like sqlite data on BICs or Modules/Saves
StructENTRYvariable

A complex data type that can contain any number of any of the other data types, including other Structs.

Used to lay out data in the GFF, eg; level data in a BIC
ListLISTvariable
A list of Structs.
Binary
variable
Binary data