SD title export: Difference between revisions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
While the banner, the public savegame, and several other metablocks are encrypted with a shared key, which means any DSi can inspect these parts of the file. | While the banner, the public savegame, and several other metablocks are encrypted with a shared key, which means any DSi can inspect these parts of the file. | ||
[[ES block encryption]] is used to encrypt the header block, footer block, and the 11 parts. Each are their own seperate ES blocks. | [[ES block encryption]] is used to encrypt the header block, footer block, and the 11 content parts. Each are their own seperate ES blocks. | ||
= Tad file structure overview = | |||
= header block @ 0x4020 (size 0xB4) = | {| class="wikitable" | ||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 | |||
| 0x4020 ? | |||
| Banner/Icon | |||
|- | |||
| 0x4020 | |||
| 0xB4 | |||
| Header | |||
|- | |||
| 0x40F4 | |||
| 0x460 | |||
| Footer (certificates/hashes) | |||
|- | |||
| 0x4554 | |||
| - | |||
| Content parts in sequence (TMD, SRL, savegame, custom banner). | |||
|} | |||
The banner, header, footer and savegame are encrypted with a shared key between each DSi. The other content parts are encrypted with a console specific key. | |||
= Header block @ 0x4020 (size 0xB4) = | |||
0000000: 34 41 4e 54 31 30 00 01 74 e9 2c 1e 24 00 00 00 4ANT10..t.,.$... | 0000000: 34 41 4e 54 31 30 00 01 74 e9 2c 1e 24 00 00 00 4ANT10..t.,.$... | ||
0000010: d6 e0 39 c3 98 3f 06 b6 9a b2 9d 14 e7 06 e9 00 ..9..?.......... | 0000010: d6 e0 39 c3 98 3f 06 b6 9a b2 9d 14 e7 06 e9 00 ..9..?.......... | ||