Difference between revisions of "User:Ryccardo/CFL DB.dat"

From 3dbrew
Jump to navigation Jump to search
(First data)
 
(No difference)

Latest revision as of 20:51, 28 March 2016

Format of the Mii Maker main database, found in shared extdata f0000000b

Header: 43464F47 "CFOG" 00010000

Mii format:

Offset Length
0x0 0x4 Mii ID (big-endian 32-bit unsigned integer)
The most significant 3 bits determine whether the Mii is Special, Foreign, or Normal [1]
time_offset = (mii_id & 0x0FFFFFFF) * 2;
time_offset is the time the Mii was created, represented as the number of seconds since 01/01/2010 00:00:00
0x4 0x4 System ID (identifies owner, for purpose of enforcing editing restrictions and blue pants). May not be the console's MAC, unlike on Wii/DSi.
0x8 0x1 Unknown (always 71?)
0x9 0x1 Allow Copying (?) (A2=on?)
0xA 0x6 unknown
0x10 0x6 Creator's full MAC
0x16 0x2 Padding (0000)
0x18 0x2 Bit-mapped: Birthday (4bit-day,5bit-month), Sex, Shirt, ??
0x1A 0x14 UTF-16 Mii Name (10 chars max, 0000 terminated)
0x2E 0x2 width & height
0x30 0x1 bit 0: disable sharing
bit 1-4: face shape
bit 5-7: skin color
0x31 0x1 bit 0-3: wrinkles
bit 4-7: makeup
0x32 0x1 hair style
0x33 0x1 bit 0-2: hair color
bit 3: flip hair
0x34 0x4 unknown
0x38 0x1 bit 0-4: eyebrow style
bit 5-7: eyebrow color
0x39 0x1 bit 0-3: eyebrow scale
bit 4-6: eyebrow yscale
0x3A 0x2 note that the bytes are swapped over (little-endian layout)
bit 0-3: eyebrow rotation
bit 5-8: eyebrow x spacing
bit 9-13: eyebrow y position
0x3C 0x1 Allow Copying (?)
0x3D 0x3 unknown
0x40 0x1 Mii Sharing Value (?)
0x41 0x7 unknown
0x48 0x14 UTF-16 Author Name (10 chars max, 0000 terminated)