HINT (File Format)

Revision as of 14:54, 27 January 2015 by >Aruki (→‎Hint)

The HINT format is used to manage the hint system, controlling what hints pop up, what they say, and where they point to.

This file format is almost completely documented
There are a couple unknown fields.

Format

Header

Offset Size Description
0x0 4 Magic; always 0x00BADBAD
0x4 4 Version; 1 in Prime/Echoes, 3 in Corruption
0x8 4 Hint count
0xC Hint entries start

Hint

Type Count Description Metroid Prime 1/2 Metroid Prime 3
string 1 Hint name
float 1 Unknown
float 1 Appear time; the amount of time that passes from when the hint is activated to when it appears on the HUD
u32/u64 1 Pop-up text STRG ID; u32 in Metroid Prime 1/2, u64 in Metroid Prime 3
u32 1 Unknown
u32 1 Unknown
u32 1 Target world MLVL ID; Note: Not in Metroid Prime 3
u32 1 Target room MREA ID; Note: Not In Metroid Prime 3
u32 1 Target room index; (position in MLVL file) Note: Not In Metroid Prime 3
u32 1 Map text STRG ID; Note: Not In Metroid Prime 3
End of entry