<?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=Assets.bin_%28File_Format%29</id>
	<title>Assets.bin (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=Assets.bin_%28File_Format%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=Assets.bin_(File_Format)&amp;action=history"/>
	<updated>2026-05-06T14:31:25Z</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=Assets.bin_(File_Format)&amp;diff=397&amp;oldid=prev</id>
		<title>Atlas at 18:21, 11 June 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.wexosmk.xyz/index.php?title=Assets.bin_(File_Format)&amp;diff=397&amp;oldid=prev"/>
		<updated>2024-06-11T18:21:32Z</updated>

		<summary type="html">&lt;p&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 18:21, 11 June 2024&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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;== Asset ID List ==&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;== Asset ID List ==&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;This is a list of all the asset IDs from the game. The purpose of indexing them is because that&#039;s how they&#039;re linked on [[LEV (File Format)|LEV]] files.&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;This is a list of all the asset IDs from the game. The purpose of indexing them is because that&#039;s how they&#039;re linked on [[LEV (File Format)|LEV]] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;files and other internal &lt;/ins&gt;files.&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;{|class=wikitable&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;{|class=wikitable&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wexos_wiki:diff:1.41:old-35:rev-397:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Atlas</name></author>
	</entry>
	<entry>
		<id>https://wiki.wexosmk.xyz/index.php?title=Assets.bin_(File_Format)&amp;diff=35&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=Assets.bin_(File_Format)&amp;diff=35&amp;oldid=prev"/>
		<updated>2024-05-01T16:52:28Z</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;{{DISPLAYTITLE:assets.bin (File Format)}}&lt;br /&gt;
{{under-construction}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;assets.bin&amp;#039;&amp;#039;&amp;#039; is a file from &amp;#039;&amp;#039;[https://en.wikipedia.org/wiki/Diddy_Kong_Racing_DS Diddy Kong Racing DS]&amp;#039;&amp;#039; that contains all the game&amp;#039;s models and textures.&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 header that is 4 bytes long.&lt;br /&gt;
&lt;br /&gt;
{|class=wikitable&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 || UInt16 || &amp;#039;&amp;#039;&amp;#039;Number of assets (N)&amp;#039;&amp;#039;&amp;#039;. The value is 0x910 (2320).&lt;br /&gt;
|-&lt;br /&gt;
| 0x02 || Byte[2] || Padding.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || colspan=2 {{unknown|End of header, start of Asset ID List}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Asset ID List ==&lt;br /&gt;
This is a list of all the asset IDs from the game. The purpose of indexing them is because that&amp;#039;s how they&amp;#039;re linked on [[LEV (File Format)|LEV]] files.&lt;br /&gt;
&lt;br /&gt;
{|class=wikitable&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00  || UInt16[&amp;#039;&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039;] || &amp;#039;&amp;#039;&amp;#039;Asset IDs&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x00 + 2 * &amp;#039;&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039; || Byte[2] || Padding.&lt;br /&gt;
|-&lt;br /&gt;
| 0x02 + 2 * &amp;#039;&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039; || colspan=2 {{unknown|End of this section, start of Entry List}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Entry List ==&lt;br /&gt;
Followed by the [[#Asset ID List|Asset ID List]], there&amp;#039;s a list of offsets and sizes for each of the assets. All offsets are absolute.&lt;br /&gt;
&lt;br /&gt;
{|class=wikitable&lt;br /&gt;
|+ Format of an asset.bin entry&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00  || Int32 || &amp;#039;&amp;#039;&amp;#039;Offset to asset data&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x02 || Int32 || &amp;#039;&amp;#039;&amp;#039;Asset size&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Asset Data ==&lt;br /&gt;
Each asset consists of a header with some information and the file data.&lt;br /&gt;
&lt;br /&gt;
{|class=wikitable&lt;br /&gt;
|+ Format of an asset.bin entry&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00  || Byte || &amp;#039;&amp;#039;&amp;#039;Compression type:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* 0 = No compression&lt;br /&gt;
* 1 = Huffman&lt;br /&gt;
* 2 = LZ77&lt;br /&gt;
* 3 = &amp;#039;&amp;#039;&amp;#039;Unknown&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* 4 = RunLength&lt;br /&gt;
|-&lt;br /&gt;
| 0x01 || Byte[3] || &amp;#039;&amp;#039;&amp;#039;Unknown flags&amp;#039;&amp;#039;&amp;#039;. It is only known that they contain information about what type of data is stored.&lt;br /&gt;
|-&lt;br /&gt;
| 0x04 || Int32 || &amp;#039;&amp;#039;&amp;#039;Uncompressed size&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| 0x08 || colspan=2 {{unknown|End of this section, start of file data}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Tools =&lt;br /&gt;
The following tools can handle assets.bin:&lt;br /&gt;
* (none)&lt;br /&gt;
&lt;br /&gt;
[[Category:Diddy Kong Racing DS File Formats]]&lt;/div&gt;</summary>
		<author><name>Wexos</name></author>
	</entry>
</feed>