In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
443 bytes added ,  02:17, 11 December 2006
Line 17: Line 17:  
=== Block format ===
 
=== Block format ===
   −
Each block begins with a four-byte magic number / ID code 'RNCD'. Six unknown bytes (mostly zeroes) follow. Then follow the individual Mii data blocks. The last two bytes of the block are a [http://www.joegeluso.com/software/articles/ccitt.htm CRC-16 CCITT] of the previous 750 bytes (polynomial 0x1021, starting value 0x0000). [http://marcansoft.com/transf/fixcrc.c C code to update CRC]
+
At the beginning of each block, there is a 4-byte value ('RNCD') which may be a Mii software version number, as it is the same across multiple Wiis and multiple Wiimotes. After these 4 bytes, there are 2 bytes which determine which slots are Mii parade slots.  Left shift 0x0001 by the slot number to set it as Mii parade (hidden when viewed on the Wiimote). If a slot is empty, or filled by a non-parade Mii, its parade slot bit will be set to 0.
 +
 
 +
The last two bytes of the block are a [http://www.joegeluso.com/software/articles/ccitt.htm CRC-16 CCITT] of the previous 750 bytes (polynomial 0x1021, starting value 0x0000). [http://marcansoft.com/transf/fixcrc.c C code to update CRC]
 +
 
 +
Unknown Data:
 +
  * Effect of changing the first 4 bytes of the Mii block.
 +
  * What the 7 leading bits in the Mii parade bytes are used for.
    
=== Mii format ===
 
=== Mii format ===
34

edits

Navigation menu