SD title export: Difference between revisions
No edit summary |
if things have magic numbers, let's use them to describe them instead of their sizes kthx :) |
||
| Line 26: | Line 26: | ||
= | = TNA4 block (header?) = | ||
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..?.......... | ||
| Line 50: | Line 50: | ||
| 0x00 | | 0x00 | ||
| 4 | | 4 | ||
| Always 0x544E4134 | | Always 0x544E4134 ('TNA4', endian-swapped) | ||
|- | |- | ||
| 0x04 | | 0x04 | ||
| 2 | | 2 | ||
| Unknown | | Unknown ('10') -- maker code? | ||
|- | |- | ||
| 0x06 | | 0x06 | ||
| Line 89: | Line 89: | ||
|} | |} | ||
= | = Certificate block = | ||
0000000: d6 f3 24 7c a1 0f 4a dc cd 07 34 d6 ce 62 32 93 ..$|..J...4..b2. | 0000000: d6 f3 24 7c a1 0f 4a dc cd 07 34 d6 ce 62 32 93 ..$|..J...4..b2. | ||
| Line 160: | Line 160: | ||
0000430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | 0000430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | ||
It is assumed that this block contains an ECC signature, aswell as the console id and serial of the DSi that exported the file. | It is assumed that this block contains an ECC signature, aswell as the console id and serial of the DSi that exported the file, as part of a Nintendo cert. Much like the Wii, the DSi carries with it a private ECC key that it can use to sign things, and a certificate signed by Nintendo that attests to the fact that the public ECC key belongs to a genuine DSi. | ||