14
edits
Owen-Splat (talk | contribs) m (Fix typo) |
Owen-Splat (talk | contribs) (Update zone entry data for LVB) |
||
Line 6: | Line 6: | ||
'''LVB''' files are in a [[FixedHash]] format | '''LVB''' files are in a [[FixedHash]] format | ||
===Entries | ===Entries=== | ||
There are 8 entries in most LVB files. | There are 8 entries in most LVB files. | ||
===Node Section=== | ====Node Section==== | ||
This is a FixedHashed child. Not yet understood. | This is a FixedHashed child. Not yet understood. | ||
===Area Section=== | ====Area Section==== | ||
This is a FixedHashed child. Not yet understood. | This is a FixedHashed child. Not yet understood. | ||
===Zone Section=== | ====Zone Section==== | ||
This is a FixedHashed child. | This is a FixedHashed child. It contains an entry for each room where a room is defined by the camera bounds. As such, this likely defines the actual properties of each room. These all seem to be consistent with the exception being Field, which contains several entries and different room IDs. It appears to define each region instead. | ||
{| class="wikitable" | |||
|+ | |||
!Offset | |||
!Type | |||
!Description | |||
|- | |||
|0x0 | |||
|u32 | |||
|'''Room ID''' Actors load when entering the specified room and unload when leaving it. Generally this should be consistent across all actors in the file, since each room has its own file. | |||
|- | |||
|0x3C | |||
|String[32] | |||
|'''BGM''' Defines which background music to play. Example: ''BGM_CAVE'' | |||
|- | |||
|0x5C | |||
|String[32] | |||
|'''SE_AMB''' Defines which sound effect ambience to play. Example: ''SE_AMB_DUNGEON1_BG'' | |||
|- | |||
|0x7C | |||
|String[32] | |||
|'''GROUP_AMB''' Defines which group ambience to play. Example: ''GROUP_AMB_DUNGEON1'' | |||
|- | |||
|0xB0 | |||
|String[32] | |||
|'''ROOM TYPE?''' Unknown what this means. Example: ''DungeonSmall'' | |||
|} | |||
===tagPlayerStart Section=== | ====tagPlayerStart Section==== | ||
This is a FixedHashed child. There is an entry for every tagPlayerStart actor, with the entry name being the room. | This is a FixedHashed child. There is an entry for every tagPlayerStart actor, with the entry name being the room. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 34: | Line 60: | ||
|} | |} | ||
===staticObject Section=== | ====staticObject Section==== | ||
This is a FixedHashed child. Not yet understood. | This is a FixedHashed child. Not yet understood. | ||
===Condition Section=== | ====Condition Section==== | ||
Not yet understood. | Not yet understood. | ||
===Config Section=== | ====Config Section==== | ||
Holds 7 bytes of data. The last 5 bytes always seem to be x00\x00\x00\x00\xff. Only the first 2 bytes seem to change, and there does appear to be a pattern with | Holds 7 bytes of data. The last 5 bytes always seem to be x00\x00\x00\x00\xff. Only the first 2 bytes seem to change, and there does appear to be a pattern with level types. | ||
===Version Section=== | ====Version Section==== | ||
Holds 3 bytes of data, which seem to always be 0x100182. Given the name, it's probably just a version marker and has no functional purpose. | Holds 3 bytes of data, which seem to always be 0x100182. Given the name, it's probably just a version marker and has no functional purpose. |
edits