In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "BRFNT files"

From WiiBrew
Jump to navigation Jump to search
(Incomplete documentation. I'll finish it later.)
(No difference)

Revision as of 12:44, 4 June 2010

This is incomplete.

Stores images of characters used to display text. Can be found in Mario Kart Wii and possibly others.

The file structure is composed by a header and sections. There always appears to be a FINF, TGLP and CWDH section along with one or more CMAP sections.

The file is not completely known.

The endianess is Big Endian.

BRFNT header

The header is 16 bytes long.

Offset Size Description
0x0000 4 "RFNT" (0x52464E54)
0x0004 2 Endian? (0xFEFF)
0x0006 2 Version? (0x0104)
0x0008 4 File Size
0x000C 2 Header Size? (0x0010)
0x000E 2 Number of Sections?

FINF section

Contains font information. 32 bytes long.

Offset Size Description
0x0000 4 "FINF" (0x46494E46)
0x0004 4 Size of this section (bytes from section beginning)