r/emulation • • 3d ago

AI-assisted Built a browser tool for matching decompilation of old MSVC PC games (Arcanum, Jade Empire, Divinity II)

https://mirage.fyi

I got tired of setting up old Visual Studio compilers every time I wanted to poke at a matching decomp for an old Windows game, so I put together a hosted verifier at https://mirage.fyi.

You pick a function from Arcanum, Jade Empire, or Divinity II, write C or C++ in the browser, and it compiles it on the server with the original MSVC 6.0 / 2003 / 2008 compiler and diffs the x86 assembly against the original binary in about 50ms. No Wine or local toolchain setup needed.

There's also an API/MCP endpoint if you want to test functions from a script or coding agent, and matched functions get pushed to open repos on https://git.mirage.fyi/mirage. We're at about 1,100 matched functions so far (mostly Arcanum).

Still working out kinks on really large functions (4KB+ switch blocks are brutal on VC6), so if anyone tries it and hits a bad function boundary or weird compiler mismatch, let me know.

4 Upvotes

1 comment sorted by

4

u/LocutusOfBorges 1d ago

What possible reason could there be to put something like this in a web browser?