Skip to content
@Make-Mii

Make-Mii

Make Mii!

Make Mii Logo

Real-time facial capture to playable Nintendo Wii Mii avatars

Built for HackNotts '26

Best AI/ML Project Telluvian Runner-up


Overview

Make Mii! is an end-to-end computer vision and Nintendo Wii homebrew system that transforms your real-life face into a Nintendo Mii avatar in real time. Using a live webcam, the system isolates facial landmarks and hair contours, matches physical characteristics against Nintendo Mii asset geometries using OpenAI's CLIP, extracts perceptual color tones in CIELAB space, and transfers the generated Mii over UDP to real Wii hardware to be rendered live and permanently saved into the console's Mii Plaza database.


Architecture Pipeline

1. Capture & Segmentation 2. AI Feature Matching 3. Payload Serialization 4. Wii Hardware Target

Webcam Stream

VideoCapture.py

↓

Google MediaPipe

Face landmarks & hair masks

↓

Live Stream Controls

Real-time sliders for Brightness, Contrast, Gamma & Saturation

OpenAI CLIP (ViT-B/32)

CLAHE texture filtering & cosine similarity matching against indexed Mii sprites

↓

CIELAB Delta-E

Weighted perceptual color quantization for skin, hair, and eyes

Binary Injection

mii_payload.py

Big-endian bitfield injection into template.mii

↓

UDP Broadcast

74-byte binary datagram sent over Wi-Fi to port 8080

Make Mii! Homebrew

wii-make-mii.dol

Hardware-accelerated GX rendering on Wii

↓

Wii NAND Persistence

Saves directly to /shared2/menu/FaceLib/RFL_DB.dat


Organization Repositories

The project is modularized into two dedicated repositories across the organization:

Repository Technology Stack Primary Responsibility
wii-ai Python 3.10, PyTorch, MediaPipe, OpenAI CLIP, OpenCV The CV/AI computer vision backend. Captures the webcam stream, performs landmark/hair segmentation, matches geometry and colors, and transmits the resulting 74-byte payload.
wii-make-mii C/C++, devkitPPC, libogc, GX / GRRLIB The native Nintendo Wii homebrew application. Listens on UDP port 8080, renders incoming Mii attributes on-screen, and writes the Mii record to the console's NAND database.

Quick Start Guide

1. Launch the Wii Application

  1. Compile wii-make-mii with devkitPPC or copy the prebuilt wii-make-mii.dol binary to apps/wii-make-mii/boot.dol on an SD card or USB drive.
  2. Launch Make Mii! from the Homebrew Channel.
  3. Note the Wii's local IP address displayed on the status bar (listening on port 8080).

2. Run the AI Processing Backend

  1. Clone and set up wii-ai:
git clone https://github.com/Make-Mii/wii-ai.git
cd wii-ai
conda create -n wii-ai python=3.10 -y
conda activate wii-ai
pip install -r requirements.txt
  1. Set WII_IP in src/main.py to match the IP address shown on your Wii screen.
  2. Start the capture and segmentation loop:
python src/main.py
  1. Use the OpenCV trackbar sliders (Brightness, Contrast, Gamma, Saturation) on the Stream window to calibrate for room lighting conditions.

3. Save to Console

  • Face the camera; the matched Mii updates dynamically on the Wii display.
  • Press [A] on the primary Wiimote to save the Mii into the console's Mii Plaza database (RFL_DB.dat).
  • Open the Mii Channel or launch Wii Sports, your avatar is now playable across all Wii software!

Network Protocol Specification

  • Transport Layer: UDP datagrams targeting port 8080.
  • Packet Size: Exactly 74 bytes.
  • Memory Layout: Packed big-endian Nintendo Mii binary format (RawMiiData), conforming to the official RFL_DB.dat record layout. Packets differing from 74 bytes are rejected by the console.

Wii Remote Controls

Wiimote Button Functionality
A Commit and save the active Mii to the Wii Plaza database (RFL_DB.dat)
B Freeze or resume the live incoming video stream
HOME Safely exit the homebrew application and return to the Homebrew Channel

NAND Safety Warning

Saving a Mii writes directly to /shared2/menu/FaceLib/RFL_DB.dat within the Nintendo Wii's internal NAND flash storage. Creating a BootMii NAND backup prior to testing is strongly recommended.

Popular repositories Loading

  1. wii-make-mii wii-make-mii Public

    Wii app that renders Miis live from Wi-Fi and saves them to the Mii Plaza. Make Mii! (HackNotts '26 Best AI/ML Project)

    C++ 1

  2. Wii-Mii Wii-Mii Public

  3. wii-segmentation wii-segmentation Public

    Python

  4. wii-embedding wii-embedding Public

    C

  5. wii-ai wii-ai Public

    Landmark Detection, Segmentation, Embedding and Mii attribute mapping for the Make-Mii application.

    Python

  6. .github .github Public

Repositories

Showing 6 of 6 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…