Changes

184 bytes added ,  07:06, 2 November 2016
.cmd files
Line 249: Line 249:  
|-
 
|-
 
| 0x4
 
| 0x4
| 0x1C
+
| 0x4
| 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?
+
| Number of entries? Usually the same as the following u32.
 +
|-
 +
| 0x8
 +
| 0x4
 +
| Number of AESMACs? Usually the same as the preceding u32.
 +
|-
 +
| 0xC
 +
| 0x4
 +
| Unknown, usually (always?) 1.
 +
|-
 +
| 0x10
 +
| 0x10
 +
| AESMAC over contents?
 
|-
 
|-
 
| 0x20
 
| 0x20
| 0x8*(No. of entries)
+
| 0x4*(No. of entries)
| Entries for each content begin here with size 0x8.
+
| List of contentIDs in (usually) descending order
 +
|-
 +
| 0x20 + 0x4*(No. of entries)
 +
| 0x4*(No. of entries)
 +
| List of contentIDs in (usually) ascending order
 
|-
 
|-
 
| 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 are AESMACs, one for each content.
 
|}
 
|}
  
96

edits