Jump to content

Arch Face Library: Difference between revisions

From Mii Technical Wiki
m minor correction to miitomo funcs. there is no AFLiCharInfo2, sorry for disappointing.
m fix ver3storedata link
 
Line 5: Line 5:
It additionally supports OpenGL ES 2.0 and abstracts out graphics calls, filesystem, and OS calls for iOS and Android. There are new classes for AFLPlatformFS, AFLPlatformOS, and AFLPlatformGX, as well as settable callbacks for graphics calls (which use C++11 std::function callbacks).
It additionally supports OpenGL ES 2.0 and abstracts out graphics calls, filesystem, and OS calls for iOS and Android. There are new classes for AFLPlatformFS, AFLPlatformOS, and AFLPlatformGX, as well as settable callbacks for graphics calls (which use C++11 std::function callbacks).


AFL uses [[FFLStoreData/Ver3StoreData]] (renamed to AFLStoreData) as its data format, but Miitomo 2.3.0 additionally uses [[nn::mii::CoreData]] alongside it. The resource file, AFLResHigh(2_3).dat, is a modified version of the FFL resource file with expanded textures.
AFL uses [[Ver3StoreData|FFLStoreData/Ver3StoreData]] (renamed to AFLStoreData) as its data format, but Miitomo 2.3.0 additionally uses [[nn::mii::CoreData]] alongside it. The resource file, AFLResHigh(2_3).dat, is a modified version of the FFL resource file with expanded textures.


Miitomo 2.3.0 additionally adds [[nn::mii]] (libnn_mii_core) into the game, mixed with AFL functions (e.g., AFLiNXCharInfo type, AFLiCoreDataToNXCharInfo...) and adds extra glasses into the resource to support Switch Mii features and data.
Miitomo 2.3.0 additionally adds [[nn::mii]] (libnn_mii_core) into the game, mixed with AFL functions (e.g., AFLiNXCharInfo type, AFLiCoreDataToNXCharInfo...) and adds extra glasses into the resource to support Switch Mii features and data.

Latest revision as of 18:51, 10 September 2025

Arch Face Library, shortened to AFL, is the library used to render Mii characters and manage Mii data in the game Miitomo.

It is a fork of the Cafe Face Library, evident by many identical symbols shared between the two, with "FFL" renamed to "AFL". Assertions and structures match up, even some misspelled functions ("AFL/FFLiGetShapeResoucePartsInfos") are shared. On Android, the library and exports are in the main binary, libcocos2dcpp.so.

It additionally supports OpenGL ES 2.0 and abstracts out graphics calls, filesystem, and OS calls for iOS and Android. There are new classes for AFLPlatformFS, AFLPlatformOS, and AFLPlatformGX, as well as settable callbacks for graphics calls (which use C++11 std::function callbacks).

AFL uses FFLStoreData/Ver3StoreData (renamed to AFLStoreData) as its data format, but Miitomo 2.3.0 additionally uses nn::mii::CoreData alongside it. The resource file, AFLResHigh(2_3).dat, is a modified version of the FFL resource file with expanded textures.

Miitomo 2.3.0 additionally adds nn::mii (libnn_mii_core) into the game, mixed with AFL functions (e.g., AFLiNXCharInfo type, AFLiCoreDataToNXCharInfo...) and adds extra glasses into the resource to support Switch Mii features and data.

  • Miitomo
  • Nintendo Account 2.0.0 / studio.mii.nintendo.com icon renderer server

Trivia

[edit | edit source]
  • Arch is the codename for Miitomo. The true name of AFL is unknown, but the A is likely for Arch.