Difference between revisions of "Sandbox"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | == Header | + | == Header == |
− | + | The LODI file format starts with a 0x74 byte header structure. | |
{| class="wikitable" | {| class="wikitable" | ||
− | ! Offset | + | |- |
− | ! Size | + | ! Offset !! Size !! Description |
− | ! Description | ||
|- | |- | ||
| 0x00 || 4 || "'''LODI'''" File identifier, ASCII string. | | 0x00 || 4 || "'''LODI'''" File identifier, ASCII string. | ||
Line 28: | Line 27: | ||
| 0x2C || 4 || ? | | 0x2C || 4 || ? | ||
|- | |- | ||
− | | 0x30 || 4 || Section offset, always 0xC00. | + | | 0x30 || 4 || Section 1 offset, always 0xC00. |
|- | |- | ||
| 0x34 || 4 || ? | | 0x34 || 4 || ? | ||
Line 51: | Line 50: | ||
|- | |- | ||
| 0x70 || 4 || Same as 0x64. | | 0x70 || 4 || Same as 0x64. | ||
+ | |} | ||
+ | |||
+ | == Section 1 == | ||
+ | Each entry is a 0x90 byte structure as follows. | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Offset !! Type !! Description | ||
+ | |- | ||
+ | | 0x0C || float || ? | ||
+ | |- | ||
+ | | 0x48 || vector || ? | ||
+ | |- | ||
+ | | 0x58 || vector || ? | ||
|} | |} |
Revision as of 02:09, 24 September 2014
Header
The LODI file format starts with a 0x74 byte header structure.
Offset | Size | Description |
---|---|---|
0x00 | 4 | "LODI" File identifier, ASCII string. |
0x04 | 4 | Always 0x3EF. |
0x08 | 4 | ? |
0x10 | 4 | Start of the file, always 0x00. |
0x14 | 4 | End of the file. |
0x18 | 4 | Section offset |
0x1C | 4 | ? |
0x20 | 4 | Section offset |
0x24 | 4 | ? |
0x28 | 4 | Section offset |
0x2C | 4 | ? |
0x30 | 4 | Section 1 offset, always 0xC00. |
0x34 | 4 | ? |
0x38 | 4 | Section offset |
0x3C | 4 | ? |
0x40 | 4 | BRRES / Textures section offset. |
0x44 | 4 | ? |
0x48 | 4 | Polygons? section offset. |
0x4C | 4 | ? |
0x60 | 4 | ? |
0x64 | 4 | File ID? |
0x68 | 4 | Same as 0x64. |
0x70 | 4 | Same as 0x64. |
Section 1
Each entry is a 0x90 byte structure as follows.
Offset | Type | Description |
---|---|---|
0x0C | float | ? |
0x48 | vector | ? |
0x58 | vector | ? |