<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.wexosmk.xyz/index.php?action=history&amp;feed=atom&amp;title=BRLYT_%28File_Format%29</id>
	<title>BRLYT (File Format) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.wexosmk.xyz/index.php?action=history&amp;feed=atom&amp;title=BRLYT_%28File_Format%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=BRLYT_(File_Format)&amp;action=history"/>
	<updated>2026-05-06T17:00:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.wexosmk.xyz/index.php?title=BRLYT_(File_Format)&amp;diff=145&amp;oldid=prev</id>
		<title>Wexos: Imported from avsys wiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=BRLYT_(File_Format)&amp;diff=145&amp;oldid=prev"/>
		<updated>2024-05-01T17:19:15Z</updated>

		<summary type="html">&lt;p&gt;Imported from avsys wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;BRLYT&amp;#039;&amp;#039;&amp;#039; files (&amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039;inary &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;evolution &amp;#039;&amp;#039;&amp;#039;L&amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;Y&amp;#039;&amp;#039;&amp;#039;ou&amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039;) are the files used as layout in the [[Wii]] system. They manage how the UI [[TPL]] images show in the game, with specified flags such as material settings, colors, positions, size, rotations and more. BRLYT files are used with [[BRLAN]] animations, [[BRFNT]] fonts and also with [[BRCTR]] files in [[Mario Kart Wii]].&lt;br /&gt;
