#mesh #decompilation #mii #vfl #texture #parser

vee_resources

Parsing Mii mesh and texture files. Part of vfl.

3 unstable releases

Uses new Rust 2024

0.2.0 Jun 9, 2025
0.1.1 May 30, 2025
0.1.0 May 30, 2025

#30 in Data formats

Download history 252/week @ 2025-05-28 105/week @ 2025-06-04 32/week @ 2025-06-11

389 downloads per month
Used in 3 crates

MIT/Apache

91KB
2K SLoC

VFL — Vee Face Library

Coverage Status

Research library for replicating Mii functionality from decompilations in a more modern language and runtime.

Targets

Ideally, this library will replicate functionality accurately from these targets:

  • Cafe (WUP)
  • Centrair (CTR) Why did they name it after an airport‽
  • Nx

Not currently targeted:

  • Revolution (RVL)
  • Nitro (NTR)
  • Any other target (Miitomo, Mii Studio, etc.)

Libraries

This project currently has the libraries:

  • vfl (Parent library)
  • vee_parse
  • vee_resources
  • vee_models
  • vee_wgpu

Binaries

This project currently has three binaries:

  • vfl-cli — Debug tool for quick interfacing with the library.
  • lightweight_viewer — Basic test renderer, orbits a few test characters.
  • bevy_viewer — Example of using this library in Bevy.

bevy_viewer is currently out of the workspace tree, so it has to be run separately.

Running

  • Dump Nx shape and texture resources, place in ./resources_here
    • Currently, vee only supports NXTextureMidSRGB.dat and ShapeMid.dat
  • lightweight_viewer
    • cargo run --bin lightweight_viewer
  • vfl-cli
    • cargo run --bin vfl-cli
  • bevy_viewer
    • cd crates/bevy_viewer && cargo run
    • Running bevy_viewer in the browser:
      • Install wasm-server-runner
      • cd crates/bevy_viewer && cargo run --target wasm32-unknown-unknown

Acknowledgements

Dependencies

~23MB
~288K SLoC