MREA (Metroid Prime 3): Difference between revisions

Jump to navigation Jump to search
no edit summary
>Aruki
>Aruki
No edit summary
Line 176: Line 176:
|-
|-
| <code>DEPS</code>
| <code>DEPS</code>
| Dependencies
| [[#Dependencies|Dependencies]]
| {{check}}
| {{check}}
| {{check}}
| {{check}}
Line 260: Line 260:
* '''Short UV Coordinates''': Only appears in Donkey Kong Country Returns; can be used for anything, not only lightmaps as in previous games.
* '''Short UV Coordinates''': Only appears in Donkey Kong Country Returns; can be used for anything, not only lightmaps as in previous games.
* '''Surfaces''': One section per surface.
* '''Surfaces''': One section per surface.
=== Dependencies ===
{{research|minor|How does this section work with SCGN?}}
This section is basically a list of all resources that this area depends on, not unlike a [[DGRP (File Format)|DGRP]] file. After the initial dependency list, there's a second array which provides a list of offsets into the dependency list. These offsets are used to indicate which dependencies are needed for individual script layers, with the last offset pointing to resources that are used by the area itself as a whole (world geometry textures and the [[#Path|PATH]]/[[#Portal Area|PTLA]]/[[#Static Geometry Map|EGMC]] assets).
{| class="wikitable"
! Type
! Count
! Name
! Notes
|-
| u32
| 1
| '''Dependency Count'''
| Count of dependencies in the next array.
|-
| [[#Dependency|Dependency]]
| ''Dependency Count''
| '''Dependency List'''
| List of resources used by this area.
|-
| u32
| 1
| '''Offset Count'''
| Count of offsets in the next array. Should be equal to the script layer count + 1.
|-
| u32
| ''Offset Count''
| '''Dependency List Offsets'''
| Each element is an offset into the dependency list to indicate where the dependencies for individual script layers begins. There's one offset per script layer, then the last offset points to resources used by the area itself outside of script layers.
|-
| colspan=5 {{unknown|End of dependencies section}}
|}
==== Dependency ====
{| class="wikitable"
! Offset
! Type
! Count
! Name
|-
! 0x0
| Asset ID
| 1
| '''Dependency Asset ID'''
|-
| 0x8
| char
| 4
| '''Dependency Asset Type'''
|-
| 0xC
| colspan=3 {{unknown|End of dependency}}
|}


[[Category:File Formats]]
[[Category:File Formats]]
[[Category:Metroid Prime 3: Corruption]]
[[Category:Metroid Prime 3: Corruption]]
[[Category:Donkey Kong Country Returns]]
[[Category:Donkey Kong Country Returns]]
Anonymous user

Navigation menu