0xreversed/with.ai
Games and modsWorksSource available
Target: X-Men 2: Clone Wars

crabsmack/xmen2-pc

by crabsmack Repository0 views
Platform
Windows, Linux
Outcome
Works
X-Men 2: Clone Wars: A native PC port of X-Men 2: Clone Wars built from a complete decompilation.
Image: Source: raw.githubusercontent.com

Evidence at a glance

Based on the linked sources. The author's reported result and independent confirmation are separate checks.

AI involvement
Reported models: Claude. Tools: Claude Code, Apple MPW C 3.3, segagenesisrecomp, xmen2disasm, SDL2, uv. The writeup below describes the work attributed to AI.
Reported result
Works. This is the directory's source-based outcome classification.
Independent confirmation
Not reported.
Human work and limitations
The project uses a rigorous verification harness to ensure the C-based port remains byte-identical or functionally equivalent to the original 68000 assembly logic. The author credits Claude Opus 5.5 as a co-author on recent commits.

Original sources

What was done

A native Windows and Linux port of the 1995 Sega Genesis game X-Men 2: Clone Wars, created via complete decompilation. It features enhancements like widescreen, high frame rates, and four-player support, with development largely performed by AI coding agents.

The xmen2-pc project provides a native port of the Sega Genesis title X-Men 2: Clone Wars for Windows and Linux. The port is derived from a complete decompilation of the original game. Of the 3,164 total functions, 3,047 were originally written in C and byte-match with the original Apple MPW C 3.3 compiler, while the remaining 117 assembly functions are verified against recompiled cartridge code through instruction-level testing. The author reports that the port produces identical game states and visuals to the recompiled cartridge during test runs. Development was primarily conducted by AI coding agents (Claude Code) over a nine-day period. Enhancements include optional widescreen support, high frame rates, and expanded multiplayer for up to four players. While the core game logic is functional, the author notes that three and four-player modes are still being finalized, specifically regarding enemy behavior. The project requires a user-provided ROM file for execution. Detailed build and verification processes are documented in CLAUDE.md and docs/NOTES.md.

Reproduce it

setup
Download the release zip or build from source using `uv`. Requires a valid USA/Europe ROM (SHA-1: 61409e6cf6065ab67d8952b891d8edcf47777193). Run via `XMen2.exe path/to/xmen2.bin` (Windows) or `./xmen2 path/to/xmen2.bin` (Linux).