Scheduled system upgrade on Sunday 21 April 2024 15:00-16:00 UTC - On that day, the wiki and other services might go down for 5-15 minutes.

Evhb

From ZeldaMods (Link's Awakening)
Revision as of 13:55, 27 October 2019 by imported>Leoetlino
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)