MxCh: Difference between revisions

43 bytes removed ,  2 May 2019
no edit summary
No edit summary
No edit summary
Line 7: Line 7:
{{Incomplete}}
{{Incomplete}}


The MxCh header is 22 bytes long and specifies the length of the chunk with other data.
The MxCh header is 22 bytes long and specifies the length of the chunk with other data. MxCh chunks must start on an even offset or they will not be skipped by LEGO Island.


{| class="wikitable"
{| class="wikitable"
Line 17: Line 17:
| Chunk Size || 4 || 4-byte integer specifying the size of this chunk minus the first 8 bytes
| Chunk Size || 4 || 4-byte integer specifying the size of this chunk minus the first 8 bytes
|-
|-
| ''Flags?'' || 8 || 2-bytes whose purpose are not completely clear, but appear to be some kind of flags (16 appears to mean it's a "split" chunk and 2 appears to mean it's an ending chunk. Ending chunks have no data).
| ''Flags?'' || 8 || 2-bytes that appear to have set flags about the chunk
|-
|-
| ID || 10 || 4-byte integer that identifies which MxOb this belongs to.
| ID || 10 || 4-byte integer that identifies which MxOb this belongs to.
Line 27: Line 27:
| Data || 22 || Arbitrary data no more than "Chunk Size - 14" in bytes (14 for the 22-byte header minus the first 8 bytes)
| Data || 22 || Arbitrary data no more than "Chunk Size - 14" in bytes (14 for the 22-byte header minus the first 8 bytes)
|}
|}
=== Flags ===


=== Split Chunk ===
=== Split Chunk ===