Line 1:
Line 1:
= Format =
= Format =
−
A savegame consists of a [[#Header|Header]], followed by a [[#Bk Header|Bk Header]] and a set of files contained in a [[#Files|files]] section. The savgames are signed while being copied to the SD card using the Wii's private NG key.
+
A savegame consists of a [[#Header|Header]], followed by a [[#Bk Header|Bk Header]] and a set of files contained in a [[#Files|files]] section, and finally a [[#Footer|footer]]. The savgames are signed while being copied to the SD card using the Wii's private NG key.
== Header ==
== Header ==
Line 291:
Line 291:
Savegames can be decrypted and unpacked with segher's tachtig and created with his twintig.
Savegames can be decrypted and unpacked with segher's tachtig and created with his twintig.
+
+
== Footer ==
+
The footer is mainly used for encryption.
+
{| class="wikitable"
+
|-
+
! Start
+
! End
+
! Length
+
! Description
+
|-
+
| 0x000
+
| 0x03C
+
| 60
+
| Unknown
+
|-
+
| 0x03D
+
| 0x040
+
| 4
+
| Unknown
+
|-
+
| 0x041
+
| 0x238
+
| 504
+
| NG certificate
+
|-
+
| 0x239
+
| 0x270
+
| 56
+
| Padding
+
|-
+
| 0x271
+
| 0x275
+
| 4
+
| Unknown
+
|-
+
| 0x276
+
| 0x46E
+
| 504
+
| AP certificate
+
|}
== See Also ==
== See Also ==