BNLL (Binary Nitro Letter Layout) are jnlib layout files that define the layout of rendered text on the screen. It has a file signature of "JNLL".
Following the file header is a series of message layout elements. This is structured as follows:
Offset | Type | Meaning |
---|---|---|
0x00 | u16 | X coordinate/origin |
0x02 | u16 | Y coordinate/origin |
0x04 | s8 | Horizontal space |
0x05 | s8 | Vertical space |
0x06 | u16 | Text attributes |
0x08 | u16 * | Pointer to text. In the file this is relative to the beginning of the string pool that immediately follows the layout element array. These strings may be overridden at runtime to render text from a BMG file. |
The text attributes take the following format:
FFFF PPPP CCCCCCCC | | | | | +------- Text color | +------------ Color palette +----------------- Text font
For BNLL files, the text alignment field for the X coordinate is used to align the rendered text horizontally.
Add new attachment
Only authorized users are allowed to upload new attachments.
«
This page (revision-2) was last changed on 22-Jan-2025 20:18 by Garhoogin
JSPWiki v2.10.4