/shared2/wc24/nwc24fl.bin

From WiiBrew
< /shared2‎ | wc24
Jump to navigation Jump to search

Description

/shared2/wc24/nwc24fl.bin contains the friend list, ie. the Wii Message Board's address book entries.

File structure

Start Length Description
0x000 4 Magic (0x5763466C = "WcFl")
0x004 4 Unknown
0x008 4 Maximum friend entries (max_entries)
0x00C 4 Number of friend entries
0x010 48 Padding
0x040 max_entries * 8 Friend Codes
0x360 max_entries * 320 Friend list entry[100]

The start address of the friend list entries (0x360) is only correct if max_entries=100.

The Friend Codes themselves are not stored in ASCII, they are just numbers. The "-" signs (as in 1234-5678-0555-0148) are only displayed to enhance readability.

Friend list entry

Start Length Description
0x000 4 0x00000002 if E-mail. 0x00000001 if Friend Code.
0x004 4 0x00000003 if declined. 0x00000002 if confirmed friend. 0x00000001 if unconfirmed. (E-mail is always 0x0001)
0x008 24 Nickname (Unicode)
0x020 4 Mii ID
0x024 4 System ID
0x028 24 Reserved region
0x040 96 Friend Code or Email
0x0A0 160 Padding

The nickname length could be limited to 10 characters as well, just like the nicknames of Miis. A maximum length of 10 characters would imply another unknown four bytes long value right before the Mii ID.