Difference between revisions of "User:Claris/Sandbox"

From Retro Modding Wiki
Jump to: navigation, search
(Rooms)
Line 93: Line 93:
  
 
Should "room" be changed to "area"?
 
Should "room" be changed to "area"?
 +
: IMO yes. --[[User:Parax0|Parax0]] ([[User talk:Parax0|talk]]) 07:34, 26 January 2015 (CST)
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 08:34, 26 January 2015

.MLVL description here.

Note that file IDs are 4 bytes in Prime/Echoes and 8 bytes in Corruption/Returns.

Morphball wirerender.png This file format needs more research
Reason

Header

Size Description Games
0x4 Magic Number 0xDEAFBABE All
0x4 File Version All
0x4/0x8 World Name .STRG All
0x4 Dark World Name .STRG Echoes
0x4 ? Echoes/Corruption
0x1 Boolean, checks whether the next two values exist Returns
? Level Number string (zero-terminated) Returns
0x10 4 floats Returns
0x4/0x8 World .SAVW All
0x4/0x8 World Skybox .CMDL All

Memory Relays (Prime only)

Size Description Games
0x4 Memory Relay count Prime

For each memory relay:

Size Description Games
0x4 Memory Relay Instance ID Prime
0x4 Connected Instance ID Prime
0x3 ? Prime

Rooms

Should "room" be changed to "area"?

IMO yes. --Parax0 (talk) 07:34, 26 January 2015 (CST)
Size Description Games
0x4 Room count All
0x4 ? Prime

For each room:

Size Description Games
0x4/0x8 Room Name .STRG All
0x30 Transformation Matrix All
0x18 Axis Aligned Bounding Box All
0x4/0x8 Room .MREA All
0x4/0x8 Room ID (used by layer-switching objects) All
0x4 Connected room count (CC) Prime/Echoes/Corruption
0x2 x CC Connected room numbers Prime/Echoes/Corruption