&lt;br /&gt;
= File Format=&lt;br /&gt;
== Header ==&lt;br /&gt;
The file starts with a header that is 0x10 bytes long:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;File magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;RLYT&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt16 || {{BOM}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x06 || UInt16 || &amp;#039;&amp;#039;&amp;#039;Version number&amp;#039;&amp;#039;&amp;#039; of the file format. Only seen as 00 0A.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || UInt32 || Length of the file in bytes.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || UInt16 || Length of this header in bytes.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0E || UInt16 || Number of sections.&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || colspan=2 {{Unknown|End of file header}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After the header follows the sections. BRLYT files constist of many different sections. The section can be identified by checking the first four bytes; it is a magic that identifies the section.&lt;br /&gt;
&lt;br /&gt;
== lyt1 ==&lt;br /&gt;
The &amp;#039;&amp;#039;lyt1&amp;#039;&amp;#039; sections comes directly after the header and defines the main layout.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;lyt1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Section size.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || Byte || Is Centered.&lt;br /&gt;
|-&lt;br /&gt;
| 0x09 || Byte[3] || {{Unknown-left|Padding?}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || Float || Width of the layout.&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || Float || Height of the layout.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== usd1 ==&lt;br /&gt;
The &amp;#039;&amp;#039;usd1&amp;#039;&amp;#039; section stores user data info defined by the user. The section occurs when a [[#Panes|pane]] has user data stored and then it comes after that section. The section starts with a header as follows:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Information&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;usd1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Section size.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || UInt16 || Number of user data entries.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || UInt16 || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;. Always 00 00.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
; Entries&lt;br /&gt;
An entry can store a string, multiple Int32s or multiple floats. All these entries comes after the header, and then the actual data is stored. Each entry is a structure as follows:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Name offset&amp;#039;&amp;#039;&amp;#039;. Points to a null-terminated string which is the name of this entry. Relative to the start of this entry.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Data offset&amp;#039;&amp;#039;&amp;#039;. Points to the data of this entry. Relative to the start of this entry.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || UInt16 || &amp;#039;&amp;#039;&amp;#039;Number of entries&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;length&amp;#039;&amp;#039;&amp;#039; if the string if the data is a string.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || Byte || Type. 0 = String, 1 = Int32, 2 = Float&lt;br /&gt;
|-&lt;br /&gt;
| 0x0B || Byte || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;. Always 00.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
These sections contains info about resources. They are always specified after the [[#lyt|lyt section]] in the order as follows. If a section is not needed (it doesn&amp;#039;t contain any entries), then the section is not written to the file.&lt;br /&gt;
&lt;br /&gt;
=== txl1 ===&lt;br /&gt;
The &amp;#039;&amp;#039;txl1&amp;#039;&amp;#039; sections stores [[TPL]] filenames. The section starts with a header:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;txl1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Section size.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || UInt16 || Number of [[TPL]] filenames.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || UInt16 || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;. Always 00 00.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After this section header comes the offsets to the strings. Each entry has the following structure.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || UInt32 || Offset to a &amp;#039;&amp;#039;&amp;#039;[[TPL]] filename&amp;#039;&amp;#039;&amp;#039; which is stored as a null-terminated string. Relative to the start of the txl1 section.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Padding.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== mat1 ===&lt;br /&gt;
The &amp;#039;&amp;#039;mat1&amp;#039;&amp;#039; section holds data about materials used in the layout. The section starts with a header:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;mat1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Section size.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || UInt16 || &amp;#039;&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039;= Number of &amp;#039;&amp;#039;&amp;#039;materials&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || UInt16 || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;. Always 00 00.}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || UInt32[&amp;#039;&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039;] || Offsets to the &amp;#039;&amp;#039;&amp;#039;materials&amp;#039;&amp;#039;&amp;#039;. Relative to the start of this section.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Each material is the following structure:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || String || &amp;#039;&amp;#039;&amp;#039;Material name&amp;#039;&amp;#039;&amp;#039;. The length is always 0x14, unused bytes are set to 00.&lt;br /&gt;
|-&lt;br /&gt;
| 0x14 || Int16[4] || &amp;#039;&amp;#039;&amp;#039;Fore Color&amp;#039;&amp;#039;&amp;#039; in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C || Int16[4] || &amp;#039;&amp;#039;&amp;#039;Back Color&amp;#039;&amp;#039;&amp;#039; in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x24 || Int16[4] || &amp;#039;&amp;#039;&amp;#039;Color Register 3&amp;#039;&amp;#039;&amp;#039; in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x2C || Byte[4] || &amp;#039;&amp;#039;&amp;#039;TEV Color 1&amp;#039;&amp;#039;&amp;#039; in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x30 || Byte[4] || &amp;#039;&amp;#039;&amp;#039;TEV Color 2&amp;#039;&amp;#039;&amp;#039; in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x34 || Byte[4] || &amp;#039;&amp;#039;&amp;#039;TEV Color 3&amp;#039;&amp;#039;&amp;#039; in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x38 || Byte[4] || &amp;#039;&amp;#039;&amp;#039;TEV Color 4&amp;#039;&amp;#039;&amp;#039; in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x3C || UInt32 || &amp;#039;&amp;#039;&amp;#039;Flags&amp;#039;&amp;#039;&amp;#039; that set which material structures that come after this structure.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== fnl1 ===&lt;br /&gt;
The &amp;#039;&amp;#039;fnl1&amp;#039;&amp;#039; section is a list of fonts.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;fnl1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Section size.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || UInt16 || &amp;#039;&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039; = Number of &amp;#039;&amp;#039;&amp;#039;fonts&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || UInt16 || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;. Always 00 00.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After this section header comes the offsets to the strings. Each entry has the following structure.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || UInt32 || Offset to a &amp;#039;&amp;#039;&amp;#039;font filename&amp;#039;&amp;#039;&amp;#039; which is stored as a null-terminated string. Relative to the start of the fnl1 section.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Padding.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Panes ==&lt;br /&gt;
=== pan1 ===&lt;br /&gt;
The &amp;#039;&amp;#039;pan1&amp;#039;&amp;#039; section contains information about a null pane. All panes should children to a null pane. In [[Mario Kart Wii]] this pane is always called &amp;quot;RootPane&amp;quot;. The null doesn&amp;#039;t show up in game, but it can be animated so that all children to it are also animated.&lt;br /&gt;
All other panes uses the same structure, but after this more data comes. The section has the following structure:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;pan1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Section size.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || Byte || Flag.&lt;br /&gt;
|-&lt;br /&gt;
| 0x09 || Byte || Flag.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || Byte || Alpha.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0B || Byte || Padding.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || String || &amp;#039;&amp;#039;&amp;#039;Pane name&amp;#039;&amp;#039;&amp;#039;. The length is always 0x10, unused bytes are set to 00.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C || String || User information, stored as a string.&lt;br /&gt;
|-&lt;br /&gt;
| 0x24 || Float[3] || Translation.&lt;br /&gt;
|-&lt;br /&gt;
| 0x30 || Float[3] || Rotation.&lt;br /&gt;
|-&lt;br /&gt;
| 0x3C || Float[2] || Scale.&lt;br /&gt;
|-&lt;br /&gt;
| 0x44 || Float || Width of the pane.&lt;br /&gt;
|-&lt;br /&gt;
| 0x48 || Float || Height of the pane.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== pas1 ===&lt;br /&gt;
The &amp;#039;&amp;#039;pas1&amp;#039;&amp;#039; section is used as start of pane children data, after this section other panes can be defined as children. [[#pae1|pae1]] ends it.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;pas1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Section size.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== pae1 ===&lt;br /&gt;
The &amp;#039;&amp;#039;pae1&amp;#039;&amp;#039; section is used to end pane children. [[#pas1|pas1]] starts it.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;pae1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Section size.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== pic1 ===&lt;br /&gt;
The &amp;#039;&amp;#039;pic1&amp;#039;&amp;#039; section defines a simple image pane.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;pic1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Section size.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || Byte || Flag.&lt;br /&gt;
|-&lt;br /&gt;
| 0x09 || Byte || Flag.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || Byte || Alpha.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0B || Byte || Padding.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || String || &amp;#039;&amp;#039;&amp;#039;Pane name&amp;#039;&amp;#039;&amp;#039;. The length is always 0x10, unused bytes are set to 00.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C || String || User information, stored as a string.&lt;br /&gt;
|-&lt;br /&gt;
| 0x24 || Float[3] || Translation.&lt;br /&gt;
|-&lt;br /&gt;
| 0x30 || Float[3] || Rotation.&lt;br /&gt;
|-&lt;br /&gt;
| 0x3C || Float[2] || Scale.&lt;br /&gt;
|-&lt;br /&gt;
| 0x44 || Float || Width of the pane.&lt;br /&gt;
|-&lt;br /&gt;
| 0x48 || Float || Height of the pane.&lt;br /&gt;
|-&lt;br /&gt;
| 0x4C || Byte[4] || &amp;#039;&amp;#039;&amp;#039;Top left&amp;#039;&amp;#039;&amp;#039; vertex color of the pane in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x50 || Byte[4] || &amp;#039;&amp;#039;&amp;#039;Top right&amp;#039;&amp;#039;&amp;#039; vertex color of the pane in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x54 || Byte[4] || &amp;#039;&amp;#039;&amp;#039;Bottom left&amp;#039;&amp;#039;&amp;#039; vertex color of the pane in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x58 || Byte[4] || &amp;#039;&amp;#039;&amp;#039;Bottom right&amp;#039;&amp;#039;&amp;#039; vertex color of the pane in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x5C || UInt16 || [[#mat1|Material index]].&lt;br /&gt;
|-&lt;br /&gt;
| 0x5E || Byte || Number of [[#UV coordinate set|UV sets]].&lt;br /&gt;
|-&lt;br /&gt;
| 0x5F || Byte || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After that the [[#UV coordinate set|UV sets]] are specified.&lt;br /&gt;
&lt;br /&gt;
=== bnd1 ===&lt;br /&gt;
The &amp;#039;&amp;#039;bnd1&amp;#039;&amp;#039; section specifies a boundary pane. Its purpose is to delimit the cursor interaction with buttons and the structure is the same as a [[#pan1|pan1 pane]].&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;bnd1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Section size.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || Byte || Flag.&lt;br /&gt;
|-&lt;br /&gt;
| 0x09 || Byte || Flag.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || Byte || Alpha.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0B || Byte || Padding.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || String || &amp;#039;&amp;#039;&amp;#039;Pane name&amp;#039;&amp;#039;&amp;#039;. The length is always 0x10, unused bytes are set to 00.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C || String || User information, stored as a string.&lt;br /&gt;
|-&lt;br /&gt;
| 0x24 || Float[3] || Translation.&lt;br /&gt;
|-&lt;br /&gt;
| 0x30 || Float[3] || Rotation.&lt;br /&gt;
|-&lt;br /&gt;
| 0x3C || Float[2] || Scale.&lt;br /&gt;
|-&lt;br /&gt;
| 0x44 || Float || Width of the pane.&lt;br /&gt;
|-&lt;br /&gt;
| 0x48 || Float || Height of the pane.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== txt1 ===&lt;br /&gt;
The &amp;#039;&amp;#039;txt1&amp;#039;&amp;#039; section contains information about a textbox pane. It also stores the text but in [[Mario Kart Wii]] it&amp;#039;s useless because the text is loaded from a [[BMG]] file instead.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;txt1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Section size.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || Byte || Flag.&lt;br /&gt;
|-&lt;br /&gt;
| 0x09 || Byte || Flag.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || Byte || Alpha.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0B || Byte || Padding.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || String || &amp;#039;&amp;#039;&amp;#039;Pane name&amp;#039;&amp;#039;&amp;#039;. The length is always 0x10, unused bytes are set to 00.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C || String || User information, stored as a string.&lt;br /&gt;
|-&lt;br /&gt;
| 0x24 || Float[3] || Translation.&lt;br /&gt;
|-&lt;br /&gt;
| 0x30 || Float[3] || Rotation.&lt;br /&gt;
|-&lt;br /&gt;
| 0x3C || Float[2] || Scale.&lt;br /&gt;
|-&lt;br /&gt;
| 0x44 || Float || Width of the pane.&lt;br /&gt;
|-&lt;br /&gt;
| 0x48 || Float || Height of the pane.&lt;br /&gt;
|-&lt;br /&gt;
| 0x4C || UInt16 || Number of characters.&lt;br /&gt;
|-&lt;br /&gt;
| 0x4E || UInt16 || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;.}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x50 || UInt16 || [[#mat1|Material index]].&lt;br /&gt;
|-&lt;br /&gt;
| 0x52 || UInt16 || [[#fnl1|Font index]].&lt;br /&gt;
|-&lt;br /&gt;
| 0x54 || Byte || Flag&lt;br /&gt;
|-&lt;br /&gt;
| 0x55 || Byte[3] || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;.}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x58 || UInt32 || &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;&amp;#039;Text offset&amp;#039;&amp;#039;&amp;#039;. Relative to the start of this section.&lt;br /&gt;
|-&lt;br /&gt;
| 0x5C || Byte[4] || Top color in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x60 || Byte[4] || Bottom color in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x64 || Float || Size X.&lt;br /&gt;
|-&lt;br /&gt;
| 0x68 || Float || Size Y.&lt;br /&gt;
|-&lt;br /&gt;
| 0x6C || Float || Character size.&lt;br /&gt;
|-&lt;br /&gt;
| 0x70 || Float || Line size.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039; || String || Null-terminated string of the text in UTF-16.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== wnd1 ===&lt;br /&gt;
The &amp;#039;&amp;#039;wnd1&amp;#039;&amp;#039; describes a window pane. A window pane is a more advanced image pane. It is unknown exactly how the window pane works.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;wnd1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Section size.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || Byte || Flag.&lt;br /&gt;
|-&lt;br /&gt;
| 0x09 || Byte || Flag.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || Byte || Alpha.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0B || Byte || Padding.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || String || &amp;#039;&amp;#039;&amp;#039;Pane name&amp;#039;&amp;#039;&amp;#039;. The length is always 0x10, unused bytes are set to 00.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C || String || User information, stored as a string.&lt;br /&gt;
|-&lt;br /&gt;
| 0x24 || Float[3] || Translation.&lt;br /&gt;
|-&lt;br /&gt;
| 0x30 || Float[3] || Rotation.&lt;br /&gt;
|-&lt;br /&gt;
| 0x3C || Float[2] || Scale.&lt;br /&gt;
|-&lt;br /&gt;
| 0x44 || Float || Width of the pane.&lt;br /&gt;
|-&lt;br /&gt;
| 0x48 || Float || Height of the pane.&lt;br /&gt;
|-&lt;br /&gt;
| 0x4C || Float || Coordinate 1.&lt;br /&gt;
|-&lt;br /&gt;
| 0x50 || Float || Coordinate 2.&lt;br /&gt;
|-&lt;br /&gt;
| 0x54 || Float || Coordinate 3.&lt;br /&gt;
|-&lt;br /&gt;
| 0x58 || Float || Coordinate 4.&lt;br /&gt;
|-&lt;br /&gt;
| 0x5C || Byte || Number of frames.&lt;br /&gt;
|-&lt;br /&gt;
| 0x5D || Byte[3] || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;.}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x60 || UInt32 || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;. Probably an offset. Only seen as 0x68.}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x64 || UInt32 || &amp;#039;&amp;#039;&amp;#039;Window material offsets&amp;#039;&amp;#039;&amp;#039; offset. Points to offsets which points to the window materials. Relative to the start of this section.&lt;br /&gt;
|-&lt;br /&gt;
| 0x68 || Byte[4] || &amp;#039;&amp;#039;&amp;#039;Top left&amp;#039;&amp;#039;&amp;#039; vertex color in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x6C || Byte[4] || &amp;#039;&amp;#039;&amp;#039;Top right&amp;#039;&amp;#039;&amp;#039; vertex color in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x70 || Byte[4] || &amp;#039;&amp;#039;&amp;#039;Bottom left&amp;#039;&amp;#039;&amp;#039; vertex color in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x74 || Byte[4] || &amp;#039;&amp;#039;&amp;#039;Bottom right&amp;#039;&amp;#039;&amp;#039; vertex color in RGBA format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x78 || UInt16 || [[#mat1|Material index]].&lt;br /&gt;
|-&lt;br /&gt;
| 0x7A || Byte || Number of [[#UV coordinate set|UV sets]].&lt;br /&gt;
|-&lt;br /&gt;
| 0x7B || Byte || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After that the [[#UV coordinate set|UV sets]] are specified. Then the window material offsets are specified and after that the window materials.&lt;br /&gt;
&lt;br /&gt;
; Window material&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || UInt16 || [[#mat1|Material index]].&lt;br /&gt;
|-&lt;br /&gt;
| 0x02 || Byte || Index.&lt;br /&gt;
|-&lt;br /&gt;
| 0x03 || Byte || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Groups ==&lt;br /&gt;
=== grp1 ===&lt;br /&gt;
The &amp;#039;&amp;#039;grp1&amp;#039;&amp;#039; section defines a group.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;grp1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt32 || Section size.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || String || &amp;#039;&amp;#039;&amp;#039;Group name&amp;#039;&amp;#039;&amp;#039;. The length is always 0x10 bytes long, unused characters are set to 00.&lt;br /&gt;
|-&lt;br /&gt;
| 0x18 || UInt16 || &amp;#039;&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039; = Number of entries.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1A || UInt16 || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;.}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C || String[&amp;#039;&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039;]|| An array of entries in this group. The length of each string is always 0x10, unused characters are set to 00.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== grs1 ===&lt;br /&gt;
The &amp;#039;&amp;#039;grs1&amp;#039;&amp;#039; section defines a group of groups. [[#gre1|gre1]] ends the group of groups.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;grs1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== gre1 ===&lt;br /&gt;
The &amp;#039;&amp;#039;gre1&amp;#039;&amp;#039; section ends a group of groups. [[#grs1|grs1]] starts the group of groups.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Char[4] || &amp;#039;&amp;#039;&amp;#039;Section magic&amp;#039;&amp;#039;&amp;#039;. Always &amp;#039;&amp;#039;gre1&amp;#039;&amp;#039; in ASCII.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common data structures ==&lt;br /&gt;
=== UV coordinate set ===&lt;br /&gt;
Specifies the UV coordinates for an image. Each entry is a 0x20 byte structure as follows:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || Float[2] || &amp;#039;&amp;#039;&amp;#039;Top left&amp;#039;&amp;#039;&amp;#039; U and V coordinate.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || Float[2] || &amp;#039;&amp;#039;&amp;#039;Top right&amp;#039;&amp;#039;&amp;#039; U and V coordinate.&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || Float[2] || &amp;#039;&amp;#039;&amp;#039;Bottom left&amp;#039;&amp;#039;&amp;#039; U and V coordinate.&lt;br /&gt;
|-&lt;br /&gt;
| 0x18 || Float[2] || &amp;#039;&amp;#039;&amp;#039;Bottom right&amp;#039;&amp;#039;&amp;#039; U and V coordinate.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tools =&lt;br /&gt;
The following tools can handle BRLYT files:&lt;br /&gt;
* [http://wiibrew.org/wiki/Benzin Benzin], by [http://wiibrew.org/wiki/User:SquidMan SquidMan], [http://wiibrew.org/wiki/User:Comex comex], [http://wiibrew.org/wiki/User:Megazig megazig], and [http://wiibrew.org/wiki/User:Yossi Yossi] (converts BRLYT to XML and viceversa)&lt;br /&gt;
* [[Wexos&amp;#039;s Toolbox]], by [[Wexos]]&lt;br /&gt;
* [[Wii Layout Editor]], by [[Gericom]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Wii File Formats]]&lt;/div&gt;</summary>
		<author><name>Wexos</name></author>
	</entry>
</feed>