Nn::mii::CharInfo: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
This is the [[Mii Character Data|Mii data format]] used on [[nn::mii|Nintendo Switch]] and later. | |||
== ImHex Pattern == | == ImHex Pattern == | ||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
| Line 58: | Line 62: | ||
Mii mii_at_0x00 @ 0x00; | Mii mii_at_0x00 @ 0x00; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== In codebases == | |||
# [https://github.com/j0lol/vee/blob/f134e28eec22bdf8587d5abbf0f2d0f1ffc5b8a5/crates/vee_parse/src/nx.rs#L37 Vee Face Library (Unofficial)] | |||
...{{Format-Navbox}} | ...{{Format-Navbox}} | ||
[[Category:Data Structures]] | [[Category:Data Structures]] | ||
Revision as of 19:32, 23 September 2025
This is the Mii data format used on Nintendo Switch and later.
ImHex Pattern
struct Mii {
u8 create_id[16];
u16 nick[11];
u8 font;
u8 col;
u8 gend;
u8 height;
u8 build;
u8 type; // Special or not
u8 region_move;
u8 faceline_type;
u8 faceline_color;
u8 faceline_wrinkle;
u8 faceline_make;
u8 hair_type;
u8 hair_color;
u8 hair_flip;
u8 eye_type;
u8 eye_color;
u8 eye_scale;
u8 eye_aspect;
u8 eye_rotate;
u8 eye_x;
u8 eye_y;
u8 eyebrow_type;
u8 eyebrow_color;
u8 eyebrow_scale;
u8 eyebrow_aspect;
u8 eyebrow_rotate;
u8 eyebrow_x;
u8 eyebrow_y;
u8 nose_type;
u8 nose_scale;
u8 nose_y;
u8 mouth_type;
u8 mouth_color;
u8 mouth_scale;
u8 mouth_aspect;
u8 mouth_y;
u8 beard_color;
u8 beard_type;
u8 mustache_type;
u8 mustache_scale;
u8 mustache_y;
u8 glass_type;
u8 glass_color;
u8 glass_scale;
u8 glass_y;
u8 mole_type;
u8 mole_scale;
u8 mole_x;
u8 mole_y;
u8 reserved; /* always zero */
};
Mii mii_at_0x00 @ 0x00;
In codebases
...