Changes

Jump to navigation Jump to search
130 bytes added ,  02:36, 26 January 2014
no edit summary
Line 89: Line 89:     
"'''<ContentID>.cmd'''" - (The Content ID is a u32, initially: '''00000001''' when the title is first installed. Changing by an increment of +'''0x1''' for each time the 3DS adds/removes '.app' files) This file contains data taken from the title's [[TMD]]. See the below table for the format of the cleartext .cmd file. The [[Title Database|Title.db]] contains the Content ID for the '.cmd' file, but does not contain a hash of the '.cmd' file. In addition it is also encrypted with a console-unique [[AES|keyslot]]. This acts as part of the DRM for installed titles, along with the [[Title Database|title.db]].
 
"'''<ContentID>.cmd'''" - (The Content ID is a u32, initially: '''00000001''' when the title is first installed. Changing by an increment of +'''0x1''' for each time the 3DS adds/removes '.app' files) This file contains data taken from the title's [[TMD]]. See the below table for the format of the cleartext .cmd file. The [[Title Database|Title.db]] contains the Content ID for the '.cmd' file, but does not contain a hash of the '.cmd' file. In addition it is also encrypted with a console-unique [[AES|keyslot]]. This acts as part of the DRM for installed titles, along with the [[Title Database|title.db]].
 +
 +
The below AES-MACs(including the last 0x10-bytes of the header) are only used for SD titles, and for NAND [[Title_list|download-play]] titles. For other titles, these MACs are set to all-zero.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 102: Line 104:  
| 0x4
 
| 0x4
 
| 0x1C
 
| 0x1C
| For NAND titles' .cmd these 2 words are usually value 1, the rest of the header is all-zero. For SD titles the last 0x10-bytes of this header is an AES MAC?
+
| For NAND titles' .cmd these 2 words are usually value 1, the rest of the header is all-zero. The last 0x10-bytes of this header is an AES MAC?
 
|-
 
|-
 
| 0x20
 
| 0x20
Line 110: Line 112:  
| 0x20+0x8*(No. of entries)
 
| 0x20+0x8*(No. of entries)
 
| 0x10*(No. of entries)
 
| 0x10*(No. of entries)
| These are MACs, one for each content. These MACs are only stored in .cmd for SD titles.
+
| These are MACs, one for each content.
 
|}
 
|}
  

Navigation menu