Changes

Jump to navigation Jump to search
5,585 bytes removed ,  23:33, 29 March 2016
m
Added CRC info on QR code encrypted Mii
Line 64: Line 64:  
| Empty (00)
 
| Empty (00)
 
|}
 
|}
 +
When encrypted in QR codes, 4 additionnal bytes are added. Two null bytes and a CRC-16. It's the exact same CRC-16 as for the Wii blocks on the 0x5e first bytes. It seems that the CRC is ignored, the Mii Maker expecting the result of APT:Unwrap to detect integrity loss.
    
==Mii format==
 
==Mii format==
Line 206: Line 207:     
First digit of Mii ID: 2, 3, 6, 7, 8, 9, A, B, E, F
 
First digit of Mii ID: 2, 3, 6, 7, 8, 9, A, B, E, F
  −
==Mii values==
  −
  −
Each of the following values were found with NTR Debugger:
  −
If you want to access the value, grab the given "NTR address" and add 0x08815000.
  −
  −
{| class="wikitable"
  −
|-
  −
! Data
  −
! NTR address
  −
! Variation (hex)
  −
! Notes
  −
|-
  −
| Face style
  −
| 0x894
  −
| 00-0B
  −
| Not ordered as in editor, read below
  −
|-
  −
| Face color
  −
| 0x898
  −
| 00-05
  −
| From top to bottom
  −
|-
  −
| Wrinkles
  −
| 0x89C
  −
| 00-0B
  −
| Same order as displayed in editor
  −
|-
  −
| Makeup
  −
| 0x8A0
  −
| 00-0B
  −
| Same order as displayed in editor
  −
|-
  −
| Hair style
  −
| 0x8A4
  −
| 00-84
  −
| Not ordered as in editor, read below
  −
|-
  −
| Hair color
  −
| 0x8A8
  −
| 00-07
  −
| From top to bottom
  −
|-
  −
| Hair flipped
  −
| 0x8AC
  −
| 1 if true
  −
| From top to bottom
  −
|-
  −
| Eye style
  −
| 0x8B0
  −
| 00-3C
  −
| Not ordered as in editor, read below
  −
|-
  −
| Eyes color
  −
| 0x8B4
  −
| 00-05
  −
| From top to bottom
  −
|-
  −
| Eyes size
  −
| 0x8B8
  −
| 07-00
  −
| Left button increases value.
  −
|-
  −
| Eyes thickness
  −
| 0x8BC
  −
| 06-00
  −
| Left button increases value.
  −
|-
  −
| Eyes rotation
  −
| 0x8C0
  −
| 00-07
  −
|
  −
|-
  −
| Eyes spacing
  −
| 0x8C4
  −
| 00-0C
  −
|
  −
|-
  −
| Eyes height
  −
| 0x8C8
  −
| 00-12
  −
|
  −
|-
  −
| Eyebrows style
  −
| 0x8CC
  −
| 00-18
  −
| Not ordered as in editor, read below
  −
|-
  −
| Eyebrows color
  −
| 0x8D0
  −
| 00-07
  −
| From top to bottom
  −
|-
  −
| Eyebrows size
  −
| 0x8D4
  −
| 08-00
  −
| Left button increases value.
  −
|-
  −
| Eyebrows thickness
  −
| 0x8D8
  −
| 06-00
  −
| Left button increases value.
  −
|-
  −
| Eyebrows rotation
  −
| 0x8DC
  −
| 00-0B
  −
|
  −
|-
  −
| Eyebrows spacing
  −
| 0x8E0
  −
| 00-0C
  −
|
  −
|-
  −
| Eyebrows height
  −
| 0x8E4
  −
| 03-12
  −
| Yup, minimum is 0x03
  −
|-
  −
| Nose style
  −
| 0x8E8
  −
| 00-11
  −
| Not ordered as in editor, read below
  −
|-
  −
| Nose size
  −
| 0x8EC
  −
| 08-00
  −
| Left button increases value.
  −
|-
  −
| Nose height
  −
| 0x8F0
  −
| 00-12
  −
|
  −
|-
  −
| Mouth style
  −
| 0x8F4
  −
| 00-23
  −
| Not ordered as in editor, read below
  −
|-
  −
| Mouth color
  −
| 0x8F8
  −
| 00-04
  −
| From top to bottom.
  −
|-
  −
| Mouth size
  −
| 0x8FC
  −
| 08-00
  −
| Left button increases value.
  −
|-
  −
| Mouth thickness
  −
| 0x900
  −
| 06-00
  −
| Left button increases value.
  −
|-
  −
| Mouth height
  −
| 0x904
  −
| 00-12
  −
|
  −
|-
  −
| Mustache style
  −
| 0x908
  −
| 00-05
  −
| Order like in editor.
  −
|-
  −
| Beard style
  −
| 0x90C
  −
| 00-05
  −
| Order like in editor.
  −
|-
  −
| Mustache/Beard color
  −
| 0x910
  −
| 00-07
  −
| From top to button.
  −
|-
  −
| Mustache size
  −
| 0x914
  −
| 08-00
  −
| Left button increases value.
  −
|-
  −
| Mustache height
  −
| 0x918
  −
| 00-10
  −
|
  −
|-
  −
| Glasses style
  −
| 0x91C
  −
| 00-08
  −
| Order like in editor.
  −
|-
  −
| Glasses color
  −
| 0x920
  −
| 00-05
  −
| From top to bottom
  −
|-
  −
| Glasses size
  −
| 0x924
  −
| 07-00
  −
| Left button increases value.
  −
|-
  −
| Glasses height
  −
| 0x928
  −
| 00-14
  −
|
  −
|-
  −
| Mole enable
  −
| 0x92C
  −
| 1 if enabled, 0 else.
  −
|
  −
|-
  −
| Mole size
  −
| 0x930
  −
| 08-00
  −
| Left button increases value.
  −
|-
  −
| Mole horiz pos
  −
| 0x934
  −
| 00-10
  −
|
  −
|-
  −
| Mole vert pos
  −
| 0x938
  −
| 00-1E
  −
|
  −
|-
  −
| Mii height
  −
| 0x93C
  −
| 00-7F
  −
|
  −
|-
  −
| Mii weight
  −
| 0x940
  −
| 00-7F
  −
|
  −
|-
  −
| Mii name
  −
| 0x944-0x959
  −
| UTF-16
  −
| Terminated with 0x0000. Not updated immediatly?
  −
|-
  −
| Creator's name
  −
| 0x95A-96F
  −
| UTF-16
  −
| Terminated with 0x0000. Not updated immediatly?
  −
|-
  −
| Mii gender
  −
| 0x970
  −
| 0: Male, 1: Female
  −
|
  −
|-
  −
| Birthdate month
  −
| 0x974
  −
| 01-0C
  −
|
  −
|-
  −
| Birthdate day
  −
| 0x978
  −
| 01-1F
  −
|
  −
|-
  −
| Mii shirt color
  −
| 0x97C
  −
| 00-0B
  −
| Ordered like in editor.
  −
|-
  −
| Favorite
  −
| 0x980
  −
| 0: false, 1: true
  −
|
  −
|-
  −
| Allow copy
  −
| 0x981
  −
| 0: false, 1: true
  −
|
  −
|-
  −
| Unused byte?
  −
| 0x982
  −
|
  −
|
  −
|-
  −
| Allow sharing
  −
| 0x983
  −
| 0: true, 1: false
  −
|
  −
|-
  −
| ???
  −
| 0x984-0x98F
  −
| All zero?
  −
|
  −
|-
  −
| ???
  −
| 0x990-0x997
  −
| 4?
  −
|
  −
|}
  −
