Line 1:
Line 1:
−
[[Category:Software]]
+
'''Title metadata''' is a format used to store information about a title (a single standalone game, channel, etc.) and all its installed contents, including which contents they consist of and their SHA1 hashes.
−
−
== Nintendo Wii Title-Metadata (tmd) file structure ==
−
−
A "title" is a standalone entity -- a game, a channel, etc. Titles can be made up of multiple "contents".
Many operations are done in terms of 64-byte blocks, which means you will often see padding out to the nearest 64-byte boundary at the end of a field.
Many operations are done in terms of 64-byte blocks, which means you will often see padding out to the nearest 64-byte boundary at the end of a field.
−
=== TMD file structure ===
+
== Structure ==
−
==== Header ====
+
=== Header ===
{| class="wikitable"
{| class="wikitable"
|- style="background-color: #ddd;"
|- style="background-color: #ddd;"
Line 91:
Line 87:
| Contents
| Contents
|}
|}
−
==== Content ====
+
+
=== Content ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 119:
Line 116:
|}
|}
−
==== Certificates ====
+
=== Certificates ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 151:
Line 148:
|}
|}
−
=== C code application ===
+
== Example code application ==
<source lang="c">
<source lang="c">
typedef unsigned char u8;
typedef unsigned char u8;
Line 206:
Line 203:
u8 key[...];
u8 key[...];
</source>
</source>
−
[[Category:Wii_Software]]