5,389
edits
m (→Corpse chunks) |
m (→Header) |
||
Line 21: | Line 21: | ||
The total size of a header is thus 0x20 = 32 bytes. | The total size of a header is thus 0x20 = 32 bytes. | ||
;Example:'''00565-.CRSA''' in '''level3_Final.dat''' | ;Example:'''00565-.CRSA''' in '''level3_Final.dat''' | ||
{|border=1 cellspacing=0 | {|border=1 cellspacing=0 style="white-space:nowrap;background:#ffeedd" width=100% | ||
|+Header | |+Header of the corpse array | ||
|-style="background:#ffddbb" | |||
!Offset | !Offset | ||
!Raw hex/string | !Raw hex/string | ||
!Value | !Value | ||
!Meaning | !Meaning | ||
|- | |-align=center | ||
|0x00 | |0x00 | ||
|01 35 02 00 | | BGCOLOR="#FF0000"|01 35 02 00 | ||
|565 | |565 | ||
|File ID for 00565-.CRSA | |align=left|File ID for 00565-.CRSA | ||
|- | |-align=center | ||
|0x04 | |0x04 | ||
|01 00 00 06 | | BGCOLOR="#FFFF00" |01 00 00 06 | ||
|3 | |3 | ||
|Level ID | |align=left|Level ID | ||
|- | |-align=center | ||
|0x08<br>0x0C<br>0x010 | |0x08<br>0x0C<br>0x010 | ||
|AD DE AD DE<br>AD DE AD DE<br>AD DE AD DE | | BGCOLOR="#00FF00" |AD DE AD DE<br>AD DE AD DE<br>AD DE AD DE | ||
|DEAD | |DEAD | ||
|blank filler | |align=left|blank filler | ||
|- | |-align=center | ||
|0x14 | |0x14 | ||
|11 00 00 00 | | BGCOLOR="#00FFFF" |11 00 00 00 | ||
|17 | |17 | ||
|17 corpses (array size) | |align=left|17 corpses (array size) | ||
|- | |-align=center | ||
|0x18 | |0x18 | ||
|11 00 00 00 | | BGCOLOR="#FF00FF" |11 00 00 00 | ||
|17 | |17 | ||
|17 corpses (array size again) | |align=left|17 corpses (array size again) | ||
|- | |-align=center | ||
|0x1C | |0x1C | ||
|14 00 00 00 | | BGCOLOR="#FF8000" |14 00 00 00 | ||
|20 | |20 | ||
|Room for 20 corpses (array capacity) | |align=left|Room for 20 corpses (array capacity) | ||
|} | |} | ||