<?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_Texture_Tileset_%28File_Format%29</id>
	<title>DKRDS Texture Tileset (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_Texture_Tileset_%28File_Format%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=DKRDS_Texture_Tileset_(File_Format)&amp;action=history"/>
	<updated>2026-06-09T01:36:12Z</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_Texture_Tileset_(File_Format)&amp;diff=673&amp;oldid=prev</id>
		<title>Atlas: /* Tools */</title>
		<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=DKRDS_Texture_Tileset_(File_Format)&amp;diff=673&amp;oldid=prev"/>
		<updated>2026-05-26T22:53:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Tools&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:53, 26 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Tools =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Tools =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following tools can handle DKRDS &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tile Layout&lt;/del&gt;:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following tools can handle DKRDS &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Texture Tileset&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (none)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (none)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Diddy Kong Racing DS File Formats]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Diddy Kong Racing DS File Formats]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wexos_wiki:diff:1.41:old-669:rev-673:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Atlas</name></author>
	</entry>
	<entry>
		<id>https://wiki.wexosmk.xyz/index.php?title=DKRDS_Texture_Tileset_(File_Format)&amp;diff=669&amp;oldid=prev</id>
		<title>Atlas: Created page with &quot;&#039;&#039;&#039;DKRDS Texture Tileset&#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 stores raw Nintendo DS 8x8 character tile graphics used to build screen backgrounds. It exists in 4bpp (32 bytes per tile) and 8bpp (64 bytes per tile) bit-depth variants, which correspond to different palette modes in the accompanying files. Other filetypes that are commonly associated with texture tilesets, and necessary to cre...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=DKRDS_Texture_Tileset_(File_Format)&amp;diff=669&amp;oldid=prev"/>
		<updated>2026-05-26T22:40:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;DKRDS Texture Tileset&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 stores raw Nintendo DS 8x8 character tile graphics used to build screen backgrounds. It exists in 4bpp (32 bytes per tile) and 8bpp (64 bytes per tile) bit-depth variants, which correspond to different palette modes in the accompanying files. Other filetypes that are commonly associated with texture tilesets, and necessary to cre...&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 Texture Tileset&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 stores raw Nintendo DS 8x8 character tile graphics used to build screen backgrounds. It exists in 4bpp (32 bytes per tile) and 8bpp (64 bytes per tile) bit-depth variants, which correspond to different palette modes in the accompanying files. Other filetypes that are commonly associated with texture tilesets, and necessary to create screen backgrounds, are [[DKRDS Tile Layout]], [[DKRDS Tilemap]] and [[DKRDS Palette Bank]]. 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;
== Header ==&lt;br /&gt;
The file starts with a 4-byte header.&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 || Int32 || &amp;#039;&amp;#039;&amp;#039;Number of tiles&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039;).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Tile Entries ==&lt;br /&gt;
After the header comes the tile entries. The total file size is always &amp;lt;code&amp;gt;4 + &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039; x &amp;#039;&amp;#039;size&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;, where &amp;#039;&amp;#039;size&amp;#039;&amp;#039; is 32 (4bpp) or 64 (8bpp) depending on the variant.&lt;br /&gt;
&lt;br /&gt;
=== Variant A ===&lt;br /&gt;
The first variant is used together with a 16-color palette from a [[DKRDS Palette Bank]] file. Each tile is an 8x8 pixel block where every pixel is a 4-bit index (0-15) into one of the 16 available palettes.&lt;br /&gt;
&lt;br /&gt;
==== Tile data layout ====&lt;br /&gt;
Each tile is made of 32 bytes. Pixels are packed two per byte, row-major within the tile:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Offset !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039; * 4 + &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039; / 2&amp;lt;/code&amp;gt; || Two pixels from row &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;: low nibble = pixel at column &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039; (even), high nibble = pixel at column &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;+1 (odd).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Variant B ===&lt;br /&gt;
The second variant is used together with a 256-color palette from a [[DKRDS Palette Bank]]. Each tile is an 8x8 pixel block where every pixel is a full byte (0-255), a direct index into the single 256-color palette.&lt;br /&gt;
&lt;br /&gt;
==== Tile data layout ====&lt;br /&gt;
Each tile is made of 64 bytes. One byte per pixel, row-major.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Pixel index 0 is always transparent. The corresponding palette entry may contain any value; it is never displayed.&lt;br /&gt;
* Sub-tile IDs referenced from the [[DKRDS Tile Layout]] file are direct indices into this file. For Variant B (48-byte two-section layout), the full value must be used without masking, as sub-tile IDs can exceed 1023.&lt;br /&gt;
* The [[DKRDS Tile Layout]] file specifies which palette bank to use for each sub-tile. In 4bpp mode this selects one of 16 palettes (each 16 colors x 2 bytes = 32 bytes). In 8bpp mode the whole 512-byte palette block is treated as a single 256-color palette and the palette ID field is ignored.&lt;br /&gt;
&lt;br /&gt;
= Tools =&lt;br /&gt;
The following tools can handle DKRDS Tile Layout:&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>