MLVL (File Format): Difference between revisions

Jump to navigation Jump to search
m
>Aruki
(→‎Format: I was finding it too difficult to tell at a glance what data was in one particular version of the format so I decided to add the game columns to every table)
>Aruki
(4 intermediate revisions by 2 users not shown)
Line 112: Line 112:
| [[SAVW (File Format)|SAVW]]
| [[SAVW (File Format)|SAVW]]
| 4/8
| 4/8
| '''World save settings'''
| '''SaveWorld ID'''
| {{check}}
| {{check}}
| {{check}}
| {{check}}
Line 120: Line 120:
| [[CMDL (File Format)|CMDL]]
| [[CMDL (File Format)|CMDL]]
| 4/8
| 4/8
| '''World skybox model'''
| '''World skybox CMDL ID'''
| {{check}}
| {{check}}
| {{check}}
| {{check}}
Line 189: Line 189:
|-
|-
| 0x8
| 0x8
| u32
| u16
| 2
| 2
| '''Message'''
| '''Message'''
Line 197: Line 197:
| {{nocheck}}
| {{nocheck}}
|-
|-
| 0x9
| 0x10
| u8
| u8
| 1
| 1
Line 280: Line 280:
| {{check}}
| {{check}}
|-
|-
| u32
| u32/u64
| 4/8
| 4/8
| '''Area ID'''; used by layer-switching objects
| '''Area ID'''; used by layer-switching objects
Line 291: Line 291:
==== Attached Areas ====
==== Attached Areas ====


This part contains a small table listing what areas within the world are attached (connected) to this one. This is done by using indices into the MLVL's area table; so an index if 0 indicates the first area listed in the MLVL, for example.
This part contains a small table listing what areas within the world are attached (connected) to this one. This is done by using indices into the MLVL's area table; so an index of 0 indicates the first area listed in the MLVL, for example.


{| class="wikitable"
{| class="wikitable"
Line 304: Line 304:
| u32
| u32
| 4
| 4
| '''Attached area ID count''' (AC)
| '''Attached area index count''' (AC)
| {{check}}
| {{check}}
| {{check}}
| {{check}}
Line 606: Line 606:
|}
|}


There's two values following this, at the end of the AGSC table.
There's one byte following this, at the end of the AGSC table.


{| class="wikitable"
{| class="wikitable"
Line 616: Line 616:
! MP3
! MP3
! DKCR
! DKCR
|-
| u32
| 4
| {{unknown|'''Unknown'''; always 0}}
| {{check}}
| {{nocheck}}
| {{nocheck}}
| {{nocheck}}
|-
|-
| u8
| u8
Line 700: Line 692:
|}
|}


==== Unknown Array ====
==== Layer IDs ====


This array is only present in Prime 3 and DKCR.
This array is only present in Prime 3 and DKCR, and is used by layer-switching objects.


{| class="wikitable"
{| class="wikitable"
Line 715: Line 707:
| u32
| u32
| 4
| 4
| {{unknown|'''Unknown count'''}} (UC)
| '''Layer ID count''' (IC)
| {{nocheck}}
| {{nocheck}}
| {{nocheck}}
| {{nocheck}}
Line 721: Line 713:
| {{check}}
| {{check}}
|-
|-
| unknown struct
| u128
| 0x10 × UC
| 0x10 × IC
| {{unknown|'''Unknown struct array'''}}
| '''Layer ID'''
| {{nocheck}}
| {{nocheck}}
| {{nocheck}}
| {{nocheck}}
Anonymous user

Navigation menu