Evhb

From ZeldaMods (Link's Awakening)
Jump to navigation Jump to search
evhb
File format
Magic evhb
Endianness little
Version 1
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)