Skip to content

About

Experimental native PC recompilation project for Mega Man 10.

Topics

Resources

Stars

11 stars

Watchers

0 watching

Forks

Repository files navigation

Mega Man 10 Recompiled

Mega Man 10 Recompiled

An experimental project focused on recompiling the Wii version of Mega Man 10 into a native PC application.

Project Status

🚧 Early Development

The project is currently in the research and reverse-engineering stage.

Current Progress

  • 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)

Development Log

August 28, 2026

  • 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.txt for native PC window management and input handling.
  • Established the initial file structure (main.cpp, input_manager.cpp, and input_manager.h) for controller mapping.

November 17, 2026

  • 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.

November 18, 2026

  • 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 in fn_801492A0; no DVD HLE was added because that path owns request and callback state.

Goals

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.

Disclaimer

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.

License

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.

About

Experimental native PC recompilation project for Mega Man 10.

Topics

Resources

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages