<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dsibrew.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zedseven</id>
	<title>DSiBrew - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dsibrew.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zedseven"/>
	<link rel="alternate" type="text/html" href="https://dsibrew.org/wiki/Special:Contributions/Zedseven"/>
	<updated>2026-04-30T15:12:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=Nintendo_CDN_Files&amp;diff=2099158</id>
		<title>Nintendo CDN Files</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=Nintendo_CDN_Files&amp;diff=2099158"/>
		<updated>2020-11-21T02:05:18Z</updated>

		<summary type="html">&lt;p&gt;Zedseven: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Files on the Nintendo CDN ==&lt;br /&gt;
On the Nintendo CDN, there are a few kinds of files for each game/title:&lt;br /&gt;
* Metadata (tmd)&lt;br /&gt;
* Ticket (cetk)&lt;br /&gt;
* Content files (&#039;&#039;&#039;00000000&#039;&#039;&#039; and up)&lt;br /&gt;
&lt;br /&gt;
== Server File ID ==&lt;br /&gt;
Note that &amp;quot;we&amp;quot; refers to [[User:Hiccup|Hiccup]] and [[User:zedseven|zedseven]].&amp;lt;!-- Feel free to remove this bit - I&#039;m not sure what the best format is for this information, hence the way it is at the moment. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In addition to the expected files (tmd, cetk, game content), there are a number of other files accessible by the same content ID system as is used to access game content.&lt;br /&gt;
&lt;br /&gt;
If you try to access a non-existent file, the server gives you an error - for instance, with http://nus.cdn.t.shop.nintendowifi.net/ccs/download/0000000000000000/00000000 you get something akin to the following:&lt;br /&gt;
&lt;br /&gt;
[[File:NUS-Screenshot-0000000000000000-00000000.png]]&lt;br /&gt;
&lt;br /&gt;
(response header has 404 in status code, with Last-Modified field indicating that this page is generated on the fly)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The text in the square brackets appears to be some kind of server file id. Note that if you request a nonexistent cetk, it&#039;s server file id is reported as 4294967293 (0xFFFFFFFD).&lt;br /&gt;
&lt;br /&gt;
[[File:NUS-Screenshot-0000000000000000-cetk.png]]&lt;br /&gt;
&lt;br /&gt;
(with http://nus.cdn.t.shop.nintendowifi.net/ccs/download/0000000000000000/cetk)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Through this, we guessed that cetks do in fact have content IDs, and it turns out tmds also do, although if you request a tmd (either as &amp;quot;tmd&amp;quot; or &amp;quot;tmd.[version]&amp;quot;, the server file ID is not reported by the error message (see [[#Special Content IDs]] for more info).&lt;br /&gt;
&lt;br /&gt;
[[File:NUS-Screenshot-0000000000000000-tmd.png]]&lt;br /&gt;
&lt;br /&gt;
(with http://nus.cdn.t.shop.nintendowifi.net/ccs/download/0000000000000000/tmd)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The function used for the server file ID is as follows:&lt;br /&gt;
&amp;lt;!-- LaTeX: f_{serverId}\left(t,c\right) = t \cdot \texttt{0x100000000} + c --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Server-File-ID-Equation.png]]&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;&#039;t&#039;&#039;&#039; is the title ID, and &#039;&#039;&#039;c&#039;&#039;&#039; is the content ID.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special Content IDs ==&lt;br /&gt;
The special content IDs have been found on the 3DS CDN as well, but Wii and Wii U have not been tested.&lt;br /&gt;
&lt;br /&gt;
=== FFFD0000 ===&lt;br /&gt;
DSi Shop content starts at &#039;&#039;&#039;FFFD0000&#039;&#039;&#039; and increments up. This content is often icons and screenshots, (typically GIF or BMP interchangeably), with some ZIP file manuals for system titles mixed in as well.&lt;br /&gt;
&lt;br /&gt;
=== FFFEFFFF ===&lt;br /&gt;
tmd content is stored at this content ID. The very first version is &#039;&#039;&#039;FFFEFFFF&#039;&#039;&#039;, and subsequent versions decrement the value (second version is &#039;&#039;&#039;FFFEFFFE&#039;&#039;&#039;, third is &#039;&#039;&#039;FFFEFFFD&#039;&#039;&#039;, etc.).&lt;br /&gt;
Because tmd versions aren&#039;t sequential, this sequential versioning allows us to check if any versions have been deleted from the CDN.&lt;br /&gt;
No titles were found to have deleted versions.&lt;br /&gt;
&lt;br /&gt;
=== FFFFFFFD ===&lt;br /&gt;
This is the content ID of cetk, if it exists for a given title.&lt;br /&gt;
&lt;br /&gt;
=== FFFFFFFE ===&lt;br /&gt;
This is a file that exists for every existing title, however it is always 0 bytes in size.&lt;br /&gt;
We suspect it is used as a way of checking if a title exists on the CDN, since no other files have unchanging, consistent names (tmd kind of does, but we suspect it&#039;s auto-generated as the latest version - the file &amp;quot;tmd&amp;quot; probably doesn&#039;t exist on the server).&lt;/div&gt;</summary>
		<author><name>Zedseven</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=User:Zedseven&amp;diff=2099157</id>
		<title>User:Zedseven</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=User:Zedseven&amp;diff=2099157"/>
		<updated>2020-11-18T00:30:38Z</updated>

		<summary type="html">&lt;p&gt;Zedseven: Created page with &amp;quot;Mostly just here to publish User:Hiccup| and I&amp;#039;s findings about the Nintendo CDN Files#Special Content IDs for everyone to see and benefit from.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mostly just here to publish [[User:Hiccup|Hiccup]] and I&#039;s findings about the [[Nintendo CDN Files#Special Content IDs]] for everyone to see and benefit from.&lt;/div&gt;</summary>
		<author><name>Zedseven</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=Nintendo_CDN_Files&amp;diff=2099156</id>
		<title>Nintendo CDN Files</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=Nintendo_CDN_Files&amp;diff=2099156"/>
		<updated>2020-11-18T00:24:30Z</updated>

		<summary type="html">&lt;p&gt;Zedseven: A page detailing Nintendo CDN files, and the known special content IDs of the NUS.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Files on the Nintendo CDN ==&lt;br /&gt;
On the Nintendo CDN, there are a few kinds of files for each game/title:&lt;br /&gt;
* Metadata (tmd)&lt;br /&gt;
* Ticket (cetk)&lt;br /&gt;
* Content files (&#039;&#039;&#039;00000000&#039;&#039;&#039; and up)&lt;br /&gt;
&lt;br /&gt;
== Server File ID ==&lt;br /&gt;
Note that &amp;quot;we&amp;quot; refers to [[User:Hiccup|Hiccup]] and [[User:zedseven|zedseven]].&amp;lt;!-- Feel free to remove this bit - I&#039;m not sure what the best format is for this information, hence the way it is at the moment. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In addition to the expected files (tmd, cetk, game content), there are a number of other files accessible by the same content ID system as is used to access game content.&lt;br /&gt;
&lt;br /&gt;
If you try to access a non-existent file, the server gives you an error - for instance, with http://nus.cdn.t.shop.nintendowifi.net/ccs/download/0000000000000000/00000000 you get something akin to the following:&lt;br /&gt;
&lt;br /&gt;
[[File:NUS-Screenshot-0000000000000000-00000000.png]]&lt;br /&gt;
&lt;br /&gt;
(response header has 404 in status code, with Last-Modified field indicating that this page is generated on the fly)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The text in the square brackets appears to be some kind of server file id. Note that if you request a nonexistent cetk, it&#039;s server file id is reported as 4294967293 (0xFFFFFFFD).&lt;br /&gt;
&lt;br /&gt;
[[File:NUS-Screenshot-0000000000000000-cetk.png]]&lt;br /&gt;
&lt;br /&gt;
(with http://nus.cdn.t.shop.nintendowifi.net/ccs/download/0000000000000000/cetk)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Through this, we guessed that cetks do in fact have content IDs, and it turns out tmds also do, although if you request a tmd (either as &amp;quot;tmd&amp;quot; or &amp;quot;tmd.[version]&amp;quot;, the server file ID is not reported by the error message (see [[#Special Content IDs]] for more info).&lt;br /&gt;
&lt;br /&gt;
[[File:NUS-Screenshot-0000000000000000-tmd.png]]&lt;br /&gt;
&lt;br /&gt;
(with http://nus.cdn.t.shop.nintendowifi.net/ccs/download/0000000000000000/tmd)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The function used for the server file ID is as follows:&lt;br /&gt;
&amp;lt;!-- LaTeX: f_{serverId}\left(t,c\right) = t \cdot \texttt{0x100000000} + c --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Server-File-ID-Equation.png]]&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;&#039;t&#039;&#039;&#039; is the title ID, and &#039;&#039;&#039;c&#039;&#039;&#039; is the content ID.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special Content IDs ==&lt;br /&gt;
=== FFFD0000 ===&lt;br /&gt;
DSi Shop content starts at &#039;&#039;&#039;FFFD0000&#039;&#039;&#039; and increments up. This content is often icons and screenshots, (typically GIF or BMP interchangeably), with some ZIP file manuals for system titles mixed in as well.&lt;br /&gt;
&lt;br /&gt;
=== FFFEFFFF ===&lt;br /&gt;
tmd content is stored at this content ID. The very first version is &#039;&#039;&#039;FFFEFFFF&#039;&#039;&#039;, and subsequent versions decrement the value (second version is &#039;&#039;&#039;FFFEFFFE&#039;&#039;&#039;, third is &#039;&#039;&#039;FFFEFFFD&#039;&#039;&#039;, etc.).&lt;br /&gt;
Because tmd versions aren&#039;t sequential, this sequential versioning allows us to check if any versions have been deleted from the CDN.&lt;br /&gt;
No titles were found to have deleted versions.&lt;br /&gt;
&lt;br /&gt;
=== FFFFFFFD ===&lt;br /&gt;
This is the content ID of cetk, if it exists for a given title.&lt;br /&gt;
&lt;br /&gt;
=== FFFFFFFE ===&lt;br /&gt;
This is a file that exists for every existing title, however it is always 0 bytes in size.&lt;br /&gt;
We suspect it is used as a way of checking if a title exists on the CDN, since no other files have unchanging, consistent names (tmd kind of does, but we suspect it&#039;s auto-generated as the latest version - the file &amp;quot;tmd&amp;quot; probably doesn&#039;t exist on the server).&lt;/div&gt;</summary>
		<author><name>Zedseven</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=File:Server-File-ID-Equation.png&amp;diff=2099155</id>
		<title>File:Server-File-ID-Equation.png</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=File:Server-File-ID-Equation.png&amp;diff=2099155"/>
		<updated>2020-11-17T23:50:37Z</updated>

		<summary type="html">&lt;p&gt;Zedseven: The equation used to calculate the internal server file ID from a title ID and content ID. &amp;#039;&amp;#039;&amp;#039;t&amp;#039;&amp;#039;&amp;#039; is the title ID, and &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039; is the content ID.

The LaTeX for this is as follows:
&amp;lt;pre&amp;gt;f_{serverId}\left(t,c\right) = t \cdot \texttt{0x100000000} + c&amp;lt;/pre&amp;gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
The equation used to calculate the internal server file ID from a title ID and content ID. &#039;&#039;&#039;t&#039;&#039;&#039; is the title ID, and &#039;&#039;&#039;c&#039;&#039;&#039; is the content ID.&lt;br /&gt;
&lt;br /&gt;
The LaTeX for this is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;f_{serverId}\left(t,c\right) = t \cdot \texttt{0x100000000} + c&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zedseven</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=File:NUS-Screenshot-0000000000000000-tmd.png&amp;diff=2099154</id>
		<title>File:NUS-Screenshot-0000000000000000-tmd.png</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=File:NUS-Screenshot-0000000000000000-tmd.png&amp;diff=2099154"/>
		<updated>2020-11-17T23:48:52Z</updated>

		<summary type="html">&lt;p&gt;Zedseven: A screenshot of the error message the NUS gives for a missing file &amp;#039;tmd&amp;#039;.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
A screenshot of the error message the NUS gives for a missing file &#039;tmd&#039;.&lt;/div&gt;</summary>
		<author><name>Zedseven</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=File:NUS-Screenshot-0000000000000000-cetk.png&amp;diff=2099153</id>
		<title>File:NUS-Screenshot-0000000000000000-cetk.png</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=File:NUS-Screenshot-0000000000000000-cetk.png&amp;diff=2099153"/>
		<updated>2020-11-17T23:48:28Z</updated>

		<summary type="html">&lt;p&gt;Zedseven: A screenshot of the error message the NUS gives for a missing file &amp;#039;cetk&amp;#039;. This image is important because it inadvertently displays the internal content ID of a cetk file.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
A screenshot of the error message the NUS gives for a missing file &#039;cetk&#039;. This image is important because it inadvertently displays the internal content ID of a cetk file.&lt;/div&gt;</summary>
		<author><name>Zedseven</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=File:NUS-Screenshot-0000000000000000-00000000.png&amp;diff=2099152</id>
		<title>File:NUS-Screenshot-0000000000000000-00000000.png</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=File:NUS-Screenshot-0000000000000000-00000000.png&amp;diff=2099152"/>
		<updated>2020-11-17T23:47:19Z</updated>

		<summary type="html">&lt;p&gt;Zedseven: /* Summary */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
A screenshot of the error message the NUS gives for a missing file &#039;00000000&#039;.&lt;/div&gt;</summary>
		<author><name>Zedseven</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=File:NUS-Screenshot-0000000000000000-00000000.png&amp;diff=2099151</id>
		<title>File:NUS-Screenshot-0000000000000000-00000000.png</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=File:NUS-Screenshot-0000000000000000-00000000.png&amp;diff=2099151"/>
		<updated>2020-11-17T23:46:32Z</updated>

		<summary type="html">&lt;p&gt;Zedseven: A screenshot of the error message the NUS gives for a missing title.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
A screenshot of the error message the NUS gives for a missing title.&lt;/div&gt;</summary>
		<author><name>Zedseven</name></author>
	</entry>
</feed>