An experimental project focused on recompiling the Wii version of Mega Man 10 into a native PC application.
🚧 Early Development
The project is currently in the research and reverse-engineering stage.
- Original game files obtained
- Ghidra environment configured
- Analyze main.dol
- Build toolchain set up (MSYS2 MinGW-w64 GCC, CMake, Ninja, SDL)
- Generated C compiles against a minimal runtime (all 37 generated files, Release, 0 errors)
- Identify game initialization
- Identify rendering systems
- Identify input systems
- Identify audio systems
- Reconstruct game code
- Native PC executable
- Native PC release
- Boot: SDK start-up passes cache init, interrupts, EXI probing, thread init, and audio init; currently stops in DVD asynchronous callback dispatch (in progress)
- Created the project repository.
- Started analyzing the Wii executable (
main.dol) using Ghidra. - Began investigating the game's PowerPC code and executable structure.
- Configured the development environment in VS Code using CMake and the Visual Studio (MSVC) compiler.
- Integrated the SDL3 library into the project via automated configuration in
CMakeLists.txtfor native PC window management and input handling. - Established the initial file structure (
main.cpp,input_manager.cpp, andinput_manager.h) for controller mapping.
- The full translation (9,404 functions complete, 4 partial) now compiles in Release as a static library with a minimal runtime. The 4 partial functions contain an instruction the translator does not decode yet.
- Next: host runtime (guest memory, DOL loader, entry point) and the first boot attempt.
- Fixed the DOL loader ordering bug: the BSS range overlaps two initialized data sections, which were wiped by the late BSS clear. Clearing BSS before copying sections restored the SDK's default thread callback and let boot pass
__OSThreadInit. - Added HLE for
__OSInitAudioSystem. It preserves the SDK's AI clock/IPC setup, guest buffer copies, cache-range call, and tick delay while skipping the DSP MMIO command/status exchange. Boot now advances into DVD asynchronous request handling and stops at a null callback infn_801492A0; no DVD HLE was added because that path owns request and callback state.
The long-term goal is to create a native PC version of Mega Man 10 while preserving the original gameplay and improving compatibility with modern systems.
This is a fan-made research and preservation project.
No original game ROMs, copyrighted assets, or other proprietary game files are distributed by this repository.
GPL-2.0, see LICENSE. Parts of the runtime derive from WiiRecomp (GPLv2), and the design takes Robox Recompiled (GPL-2.0-or-later) as a reference.
