Difference between revisions of "Sandbox"

From Custom Mario Kart
Jump to navigation Jump to search
m
Line 2: Line 2:
 
This is the general layout for a LODI header:
 
This is the general layout for a LODI header:
 
{| class="wikitable"
 
{| class="wikitable"
|+ File header of a KMP file
+
|+ File header of a LODI file
 
|-
 
|-
 
! Offset !! Size !! Description
 
! Offset !! Size !! Description
 
|-
 
|-
 
| 0x00 || 4 || File magic, always 'LODI' in ASCII
 
| 0x00 || 4 || File magic, always 'LODI' in ASCII
 +
|-
 +
| 0x20 || 4 || Section offset
 +
|-
 +
| 0x24 || 4 || ?
 +
|-
 +
| 0x28 || 4 || Section offset
 +
|-
 +
| 0x2C || 4 || ?
 +
|-
 +
| 0x30 || 4 || Section offset
 +
|-
 +
| 0x34 || 4 || ?
 +
|-
 +
| 0x38 || 4 || Section offset
 +
|-
 +
| 0x3C || 4 || ?
 
|-
 
|-
 
| 0x40 || 4 || [[BRRES]] section offset
 
| 0x40 || 4 || [[BRRES]] section offset
Line 12: Line 28:
 
| 0x44 || 4 || ?
 
| 0x44 || 4 || ?
 
|-
 
|-
| 0x48 || 4 || Polygon section offset?
+
| 0x48 || 4 || Section offset
 
|-
 
|-
| 0x4B || 4 || ?
+
| 0x4C || 4 || ?
 
|-
 
|-
 
|}
 
|}

Revision as of 21:37, 21 September 2014

File Header

This is the general layout for a LODI header:

File header of a LODI file
Offset Size Description
0x00 4 File magic, always 'LODI' in ASCII
0x20 4 Section offset
0x24 4 ?
0x28 4 Section offset
0x2C 4 ?
0x30 4 Section offset
0x34 4 ?
0x38 4 Section offset
0x3C 4 ?
0x40 4 BRRES section offset
0x44 4 ?
0x48 4 Section offset
0x4C 4 ?