In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "/title/00000001/00000002/data/tmds.sys"

From WiiBrew
< /title‎ | 00000001‎ | 00000002‎ | data
Jump to navigation Jump to search
m (removed redundant text)
(this is the "Backup TMD file" in the system menu)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Each channel/save/vc-game you have on your Wii has its own entry in this file. For more information about the TMD-format, and documentation on some offsets found here (I kept the same names), see [[Tmd_file_structure|TMD File Structure]]. Each entry has the following syntax: (in C-structs, because they're easy to handle)
+
{{Infobox file
 +
| type = file
 +
}}
 +
'''/title/00000001/00000002/data/tmds.sys''' seems to store [[TMD]]s for deleted [[title]]s. Each entry has the following syntax: (in C-structs, because they're easy to handle)
 
   typedef struct {
 
   typedef struct {
       u32 unknown; // Always 0x0100
+
       u64 titleId;
       u32 title_id; // Content ID, output as: char [4]
+
       u32 unknown; // Unknown, seen values: 0x0208 (index?)
      u32 unknown2; // Unknown, seen values: 0x0208 (index?)
+
       u8 padding[18];
       u32 padding [32];
+
       struct TMD tmd; // excluding cert chain
       u32 sig_type; // Unknown, seen values: 0x010001 (sig_type maybe)
+
       u8 padding[24];
       u8 sig [256]; // Signature
+
   } tmdsSysEntry;
      u32 padding2 [15];
 
      u8 issuer[26]; // Syntax: Root-CA%08x-CP%08x
 
      u32 padding3 [10];
 
      u32 unknown3; // Always 0x04000100
 
      u32 title_id2; // Content ID, again
 
      u32 title_type; // 0x01 when cid2[0] == 'R' or when cid[0] == '.\0'. It's 0x00 if cid[0] == '1'.
 
      u16 group_id; // 0x200 or 0x300 if cid2[0] == '.\0', 0x400 when cid2[0] == '1'.
 
          //If cid[0] == 'R', this is usally a number (in ASCII), but it can contain letters, I have seen one 'D'.
 
      u32 unknown [6]; // Really wierd, includes "Egg" quite often.
 
      u32 final_padding [6];
 
   } tmds-entry;
 
The issuer is always Root-CA1-CP4 here.
 
  
Please feel free to improve the contents of this page. I could use your thoughts.
+
This file is interesting because it contains factory [[TMD]]s.
[[Category:Wii Filesystem]]
+
 
 +
{{Navbox filebrowser}}

Latest revision as of 08:15, 10 June 2022

/title/00000001/00000002/data/tmds.sys
TypeGeneric file

/title/00000001/00000002/data/tmds.sys seems to store TMDs for deleted titles. Each entry has the following syntax: (in C-structs, because they're easy to handle)

 typedef struct {
      u64 titleId;
      u32 unknown; // Unknown, seen values: 0x0208 (index?)
      u8 padding[18];
      struct TMD tmd; // excluding cert chain
      u8 padding[24];
 } tmdsSysEntry;

This file is interesting because it contains factory TMDs.