# Hagi: decompiling the Super Mario 3D All-Stars emulator

> Hagi decompiles the GameCube and Wii emulator executable included with Super Mario Sunshine in Super Mario 3D All-Stars version 1.0.0. Its build workflow starts from the user's original main NSO and uses CMake, Ninja, Python and a Rust toolchain.

- Type: Case study
- Targets: Binary
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/GRAnimated/Hagi>
- Primary source: <https://github.com/GRAnimated/Hagi/blob/a1d1740e23fa9770da0952523ef47ba59a0ee143/README.md>
- Catalog page: <https://awesomerea.org/resources/hagi-emulator-decomp-case/>
- Record JSON: <https://awesomerea.org/resources/hagi-emulator-decomp-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/hagi-emulator-decomp-case/index.md)

## Requirements & limits

- **Prerequisites:** The original version 1.0.0 main NSO from Super Mario 3D All-Stars is required.
- **Prerequisites:** The build guide lists Python 3.6+, Ninja, CMake 3.13+, a Rust toolchain and Python modules.
- **License:** No licence file in the repository.

## Primary sources

1. <https://github.com/GRAnimated/Hagi/blob/a1d1740e23fa9770da0952523ef47ba59a0ee143/README.md>
2. <https://github.com/GRAnimated/Hagi/blob/a1d1740e23fa9770da0952523ef47ba59a0ee143/docs/BUILDING.md>

## More in Native binaries

- [Character Pipeline: April 2001 library decompilation](https://awesomerea.org/resources/character-pipeline-apr2001-decomp-case/index.md) · Case study
- [8088 BIOS: disassembling Tandy and IBM PC firmware images](https://awesomerea.org/resources/bios-8088/index.md) · Case study
- [lv0pen: matching source for the PlayStation 3 boot chain](https://awesomerea.org/resources/lv0pen/index.md) · Case study
- [Forecast Channel: decompiling the Wii weather app](https://awesomerea.org/resources/forecast-channel/index.md) · Case study
- [Xbox 360 kernel: decompiling version 17489.0](https://awesomerea.org/resources/xkrnl-decomp/index.md) · Case study
- [PICOLOVE: reimplementing the PICO-8 API in LÖVE](https://awesomerea.org/resources/picolove/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
