MLVL (File Format): Difference between revisions
Jump to navigation
Jump to search
m
→Audio Groups
>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 m (→Audio Groups) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 112: | Line 112: | ||
| [[SAVW (File Format)|SAVW]] | | [[SAVW (File Format)|SAVW]] | ||
| 4/8 | | 4/8 | ||
| ''' | | '''SaveWorld ID''' | ||
| {{check}} | | {{check}} | ||
| {{check}} | | {{check}} | ||
Line 120: | Line 120: | ||
| [[CMDL (File Format)|CMDL]] | | [[CMDL (File Format)|CMDL]] | ||
| 4/8 | | 4/8 | ||
| '''World skybox | | '''World skybox CMDL ID''' | ||
| {{check}} | | {{check}} | ||
| {{check}} | | {{check}} | ||
Line 189: | Line 189: | ||
|- | |- | ||
| 0x8 | | 0x8 | ||
| | | u16 | ||
| 2 | | 2 | ||
| '''Message''' | | '''Message''' | ||
Line 197: | Line 197: | ||
| {{nocheck}} | | {{nocheck}} | ||
|- | |- | ||
| | | 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 | 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 | | '''Attached area index count''' (AC) | ||
| {{check}} | | {{check}} | ||
| {{check}} | | {{check}} | ||
Line 606: | Line 606: | ||
|} | |} | ||
There's | 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 | ||
|- | |- | ||
| u8 | | u8 | ||
Line 700: | Line 692: | ||
|} | |} | ||
==== | ==== 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 | ||
| '''Layer ID count''' (IC) | |||
| {{nocheck}} | | {{nocheck}} | ||
| {{nocheck}} | | {{nocheck}} | ||
Line 721: | Line 713: | ||
| {{check}} | | {{check}} | ||
|- | |- | ||
| | | u128 | ||
| 0x10 × | | 0x10 × IC | ||
| '''Layer ID''' | |||
| {{nocheck}} | | {{nocheck}} | ||
| {{nocheck}} | | {{nocheck}} |