Skip to content
Pablo Souza edited this page Nov 16, 2026 · 11 revisions

typex2-recomp documentation

typex2-recomp turns Taito Type X2 arcade games, which are 32-bit x86 Windows XP programs, into native programs for macOS and Android. It is static recompilation, not emulation:

  • x2recomp translates the game's game.exe into C, once, ahead of time.
  • A C runtime provides what the game expects from Windows: memory, threads, Win32, Direct3D 9, D3DX, DirectSound, DirectShow and the arcade I/O board.

Each game then runs in one of two ways:

  • a standalone app (SDL3; launched by ES-DE on Android);
  • a RetroArch core that holds every supported game.

Pages

Page What it covers
Game status Status of every Type X / X+ and Type X2 game, and the next candidates
Known issues What doesn't work yet in the current version
Launcher The desktop app: play, export for Android / RetroArch, downloaded build tools
Hardware The Type X and Type X2 boards, and how the runtime stands in for them
Building from source Desktop builds, tools, contributing, releases
Architecture Recompiler and runtime internals
Porting a game Steps to bring up a new game
Controls Keyboard, pads, X2_PAD / X2_INPUT, each game's layout
Save states Saving and loading a moment of a fight, and the limits
Android and RetroArch Building, installing, ES-DE, performance work
Debugging Methods that found past bugs, and the debugging switches
Progress log What changed, milestone by milestone
Proposal: building on the device An open question: a self-contained Android app that recompiles games itself

Game pages:

Quick start

Players: the repository's README (download, getting started), then Android and RetroArch and Controls. Developers: Building from source, and the full list of X2_* switches in Debugging. Rules for contributors and coding agents are in CLAUDE.md.

Legal

The repository holds only the project's own code and documentation. You need your own copy of each game. Game executables, assets, generated C code (games/*/gen/) and screenshots are never committed.

Clone this wiki locally