LEB: Difference between revisions

Jump to navigation Jump to search
104 bytes added ,  3 years ago
m
→‎Actor Data Section: added ending code
(Fleshed out info on data section structure)
m (→‎Actor Data Section: added ending code)
Line 57: Line 57:
The data section contains nine subsections. Only some of these have a known purpose so far.
The data section contains nine subsections. Only some of these have a known purpose so far.


==== Section 1 ====
====Section 1====
Appears to always consist of 0x2C bytes.
Appears to always consist of 0x2C bytes.
{| class="wikitable"
{| class="wikitable"
Line 86: Line 86:
|}
|}


==== Section 2 ====
====Section 2====
Unknown purpose. Always ends in <code>3D 01 01 00 00 00 00 FF FF FF FF FF</code>.
Unknown purpose. Always ends in <code>3D 01 01 00 00 00 00 FF FF FF FF FF</code>.


==== Section 3 ====
====Section 3====
Unknown purpose. Always ends in <code>3D 01 01 00 00 00 00 FF FF FF FF FF</code>.
Unknown purpose. Always ends in <code>3D 01 01 00 00 00 00 FF FF FF FF FF</code>.


===== Actor Entries Section =====
=====Actor Entries Section=====
This section is preceded by a u64 which specifies the length of the section in bytes.
This section is preceded by a u64 which specifies the length of the section in bytes.


Line 101: Line 101:
Where the last 4 bytes store the offset of each actor's data block in the actor data section.
Where the last 4 bytes store the offset of each actor's data block in the actor data section.


==== Actor Entry Offsets Section ====
====Actor Entry Offsets Section====
Similar to the regular FixedHash entry offsets section, but corresponding to the previous section (Actor Entries)
Similar to the regular FixedHash entry offsets section, but corresponding to the previous section (Actor Entries)


Line 169: Line 169:
|Unknown.
|Unknown.
|}
|}
Following all of these data blocks, the section ends with <code>00 00 00 00 3D 01 02 00 00 00 00 FF FF FF FF FF</code>.


=====Notes on Parameters for Specific Actors=====
=====Notes on Parameters for Specific Actors=====
'''ObjCaveRock:''' (and other blocks?), the first four parameters correspond to whether you can push them in a certain direction, ordered as RIGHT, LEFT, DOWN, UP. 0x0 is not pushable in that direction, 0x1 is pushable.
'''ObjCaveRock:''' (and other blocks?), the first four parameters correspond to whether you can push them in a certain direction, ordered as RIGHT, LEFT, DOWN, UP. 0x0 is not pushable in that direction, 0x1 is pushable.


==== Section 7 ====
====Section 7====
Unknown purpose. Usually short (16 bytes), but sometimes longer.
Unknown purpose. Usually short (16 bytes), but sometimes longer.


==== Section 8 ====
====Section 8====
Another section filled with entry-like data. The purpose of it is still unknown.
Another section filled with entry-like data. The purpose of it is still unknown.


==== Section 9 ====
====Section 9====
Preceded by a u32 specifying the length of this section. Contains a few strings in plain ASCII, usually <code>data</code> and <code>info</code>. The purpose of this is unknown.
Preceded by a u32 specifying the length of this section. Contains a few strings in plain ASCII, usually <code>data</code> and <code>info</code>. The purpose of this is unknown.


39

edits

Navigation menu