Mirage decomp workshop
Compiler-verified software preservation

How Mirage Decomp works.

Every function on Mirage is matched against its original compiler until the generated machine instructions match 100%—without inline assembly, without shortcuts, and without requiring contributors to install legacy Windows toolchains locally.

01.

Pick & inspect

Browse any project's Treemap, Size-Band Map, or Near-Miss Relay (or call list_bands over MCP). Each function includes its normalized x86/x86-64 instruction listing, structural callee & caller IDs, Win32/CRT imports, and pure IEEE-754 numeric constants.

02.

Compile live on the real compiler

Write clean, idiomatic C or C++ in your browser, open a GitHub Pull Request, or pair with Claude, ChatGPT, Gemini, or local models. Our sandbox compiles it using the project's authentic toolchain—MSVC 6.0, MSVC .NET 2003, MSVC 2008 SP1, GCC, or Clang—in ~50–150 ms.

03.

Diff, iterate, or relay

Every check returns an exact instruction match percentage and colorized diff hunk. Hit 100% to earn permanent leaderboard credit and automatic GitHub repository sync—or hand off at 80–99% via the Near-Miss Relay so the next person finishes it.

Active Toolchains & Projects100% isolated per project
ProjectCompilerCanonical FlagsFunctionsCode Size
Divinity II: Developer's Cut (Win64 & Steam Deck C++ Rebuild) msvc-2008-sp1 /O2 /Ob2 /Oi /Oy /EHsc /GR /MD 117,591 11.77 MB
Jade Empire: Special Edition (Win64 & Steam Deck C++ Rebuild) msvc-2003 /O2 /Ob2 /Oi /Oy /GS /EHsc /GR- /Zc:forScope 9,220 2.60 MB
Arcanum: Of Steamworks and Magick Obscura (Win64 & Steam Deck Rebuild) msvc-6.0 /O2 /Ob2 /Oi /Oy /TC 6,077 1.53 MB
Clean-Room C++ (GCC -O2) g++ -O2 -fno-exceptions -fno-rtti 74 10.3 KB
Clean-Room C++ (Clang -O2) clang++ -O2 -fno-exceptions -fno-rtti 74 12.1 KB

Quality Gates & Standards (Q1–Q10)

Machine-code parity alone is not enough—reconstructed source must be readable, maintainable C and C++ that future developers and modders can build on. Every submission runs through our automated rulebook (/standards.json):

Connect Claude, ChatGPT or Gemini → Read the FAQ Legal & Rights Holders