Jump to content

Nn::mii: Difference between revisions

From Mii Technical Wiki
Created page with "<code>nn::mii</code> is a namespace in the NintendoSDK. It is used to render Mii characters on the Nintendo Switch family of systems. Sometimes, Mii characters created using this library are referred to as 'Ver4'. == Uses == * Nintendo Switch system and games * Nintendo Switch 2 system and games {{FL-Navbox}}"
 
more detail
Line 1: Line 1:
<code>nn::mii</code> is a namespace in the [[NintendoSDK]]. It is used to render [[Mii|Mii characters]] on the [[Nintendo Switch]] family of systems. Sometimes, Mii characters created using this library are referred to as 'Ver4'.
<code>nn::mii</code> is a namespace in the [[NintendoSDK]]. This is the library used to render [[Mii|Mii characters]] and manage [[Mii Character Data|Mii data]] on the [[Nintendo Switch]] and Switch 2.
 
Usually, it is referred to as un-specific names as just "''Face Library''" or "''Mii Face Library''". File magic (e.g., NFDB, NFIF...) uses the "NF" prefix, which could stand for "(''NintendoSDK, NX, Nintendo?) Face Library''".
 
The name <code>nn::mii</code> is used for conciseness, but confusingly there is another nn::mii namespace within the [[Nintendo 3DS|3DS SDK]], although that one is private and only contains StoreData parsing logic copied from [[Cafe Face Library|FFL]]. This is also why the SDK contains a typedef called <code>nnmiiStoreData</code> seen in certain games.
 
It is used Mii characters created using this library have extra features - namely, new [[CommonColorTable|colors]], and new glasses types. They are sometimes referred to as 'Ver4'.
 
The library is split into subfolders/binaries:
 
* libnn_mii_core
** Contains [[Mii Character Data|Mii data]] parsing logic, color tables, eye/eyebrow rotation tables.
* libnn_mii_draw
** Contains resource parsing and rendering functionality using nn::gfx.
** Also has shader and icon implementations (Icon, IconBody, VariableIconBody).
* libnn_mii_database, libnn_mii_shell, libnn_mii_server
** database = Database parsing used in server, shell = Database service clients?
** server = Database service contained within service binaries.
* libnn_mii_private
** Found in libnn_nfcServer/libnn_nfcDriver.
** Contains utilities for [[Nn::mii::NfpStoreData|amiibo data]].


== Uses ==
== Uses ==


* Nintendo Switch system and games
* MiiEditN (Mii editor applet, also called "Face Editor")
* Nintendo Switch 2 system and games
* amiibo Settings
* Mario Kart 8 Deluxe
* Super Smash Bros. Ultimate
* Mario Golf: Super Rush


{{FL-Navbox}}
{{FL-Navbox}}

Revision as of 13:58, 6 August 2025

nn::mii is a namespace in the NintendoSDK. This is the library used to render Mii characters and manage Mii data on the Nintendo Switch and Switch 2.

Usually, it is referred to as un-specific names as just "Face Library" or "Mii Face Library". File magic (e.g., NFDB, NFIF...) uses the "NF" prefix, which could stand for "(NintendoSDK, NX, Nintendo?) Face Library".

The name nn::mii is used for conciseness, but confusingly there is another nn::mii namespace within the 3DS SDK, although that one is private and only contains StoreData parsing logic copied from FFL. This is also why the SDK contains a typedef called nnmiiStoreData seen in certain games.

It is used Mii characters created using this library have extra features - namely, new colors, and new glasses types. They are sometimes referred to as 'Ver4'.

The library is split into subfolders/binaries:

  • libnn_mii_core
    • Contains Mii data parsing logic, color tables, eye/eyebrow rotation tables.
  • libnn_mii_draw
    • Contains resource parsing and rendering functionality using nn::gfx.
    • Also has shader and icon implementations (Icon, IconBody, VariableIconBody).
  • libnn_mii_database, libnn_mii_shell, libnn_mii_server
    • database = Database parsing used in server, shell = Database service clients?
    • server = Database service contained within service binaries.
  • libnn_mii_private
    • Found in libnn_nfcServer/libnn_nfcDriver.
    • Contains utilities for amiibo data.

Uses

  • MiiEditN (Mii editor applet, also called "Face Editor")
  • amiibo Settings
  • Mario Kart 8 Deluxe
  • Super Smash Bros. Ultimate
  • Mario Golf: Super Rush