| Mii ID (big-endian 32-bit unsigned integer)<br/>The most significant 3 bits determine whether the Mii is Special, Foreign, or Normal [http://www.davidhawley.co.uk/special-miis-gold-pants-and-creating.aspx]<br/>time_offset = (mii_id & 0x0FFFFFFF) * 2;<br/>time_offset is the time the Mii was created, represented as the number of seconds since 01/01/2010 00:00:00
+
| Mii ID (big-endian 32-bit unsigned integer)<br/>The most significant 3 bits determine whether the Mii is Special, Foreign, or Normal [https://web.archive.org/web/20071011001718/http://www.davidhawley.co.uk/special-miis-gold-pants-and-creating.aspx]<br/>time_offset = (mii_id & 0x0FFFFFFF) * 2;<br/>time_offset is the time the Mii was created, represented as the number of seconds since 01/01/2010 00:00:00
|-
|-
| 0x4
| 0x4
Line 33:
Line 33:
| 0xC
| 0xC
| 0x8
| 0x8
−
| System ID
+
| System ID (this ID is produced by the output from [https://www.3dbrew.org/wiki/Cfg:GenHashConsoleUnique GenHashConsoleUnique(0x0)])
|-
|-
| 0x14
| 0x14
Line 113:
Line 113:
| 0x5E
| 0x5E
| 0x2
| 0x2
−
| unknown
+
| CRC16 over the previous 0x5E
|-
|-
| 0x60
| 0x60
Line 125:
Line 125:
Created, received, or even met-in-multiplayer Miis are saved in [[Mii|CFL_DB.dat]].
Created, received, or even met-in-multiplayer Miis are saved in [[Mii|CFL_DB.dat]].
+
+
== Savedata ==
+
=== editSaveData.bin ===
+
{| class="wikitable"
+
|-
+
! Offset
+
! Length
+
!
+
|-
+
| 0x0
+
| 0x4
+
| "TIDE" header (EDIT byteswapped)
+
|-
+
| 0x4
+
| 0x4
+
| zero
+
|-
+
| 0xC
+
| 0x4 (?)
+
| 01000000 (constant?)
+
|-
+
| 0x100
+
| 0x4
+
| Number of scanned Special Mii QRs
+
|-
+
| 0x104
+
| -
+
| Some data identifying each scanned Special Mii QRs, for the purpose of not making them scannable again. 8 or 12 byte each?