The ROB files found in Redguard's fxart directory are archives containing 3d models. There are 31 such files, one for each map, one for inventory models, one for menu models and PALATEST and TEMPTEST, which are presumeably test models.
Format DescriptionEdit
Each ROB file is composed of multiple 3D file structures, one following the other.
ROB File FormatEdit
Overall FormatEdit
The overall format of a ROB file is:
Header (36 bytes) Segments (variable sized)
All data is in Little Endian Byte Order unless specified.
ROB header structEdit
Name | DataType | Description |
---|---|---|
OARC | u8[4] | The string "OARC" |
Unknown1 | u32 | Unknown 4-byte value |
NumSegments | u32 | Number of segments to follow |
OARD | u8[4] | The string "OARD" |
Unknown2 | u32 | Unknown 4-byte value |
ROB segment structEdit
The ROB segment contains an 80-byte header. The ROB segment either contains a 3D file, or has a name referring to a separate 3DC file in the fxart directory.
Name | DataType | Description |
---|---|---|
Unknown1 | u32 | Unknown 4-byte value |
SegmentName | u8[8] | The string containing the model name |
Unknown2 | u32 | 0 if the segment contains a 3D file, 512 if it points to a 3DC file. |
Unknown3 | u32[15] | 15 unknown 4-byte values |
Size | u32 | The size of the segment. 0 if Unknown2 is 512. |
Data | u8[] | The 3D model data. Empty if Unknown2 is 512. |