BNLL (Binary Nitro Label 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 layout elements. This is structured as follows:

OffsetTypeMeaning
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

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 01-May-2024 21:18 by Garhoogin