0x08815998: Same 4 bytes as encrypted Mii: first 4 bits for Mii type, 4 next for number of seconds since 01/01/2010 00:00:00 UTC+3 (should be verified by other country and region 3DS) divided by 2.
  −
0x0881599C: 6 bytes of MAC address of the 3DS that created the Mii.
  −
0x088159A2: 6 unknow uses bytes
  −
0x088159A8: Same 8 bytes as decrypted Mii at 0x04 through 0x0B. Seems NAND specific, kept the same on Miis created on same NAND but different 3DS via System Transfer. Might be a coincidence but the two first bytes are in ID0 folder name in the Nintendo 3DS folder.
  −
  −
===Mapped Editor <-> Hex values===
  −
  −
Most of the values are ordered (left button decreases, right increases, color choices are top to bottom...) but for most "main" part of the UI, where you choose the style of the part being edited, hex values has no correlation with displayed order.
  −
Here is a JSON that can go from a Part, a Page and Position to the right hex value. This is 0 indexed (eg: datas["face"][0][11]).
  −
  −
<nowiki>{
  −
faces: [
  −
    0x00,0x01,0x08,
  −
    0x02,0x03,0x09,
  −
    0x04,0x05,0x0a,
  −
    0x06,0x07,0x0b
  −
],
  −
hairs: [
  −
    [0x21,0x2f,0x28,
  −
    0x25,0x20,0x6b,
  −
    0x30,0x33,0x37,
  −
    0x46,0x2c,0x42],
  −
    [0x34,0x32,0x26,
  −
    0x31,0x2b,0x1f,
  −
    0x38,0x44,0x3e,
  −
    0x73,0x4c,0x77],
  −
    [0x40,0x51,0x74,
  −
    0x79,0x16,0x3a,
  −
    0x3c,0x57,0x7d,
  −
    0x75,0x49,0x4b],
  −
    [0x2a,0x59,0x39,
  −
    0x36,0x50,0x22,
  −
    0x17,0x56,0x58,
  −
    0x76,0x27,0x24],
  −
    [0x2d,0x43,0x3b,
  −
    0x41,0x29,0x1e,
  −
    0x0c,0x10,0x0a,
  −
    0x52,0x80,0x81],
  −
    [0x0e,0x5f,0x69,
  −
    0x64,0x06,0x14,
  −
    0x5d,0x66,0x1b,
  −
    0x04,0x11,0x6e]
  −
    [0x7b,0x08,0x6a,
  −
    0x48,0x03,0x15,
  −
    0x00,0x62,0x3f,
  −
    0x5a,0x0b,0x78],
  −
    [0x05,0x4a,0x6c,
  −
    0x5e,0x7c,0x19,
  −
    0x63,0x45,0x23,
  −
    0x0d,0x7a,0x71],
  −
    [0x35,0x18,0x55,
  −
    0x53,0x47,0x83,
  −
    0x60,0x65,0x1d,
  −
    0x07,0x0f,0x70],
  −
    [0x4f,0x01,0x6d,
  −
    0x7f,0x5b,0x1a,
  −
    0x3d,0x67,0x02,
  −
    0x4d,0x12,0x5c],
  −
    [0x54,0x09,0x13,
  −
    0x82,0x61,0x68,
  −
    0x2e,0x4e,0x1c,
  −
    0x72,0x7e,0x6f]
  −
],
  −
eyebrows: [
  −
    [0x06,0x00,0x0c,
  −
    0x01,0x09,0x13,
  −
    0x07,0x15,0x08,
  −
    0x11,0x05,0x04],
  −
    [0x0b,0x0a,0x02,
  −
    0x03,0x0e,0x14,
  −
    0x0f,0x0d,0x16,
  −
    0x12,0x10,0x17]
  −
],
  −
nose: [
  −
    [0x01,0x0a,0x02,
  −
    0x03,0x06,0x00,
  −
    0x05,0x04,0x08,
  −
    0x09,0x07,0x0B],
  −
    [0x0d,0x0e,0x0c,
  −
    0x11,0x10,0x0f]
  −
],
  −
mouth: [
  −
    [0x17,0x01,0x13,
  −
    0x15,0x16,0x05,
  −
    0x00,0x08,0x0a,
  −
    0x10,0x06,0x0d],
  −
    [0x07,0x09,0x02,
  −
    0x11,0x03,0x04,
  −
    0x0f,0x0b,0x14,
  −
    0x12,0x0e,0x0c],
  −
    [0x1b,0x1e,0x18,
  −
    0x19,0x1d,0x1c,
  −
    0x1a,0x23,0x1f,
  −
    0x22,0x21,0x20]
  −
]
  −
}</nowiki>
 
3

edits

Navigation menu