<?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=BTI_%28File_Format%29</id>
	<title>BTI (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=BTI_%28File_Format%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=BTI_(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=BTI_(File_Format)&amp;diff=153&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=BTI_(File_Format)&amp;diff=153&amp;oldid=prev"/>
		<updated>2024-05-01T17:20:31Z</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;BTI&amp;#039;&amp;#039;&amp;#039; is an image format. It is used a lot in [[Mario Kart: Double Dash!!]], but also appears in other games such as [[Mario Kart Wii]]. A BTI file can only contain one texture, with mipmaps, which makes the format very simple.&lt;br /&gt;
&lt;br /&gt;
= File Format =&lt;br /&gt;
The file byte order is always big endian.&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 || Byte || &amp;#039;&amp;#039;&amp;#039;[[GameCube and Wii Image Formats|Image format]]&amp;#039;&amp;#039;&amp;#039;. The pixel data type is determined by this value.&lt;br /&gt;
|-&lt;br /&gt;
| 0x01 || Byte || &amp;#039;&amp;#039;&amp;#039;Alpha enabled&amp;#039;&amp;#039;&amp;#039;. 0 disables alpha, anything else enables it.&lt;br /&gt;
|-&lt;br /&gt;
| 0x02 || UInt16 || &amp;#039;&amp;#039;&amp;#039;Width of image&amp;#039;&amp;#039;&amp;#039; in pixels.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || UInt16 || &amp;#039;&amp;#039;&amp;#039;Height of image&amp;#039;&amp;#039;&amp;#039; in pixels.&lt;br /&gt;
|-&lt;br /&gt;
| 0x06 || Byte || &amp;#039;&amp;#039;&amp;#039;Wrap S&amp;#039;&amp;#039;&amp;#039;. 0 = Clamp, 1 = Repeat, 2 = Mirror&lt;br /&gt;
|-&lt;br /&gt;
| 0x07 || Byte || &amp;#039;&amp;#039;&amp;#039;Wrap T&amp;#039;&amp;#039;&amp;#039;, same enum as above.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || Byte || &amp;#039;&amp;#039;&amp;#039;Has palette&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x09 || Byte || &amp;#039;&amp;#039;&amp;#039;[[GameCube and Wii Image Formats|Palette format]]&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0A || UInt16 || &amp;#039;&amp;#039;&amp;#039;Number of palette entries&amp;#039;&amp;#039;&amp;#039;. Each consist of a color of the type specified by the palette format.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0C || UInt32 || &amp;#039;&amp;#039;&amp;#039;Palette offset&amp;#039;&amp;#039;&amp;#039;. Offset to the palette colors.&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || Byte || &amp;#039;&amp;#039;&amp;#039;Enable mipmaps&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x11 || Byte || &amp;#039;&amp;#039;&amp;#039;Enable edge LOD&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x12 || Byte || &amp;#039;&amp;#039;&amp;#039;Clamp bias&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x13 || Byte || &amp;#039;&amp;#039;&amp;#039;Max anisotropy&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x14 || Byte || &amp;#039;&amp;#039;&amp;#039;Minification filter&amp;#039;&amp;#039;&amp;#039;. 0 = Nearest, 1 = Linear&lt;br /&gt;
|-&lt;br /&gt;
| 0x15 || Byte || &amp;#039;&amp;#039;&amp;#039;Magnification filter&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Value !! Type&lt;br /&gt;
|-&lt;br /&gt;
| 0 || Nearest&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Linear&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Nearest_Mipmap_Nearest&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Linear_Mipmap_Nearest&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Nearest_Mipmap_Linear&lt;br /&gt;
|-&lt;br /&gt;
| 5 || Linear_Mipmap_Linear&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| 0x16 || Byte || &amp;#039;&amp;#039;&amp;#039;Min LOD&amp;#039;&amp;#039;&amp;#039;, multiplied by 8.&lt;br /&gt;
|-&lt;br /&gt;
| 0x17 || Byte || &amp;#039;&amp;#039;&amp;#039;Max LOD&amp;#039;&amp;#039;&amp;#039;, multiplied by 8.&lt;br /&gt;
|-&lt;br /&gt;
| 0x18 || Byte || &amp;#039;&amp;#039;&amp;#039;Total number of images&amp;#039;&amp;#039;&amp;#039;, including the main level image.&lt;br /&gt;
|-&lt;br /&gt;
| 0x19 || Byte || {{Unknown-left|&amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;.}}&lt;br /&gt;
|-&lt;br /&gt;
| 0x1A || Int16 || &amp;#039;&amp;#039;&amp;#039;LOD bias&amp;#039;&amp;#039;&amp;#039;, multiplied by 100.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1C || UInt32 || &amp;#039;&amp;#039;&amp;#039;Image data offset&amp;#039;&amp;#039;&amp;#039;. Offset to the data of the first image. The mipmaps are stored directly after the end of the first image.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tools =&lt;br /&gt;
The following tools can handle BTI files:&lt;br /&gt;
* [[CTools Pack]], by [[Chadderz]]&lt;br /&gt;
* [[SZS Modifier]], by [[Chadderz]]&lt;br /&gt;
* [[Wexos&amp;#039;s Toolbox]], by [[Wexos]]&lt;br /&gt;
* [[Wiimms SZS Tools]], by [[Wiimm]]&lt;br /&gt;
&lt;br /&gt;
[[Category:GameCube File Formats]]&lt;br /&gt;
[[Category:Wii File Formats]]&lt;/div&gt;</summary>
		<author><name>Wexos</name></author>
	</entry>
</feed>