Games and modsResearchSource available
Target: Monster Hunter Generations Ultimate

Decompiling Monster Hunter Generations Ultimate (Switch) into a C++ source tree

Platform
Nintendo Switch
Outcome
Research

Evidence at a glance

Loading source evidence…

What was done

This project aims to reconstruct the Monster Hunter Generations Ultimate executable as a buildable C++17 source tree. It uses a pinned clang 5.0.1 toolchain to achieve byte-for-byte reproduction of the game's latest update patch.

The mhgu-decomp project is a clean-room reconstruction of the Monster Hunter Generations Ultimate executable for the Nintendo Switch. The goal is to produce a buildable C++17 source tree that reproduces the original binary byte-for-byte. The project targets the latest update patch of the game. Analysis confirms the executable is 32-bit ARM (AArch32) and requires a specific toolchain configuration, pinned to clang 5.0.1 with VFP-only and two additional backend flags, to match the original binary. The development environment is containerized to provide a reproducible build environment. The decompilation workflow involves splitting the binary into individual functions and modules, which are then translated into C++ using either manual decompilation or automated methods, including LLM-assisted translation and template matching. Each function is verified against the original binary using a byte-match gate. The project maintains a ledger of matched functions and uses a near-miss bank to track progress. While the project is in early stages, commits indicate ongoing batches of decompiled functions.

Community

Ask a question, share what worked, or follow the next milestone.

Your library