Line 5:
Line 5:
=== Overall format ===
=== Overall format ===
−
The Mii data is stored on the Wiimote in two blocks. Presumably, the Wii only updates one of these each time, alternating between, and reads the most current one, or maybe the Wii just updates both, and if the process is interrupted (rendering one of them corrupted), it reads whichever one is valid.
+
The Mii data is stored on the Wiimote in two blocks. Each block is composed of 750 bytes of Mii data, followed by a 2 byte CRC. If the data in the first block does not match the CRC for that block, the second block is used instead. At that point, if the CRC of the second block does not match its data, no Mii data will be available.
The blocks are 752 bytes in length (0x2f0 bytes), and are stored consecutively starting at address 0x0fca in the Wiimote memory.
The blocks are 752 bytes in length (0x2f0 bytes), and are stored consecutively starting at address 0x0fca in the Wiimote memory.