MxHd: Difference between revisions

From LEGO Island Wiki
Jump to navigation Jump to search
(Created page with "The MxHd section is part of the Interleaf file standard. It's the global header that defines metadata about the Interleaf file itself. == Specification == {{Incomplet...")
 
(Defined buffer size and buffer count variables.)
Line 10: Line 10:
| "MxHd" || 0 || 4-byte data identifier
| "MxHd" || 0 || 4-byte data identifier
|-
|-
| Chunk Size || 4 || 4-byte integer specifying the size of this chunk minus the first 8 bytes (usually '''12''' or '''0xC''' for MxHd section)
| Chunk size || 4 || 4-byte integer specifying the size of this chunk minus the first 8 bytes (usually '''12''' or '''0xC''' for MxHd section)
|-
|-
| Major version || 2 || 2-byte integer specifying major version (always '''2''' in retail releases)
| Major version || 2 || 2-byte integer specifying major version (always '''2''' in retail releases)
Line 16: Line 16:
| Minor version || 2 || 2-byte integer specifying minor version (always '''2''' in retail releases)
| Minor version || 2 || 2-byte integer specifying minor version (always '''2''' in retail releases)
|-
|-
| ''Unknown'' || 8 || Unknown data
| Buffer size || 4 || 4-byte integer specifying the size of every data buffer
|-
| Buffer count || 4 || 4-byte integer specifying the number of data buffers
|}
|}

Revision as of 11:33, 17 April 2024

The MxHd section is part of the Interleaf file standard. It's the global header that defines metadata about the Interleaf file itself.

Specification

NOTE: This information is incomplete and requires more research and information.

Bytes Offset Description
"MxHd" 0 4-byte data identifier
Chunk size 4 4-byte integer specifying the size of this chunk minus the first 8 bytes (usually 12 or 0xC for MxHd section)
Major version 2 2-byte integer specifying major version (always 2 in retail releases)
Minor version 2 2-byte integer specifying minor version (always 2 in retail releases)
Buffer size 4 4-byte integer specifying the size of every data buffer
Buffer count 4 4-byte integer specifying the number of data buffers