<?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=DKRDS_Palette_Bank_%28File_Format%29</id>
	<title>DKRDS Palette Bank (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=DKRDS_Palette_Bank_%28File_Format%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=DKRDS_Palette_Bank_(File_Format)&amp;action=history"/>
	<updated>2026-06-08T21:16:33Z</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=DKRDS_Palette_Bank_(File_Format)&amp;diff=671&amp;oldid=prev</id>
		<title>Atlas: Created page with &quot;&#039;&#039;&#039;DKRDS Palette Bank&#039;&#039;&#039; is a nameless file format used in &#039;&#039;[https://en.wikipedia.org/wiki/Diddy_Kong_Racing_DS Diddy Kong Racing DS]&#039;&#039;. It contains BGR555 color data used to render pixels from tile sprites. It exists in two variants depending on the bit-depth of the accompanying DKRDS Texture Tileset file: a 16-palette bank (for 4bpp tiles) or a single 256-color palette (for 8bpp tiles). Both variants are exactly 512 bytes. Other filetypes that are commonly associa...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=DKRDS_Palette_Bank_(File_Format)&amp;diff=671&amp;oldid=prev"/>
		<updated>2026-05-26T22:52:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;DKRDS Palette Bank&amp;#039;&amp;#039;&amp;#039; is a nameless file format used in &amp;#039;&amp;#039;[https://en.wikipedia.org/wiki/Diddy_Kong_Racing_DS Diddy Kong Racing DS]&amp;#039;&amp;#039;. It contains BGR555 color data used to render pixels from tile sprites. It exists in two variants depending on the bit-depth of the accompanying &lt;a href=&quot;/index.php/DKRDS_Texture_Tileset&quot; class=&quot;mw-redirect&quot; title=&quot;DKRDS Texture Tileset&quot;&gt;DKRDS Texture Tileset&lt;/a&gt; file: a 16-palette bank (for 4bpp tiles) or a single 256-color palette (for 8bpp tiles). Both variants are exactly 512 bytes. Other filetypes that are commonly associa...&amp;quot;&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;DKRDS Palette Bank&amp;#039;&amp;#039;&amp;#039; is a nameless file format used in &amp;#039;&amp;#039;[https://en.wikipedia.org/wiki/Diddy_Kong_Racing_DS Diddy Kong Racing DS]&amp;#039;&amp;#039;. It contains BGR555 color data used to render pixels from tile sprites. It exists in two variants depending on the bit-depth of the accompanying [[DKRDS Texture Tileset]] file: a 16-palette bank (for 4bpp tiles) or a single 256-color palette (for 8bpp tiles). Both variants are exactly 512 bytes. Other filetypes that are commonly associated with palette banks, and necessary to create screen backgrounds, are [[DKRDS Tile Layout]] and [[DKRDS Tilemap]]. Its type identifier in [[assets.bin]] is &amp;#039;&amp;#039;&amp;#039;0x00&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
= File Format =&lt;br /&gt;
The file byte order is always little endian.&lt;br /&gt;
&lt;br /&gt;
== Variant A ==&lt;br /&gt;
The first variant is used with 4bpp [[DKRDS Texture Tileset]] files. The 512 bytes are divided into 16 palettes of 16 colors each.&lt;br /&gt;
&lt;br /&gt;
=== Structure ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || UInt16[16] || &amp;#039;&amp;#039;&amp;#039;Palette 0&amp;#039;&amp;#039;&amp;#039; (colors 0-15).&lt;br /&gt;
|-&lt;br /&gt;
| 0x20 || UInt16[16] || &amp;#039;&amp;#039;&amp;#039;Palette 1&amp;#039;&amp;#039;&amp;#039; (colors 0-15).&lt;br /&gt;
|-&lt;br /&gt;
| ... || ... || ...&lt;br /&gt;
|-&lt;br /&gt;
| 0x1E0 || UInt16[16] || &amp;#039;&amp;#039;&amp;#039;Palette 15&amp;#039;&amp;#039;&amp;#039; (colors 0-15).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Variant B ==&lt;br /&gt;
The second variant is used with 8bpp [[DKRDS Texture Tileset]] files. The 512 bytes form a single palette of 256 colors; pixel bytes index directly into it.&lt;br /&gt;
&lt;br /&gt;
=== Structure ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || UInt16[256] || &amp;#039;&amp;#039;&amp;#039;BGR555 colors&amp;#039;&amp;#039;&amp;#039; (colors 0-255).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
Color index 0 of &amp;#039;&amp;#039;&amp;#039;any&amp;#039;&amp;#039;&amp;#039; palette is transparent regardless of the stored BGR555 value.&lt;br /&gt;
&lt;br /&gt;
= Tools =&lt;br /&gt;
The following tools can handle DKRDS Palette Bank:&lt;br /&gt;
* (none)&lt;br /&gt;
&lt;br /&gt;
[[Category:Diddy Kong Racing DS File Formats]]&lt;/div&gt;</summary>
		<author><name>Atlas</name></author>
	</entry>
</feed>