Line 97:
Line 97:
|-
|-
| 0x0
| 0x0
−
| 0x20
+
| 0x4
−
| Header, for TWL .cmd the first 3 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?
+
| .cmd ContentID, for the .cmd filename. This is the beginning of the header.
+
|-
+
| 0x4
+
| 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?
|-
|-
| 0x20
| 0x20
Line 106:
Line 110:
| 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 MACs, one for each content. These MACs are only stored in .cmd for SD titles.
|}
|}
Line 122:
Line 126:
| 0x4
| 0x4
| 0x8
| 0x8
−
| Content index+1
+
| Unknown
|}
|}