-
Notifications
You must be signed in to change notification settings - Fork 8
/
gen3_switchgame.ksy
167 lines (167 loc) · 7.39 KB
/
gen3_switchgame.ksy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
meta:
id: gen3_switchgame
endian: le
seq:
- id: unknown_data
type: u1
repeat: expr
repeat-expr: 16
doc: Currently unknown data.
- id: mii_name
type: str
size: 20
encoding: utf-16le
doc: Mii name. Can be up to 10 characters long. Different from the Mii name that appears in Smash - in game, this is never seen.
- id: unknown_buffer
type: u1
repeat: expr
repeat-expr: 3
doc: Currently unknown data - likely a 00 buffer between the name and misc. info and the rest of the Mii data.
- id: favorite_color
type: u1
doc: Favorite color. Ranges from 0 to 11.
- id: gender
type: u1
doc: Mii gender. 0 = male, 1 = female.
- id: body_height
type: u1
doc: Body height. Ranges from 0 to 127, short to tall.
- id: body_weight
type: u1
doc: Body weight. Ranges from 0 to 127, small to large.
- id: unknown_buffer2
type: u1
repeat: expr
repeat-expr: 2
doc: Currently unknown data - likely a 00 buffer between the Mii body data and the Mii face data.
- id: face_type
type: u1
doc: Face shape. Ranges from 0 to 11. Not ordered the same as visible in editor. A map of the internal values in correlation to the Mii editor is at /maps.txt/{face}.
- id: face_color
type: u1
doc: Skin color. Ranges from 0 to 9. Not ordered the same as visible in editor. A map of the internal values in correlation to the Mii editor is at /maps.txt/{skin}.
- id: face_wrinkles
type: u1
doc: Face wrinkles. Ranges from 0 to 11.
- id: face_makeup
type: u1
doc: Face makeup. Ranges from 0 to 11.
- id: hair_type
type: u1
doc: Hair type. Ranges from 0 to 131. Not ordered the same as visible in editor. A map of the internal values in correlation to the Mii editor is at /maps.txt/{hair}.
- id: hair_color
type: u1
doc: Hair color. Ranges from 0 to 99. Not ordered the same as visible in editor. A map of the internal values in correlation to the Mii editor is at /maps.txt/{hair-color} for default colors and /maps.txt/{colors} for custom colors.
- id: hair_flip
type: u1
doc: Flip hair. 0 = no, 1 = yes.
- id: eye_type
type: u1
doc: Eye type. Ranges from 0 to 59. Not ordered the same as visible in editor. A map of the internal values in correlation to the Mii editor is at /maps.txt/{eyes}.
- id: eye_color
type: u1
doc: Eye color. Ranges from 0 to 99. Not ordered the same as visible in editor. A map of the internal values in correlation to the Mii editor is at /maps.txt/{eye-color} for default colors and /maps.txt/{colors} for custom colors.
- id: eye_size
type: u1
doc: Eye size. Ranges from 0 to 7, small to large.
- id: eye_stretch
type: u1
doc: Eye stretch. Ranges from 0 to 6, small to large.
- id: eye_rotation
type: u1
doc: Eye rotation. Ranges from 0 to 7, down to up. Note that some eye types have a default rotation. You can find more specifics at /rotation.txt/{eyes}.
- id: eye_horizontal
type: u1
doc: Eye X (horizontal) distance. Ranges from 0 to 12, close to far.
- id: eye_vertical
type: u1
doc: Eye Y (vertical) position. Ranges from 18 to 0, low to high.
- id: eyebrow_type
type: u1
doc: Eyebrow type. Ranges from 0 to 23. Not ordered the same as visible in editor. A map of the internal values in correlation to the Mii editor is at /maps.txt/{eyebrows}.
- id: eyebrow_color
type: u1
doc: Eyebrow color. Ranges from 0 to 99. Not ordered the same as visible in editor. A map of the internal values in correlation to the Mii editor is at /maps.txt/{hair-color} for default colors and /maps.txt/{colors} for custom colors.
- id: eyebrow_size
type: u1
doc: Eyebrow size. Ranges from 0 to 8, small to large.
- id: eyebrow_stretch
type: u1
doc: Eyebrow stretch. Ranges from 0 to 6, small to large.
- id: eyebrow_rotation
type: u1
doc: Eyebrow rotation. Ranges from 0 to 11, down to up. Note that some eyebrow types have a default rotation. You can find more specifics at /rotation.txt/{eyebrows}.
- id: eyebrow_horizontal
type: u1
doc: Eyebrow X (horizontal) distance. Ranges from 0 to 12, close to far.
- id: eyebrow_vertical
type: u1
doc: Eyebrow Y (vertical) distance. Ranges from 18 to 3, low to high.
- id: nose_type
type: u1
doc: Nose type. Ranges from 0 to 17. Not ordered the same as visible in editor. A map of the internal values in correlation to the Mii editor is at /maps.txt/{nose}.
- id: nose_size
type: u1
doc: Nose size. Ranges from 0 to 8, small to large.
- id: nose_vertical
type: u1
doc: Nose Y (vertical) position. Ranges from 18 to 0, low to high.
- id: mouth_type
type: u1
doc: Mouth type. Ranges from 0 to 35. Not ordered the same as visible in editor. A map of the internal values in correlation to the Mii editor is at /maps.txt/{mouth}.
- id: mouth_color
type: u1
doc: Mouth color. The default colors are ordered the same as visible in editor, ranging from 19 to 23. The custom colors are not and range from 0 to 99. A map of the internal values in correlation to the Mii editor is at /maps.txt/{colors} for custom colors.
- id: mouth_size
type: u1
doc: Mouth size. Ranges from 0 to 8, small to large.
- id: mouth_stretch
type: u1
doc: Mouth stretch. Ranges from 0 to 6, small to large.
- id: mouth_vertical
type: u1
doc: Mouth Y (vertical) position. Ranges from 18 to 0, low to high.
- id: facial_hair_color
type: u1
doc: Facial hair color. Ranges from 0 to 99. Not ordered the same as visible in editor. A map of the internal values in correlation to the Mii editor is at /maps.txt/{hair-color} for default colors and /maps.txt/{colors} for custom colors.
- id: facial_hair_beard
type: u1
doc: Beard type. Ranges from 0 to 5.
- id: facial_hair_mustache
type: u1
doc: Mustache type. Ranges from 0 to 5.
- id: facial_hair_size
type: u1
doc: Mustache size. Ranges from 0 to 8, small to large.
- id: facial_hair_vertical
type: u1
doc: Mustache Y (vertical) position. Ranges from 16 to 0, low to high.
- id: glasses_type
type: u1
doc: Glasses type. Ranges from 0 to 19. Not ordered the same as visible in editor. A map of the internal values in correlation to the Mii editor is at /maps.txt/{glasses}.
- id: glasses_color
type: u1
doc: Glasses color. Ranges from 0 to 99. Not ordered the same as visible in editor. A map of the internal values in correlation to the Mii editor is at /maps.txt/{glasses-color} for default colors and /maps.txt/{colors} for custom colors.
- id: glasses_size
type: u1
doc: Glasses size. Ranges from 0 to 7, small to large.
- id: glasses_vertical
type: u1
doc: Glasses Y (vertical) position. Ranges from 20 to 0, low to high.
- id: mole_enable
type: u1
doc: Enable mole. 0 = no, 1 = yes.
- id: mole_size
type: u1
doc: Mole size. Ranges from 0 to 8, small to large.
- id: mole_horizontal
type: u1
doc: Mole X (horizontal) position. Ranges from 0 to 16, left to right.
- id: mole_vertical
type: u1
doc: Mole Y (vertical) position. Ranges from 30 to 0, low to high.
- id: unknown_buffer3
type: u1
repeat: expr
repeat-expr: 1
doc: Currently unknown data - likely a 00 buffer between the Mii data and the Smash Ultimate data.