Changes

Jump to: navigation, search

Title metadata

847 bytes added, 01:25, 6 November 2018
no edit summary
| 0x184
| 8
| System Version(the ios that the title needs)
|-
| 0x18C
|-
| 0x19A
| 622| reservedZero|-| 0x19C| 2| Region|-| 0x19E| 16| Ratings|-| 0x1AE| 12| Reserved|-| 0x1BA| 12| IPC Mask|-| 0x1C6| 18| Reserved
|-
| 0x1D8
| 4
| Access rights(flags for [[DVDX|DVD-video access]] and [http://hackmii.com/2009/08/of-tmds-and-hardware/ full PPC hardware access])
|-
| 0x1DC
|-
| 0x104
| 3264
| Issuer
|-
u32 cid; // content id
u16 index; // # number of the file
u16 type; // normal: 0x0001; shared: 0x8001
u64 size;
u8 hash [20]; // SHA1 hash content
</source>
<source lang="c">
enum sig_type { RSA_2048 = 0x00010001, RSA_4096 = 0x00010000 }; // High 32 bits of the title IDenum title_type : u32 { System = 0x00000001, Game = 0x00010000, Channel = 0x00010001, SystemChannel = 0x00010002, GameWithChannel = 0x00010004, DLC = 0x00010005, HiddenChannel = 0x00010008,}; // title_type (offset 0x194)enum title_flags { // All official titles have this flag set. Default = 0x1, Unknown_0x4 = 0x4, // Used for DLC titles. Data = 0x8, Unknown_0x10 = 0x10, // Seems to be used for WFS titles. Maybe_WFS = 0x20, Unknown_CT = 0x40,};
</source>
<source lang="c">
</source>
There is also a structure called a TmdView which is select sections of the Tmd. It has a length of 0x60+0x10*number_of_contents. The structure is somewhat like this[as returned by ES_GetTmdView] :
<source lang="c">
struct tmd_view_content_t
uint8_t version; // 0x0000;
uint8_t filler[3];
uint32_t unknown // 0x0004 uint64_t ios_title_id; //0x00080x0004 uint64_t title_id; // 0x00100x00c uint32_t title_type; //0x00180x0014 uint16_t group_id; //0x001c0x0018 uint8_t reserved[0x3e]; //0x001e 0x001a this is the same reserved 0x3e bytes from the tmd uint16_t title_version; //0x005c0x0058 uint16_t number_contents; //0x005e0x005a tmd_view_content_t contents[]; //0x00600x005c
};
</source>
 
[[Category:File formats]]
35
edits

Navigation menu