RELOAD common formats
This page documents some RELOAD-based data encodings that are used in multiple file formats.
Extra data vector[edit]
Holds an array/vector of extra data in run-length compressed format. Is always optional, if missing may fallback to some other obsolete extra data encoding, or else default to [0, 0, 0].
Used in Z and Slicetree_n_n.reld and L#Future format. The root node name differs in these file formats.
- extra/extravec int - The value is the length of the extra data array. The children encode at most length extra values in order from the first; fewer may be encoded in which case the missing ones default to 0. Each child is one of:
- int int - append an integer value
- repeat int - the previous value is repeated this many additional times. If there is no previous value, 0 is used.
For example:
<extra>6 <repeat>2</repeat> <int>10</int> <repeat>1</repeat> </extra>
is the array [0, 0, 10, 10, 0, 0]
ARCHINYM.LMP
. ATTACK.BIN
. BINSIZE.BIN
. BROWSE.TXT
. DEFPAL#.BIN
. DEFPASS.BIN
. distrib.reld
. FIXBITS.BIN
. general.reld
. heroes.reld
. heroform.reld
. LOOKUP1.BIN
. MENUITEM.BIN
. MENUS.BIN
. PALETTES.BIN
. PLOTSCR.LST
. SFXDATA.BIN
. SLICELOOKUP.TXT
. slicetree_#_#.reld
. SONGDATA.BIN
. UICOLORS.BIN
Map Format :
E
. D
. L
. N
. P
. T
. Z
BAM
. DOR
. DOX
. DT0
. DT1
. DT6
. EFS
. FNT
. FOR
. GEN
. HSP
. HSZ
. ITM
. MAP
. MAS
. MN
. MXS
. PAL
. PT0 ... PT8
. RGFX
. SAY
. SHO
. SNG
. STF
. STT
. TAP
. TIL
. TMN
. VEH