Line 96:
Line 96:
| 0x0
| 0x0
| 0x20
| 0x20
−
| Header, for TWL .cmd the first 3 words are usually value 1, the rest of the header is all-zero.
+
| 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?
|-
|-
| 0x20
| 0x20
−
| 0x18
+
| 0x8
−
| Entries for each content begin here with size 0x8. For SD titles the entry size is 0x18.
+
| Entries for each content begin here with size 0x8.
|}
|}
Line 117:
Line 117:
| 0x8
| 0x8
| Unknown, usually zero for TWL
| Unknown, usually zero for TWL
−
|-
−
| 0x8
−
| 0x10
−
| ?
|}
|}
+
+
The last 0x20-bytes in .cmd for SD titles seems to be a SHA-256 hash?
'''"00000001.sav"''' - This is the title's encrypted savegame. Renaming these savegames causes home-menu to hang while launching titles, modifying these saves results in the same corruption errors as other savegames.
'''"00000001.sav"''' - This is the title's encrypted savegame. Renaming these savegames causes home-menu to hang while launching titles, modifying these saves results in the same corruption errors as other savegames.