0xreversed/with.ai
Games and modsWorksSource available
Target: Capcom CPS-2 arcade games (Street Fighter Alpha 2, Super Puzzle Fighter II Turbo, Vampire Savior series)

Recompiled five Capcom CPS-2 arcade games into native PC ports with training modes, using Claude Code

Capcom CPS-2 arcade games (Street Fighter Alpha 2, Super Puzzle Fighter II Turbo, Vampire Savior series): Five CPS-2 fighting and puzzle games as native ports, each with a training mode.
Image: GitHub (tmcleroy/cps2recomp)

What was done

Tommy McLeroy translated the 68000 code of Street Fighter Alpha 2, Super Puzzle Fighter II Turbo and three Vampire games into C++, with Claude Code co-authoring the commits. Each plays from start to ending.

CPS-2 Recomp is a set of native ports of Capcom CPS-2 arcade games for macOS, Linux and Windows, in one download with a shared launcher. Each game's 68000 program is translated ahead of time into C++ and runs on a machine model written for the project, not an emulator. Tommy McLeroy's commits are co-authored by Claude Opus 5.5 through Claude Code.

How it was done

The parts of each game that the new features touch were rewritten as readable C++ and checked call by call against the game's own code. A build step plays the game with made-up input to find its code and translate it. Video, the QSound chip, the sound CPU and the settings memory are new code, with the program cipher and QSound model taken from MAME. Games Capcom built from another game's program reuse its sources with an address list.

Results

Street Fighter Alpha 2, Super Puzzle Fighter II Turbo, Vampire Savior, Vampire Savior 2 and Vampire Hunter 2 each play from start to ending. They add training modes with hit boxes and frame data, widescreen, extra modes and stage and model viewers. The project is a beta. You need your own ROM set and key file, and the repository holds nothing from any game.