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

Wii Number

From WiiBrew
Jump to navigation Jump to search

The Wii Number is the 16-digit (and 64 bit) friend code of your Wii, which can be registered with other Wiis to exchange mail via WiiConnect24 (and now RiiConnect24).

It's made up of a few variables that identify your Wii:

  • Hollywood ID
    • The unique id of the Hollywood chip in the Wii
  • Counter (mod 32)
    • Increments every time you format your Wii, can range from 0-31, and back wraps around to 0 after it surpasses 31
  • Hardware Model
  • Area Code:
    • 1 = USA
    • 2 = EUR
    • 3 = JPN
    • etc...
  • CRC Checksum

These variables are then scrambled using a ton of complicated bitwise operations.

RiiConnect24 has source code to encode and decode a Wii Number. It has been ported to C, Golang, and Python.