WW:BMG
From CloudModding ZGCN Wiki
This page describes aspects of the BMG file format that are unique to Wind Waker, namely its use of message attributes and the tags that it defines. If you want to know how BMG in general, check the main page on the format.
Message Attributes
To do: Detail the attributes more, especially the unknown ones. |
Wind Waker defines 20 bytes of attributes for its messages, controlling how the message is displayed, where the camera is placed in the world during its display, and more. The attribute data for each INF1 entry is defined as follows:
Offset | Size | Meaning |
---|---|---|
0x00 | 2 | The message's ID. Presumably the same as what's defined in the MID1 section? |
0x02 | 2 | Contains the price of an item, for messages that ask the player to buy something. |
0x04 | 2 | ID of the next message in the chain. Requires some external state to be activated to actually have an effect. |
0x06 | 2 | Unknown |
0x08 | 1 | Determines the text box's style (presumably, its overall visual appearance) |
0x09 | 1 | Determines if the text is printed typewriter style or instantly. |
0x0A | 1 | Determines vertical position of message area. |
0x0B | 1 | Item ID, only used in Get Item messages. |
0x0C | 1 | Unknown, seemingly related to the Item ID. |
0x0D | 1 | ID of the sound to play when text printing begins. |
0x0E | 1 | Initial camera position. |
0x0F | 1 | Initial animation state of the message's speaker. |
0x10 | 1 | Unknown |
0x11 | 2 | Maximum number of lines of text per box. |
0x13 | 1 | Padding, presumably. |
Tags
To do: Actually collect and document the tags. |