Evhb: Difference between revisions
Jump to navigation
Jump to search
imported>Leoetlino mNo edit summary |
imported>Leoetlino |
||
| Line 16: | Line 16: | ||
|0x4 | |0x4 | ||
|u32 | |u32 | ||
|Version | |Version (1, unchecked) | ||
|- | |- | ||
|0x8 | |0x8 | ||
Revision as of 13:51, 27 October 2019
| File format | |
|---|---|
| Endianness | {{{endianness}}} |
| This article is about the file format in general. For actual values, check the game RomFS. | |
evhb is a format for storing event actor hierarchy information for event flows.
Format
Header
| Offset | Type | Description |
|---|---|---|
| 0x0 | char[4] | Magic (evhb or EVHB)
|
| 0x4 | u32 | Version (1, unchecked) |
| 0x8 | u32 | Number of entries |
| 0xC | u32 | Padding |
All offsets are validated by the game. Strangely enough, some of the checks and relocation are skipped when the magic is EVHB.
Entry
| Offset | Type | Description |
|---|---|---|
| 0x0 | const char* | Event actor name |
| 0x8 | u32 | Event actor name length |
| 0xC | int | Index of parent event actor (-1 if none) |