MLVL (File Format): Difference between revisions

man this page needs a reformatting
>Aruki
>Aruki
(man this page needs a reformatting)
Line 56: Line 56:
| u32
| u32
| 4
| 4
| {{unknown|'''Unknown'''}}
| '''Temple Key World Index'''
| {{nocheck}}
| {{nocheck}}
| {{check}}
| {{check}}
Line 200: Line 200:
| u8
| u8
| 1
| 1
| {{unknown|'''Unknown''' (always 0)}}
| '''Active'''
| {{check}}
| {{check}}
| {{nocheck}}
| {{nocheck}}
Line 230: Line 230:
| u32
| u32
| 4
| 4
| {{unknown|'''Unknown'''}}
| {{unknown|'''Unknown'''}}; always 1?
| {{check}}
| {{check}}
| {{nocheck}}
| {{nocheck}}
Line 456: Line 456:
|}
|}


==== .rel List ====
==== REL Module List ====


This section is only present in Echoes. It contains a list of .rel files used by the area. Like the dependencies, it is followed by an array of offsets to distinguish which .rels are used by which layers. There are two offsets per layer; the reason for this is currently unknown.
This section is only present in Echoes. It contains a list of .rel files used by the area. Like the dependencies, it is followed by an array of offsets to distinguish which .rels are used by which layers. There are two offsets per layer; the reason for this is currently unknown, but the second offset is essentially an end index.


{| class="wikitable"
{| class="wikitable"
Line 550: Line 550:
| {{check}}
| {{check}}
| {{nocheck}}
| {{nocheck}}
|}
=== Script Layer ===
In the MP1 demo, this script layer is used to store all docks across the entire world. In all other builds, this layer is always empty and unused. Unknown whether there's a way to actually use it (all attempts so far result in a crash).
{| class="wikitable"
! Type
! Size
! Description
! MP1
! MP2
! MP3
! DKCR
|-
|-
| u8
| u8
Line 561: Line 575:
| u32
| u32
| 4
| 4
| {{unknown|'''Unknown'''; always 0}}
| '''Instance Count'''; always 0
| {{check}}
| {{check}}
| {{check}}
| {{check}}
Anonymous user