# xmen2-pc: a matching decompilation and native port of X-Men 2: Clone Wars

> xmen2-pc reconstructs X-Men 2: Clone Wars as handwritten C and ports it to Windows and Linux without 68000 emulation. Its workflow uses a byte-matching disassembly, static recompilation and the original Apple MPW C 3.3 compiler; the author reports machine-code matches for 3,047 C functions and instruction-level comparisons for 117 assembly functions. The port loads graphics, sound and levels from the user's ROM and adds widescreen play, higher display rates and rollback netplay.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-08
- Original resource: <https://github.com/crabsmack/xmen2-pc>
- Primary source: <https://github.com/crabsmack/xmen2-pc/blob/4ad62072ee96f5320c2488c02f519d4a7d3dc2e1/README.md>
- Catalog page: <https://awesomerea.org/resources/xmen2-pc-case/>
- Record JSON: <https://awesomerea.org/resources/xmen2-pc-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/xmen2-pc-case/index.md)

## Requirements & limits

- **Prerequisites:** Requires the user's own USA/Europe X-Men 2: Clone Wars ROM with SHA-1 61409e6cf6065ab67d8952b891d8edcf47777193.
- **Prerequisites:** Runs on Windows or Linux; the Linux release needs SDL2.
- **Limits:** Three- and four-player modes have been played less than the rest; display pacing is experimental and has not yet been measured on a live display.
- **License:** The project's original work is MIT licensed.
- **License:** The included segagenesisrecomp component uses PolyForm Noncommercial 1.0.0, so builds of the port may not be used commercially.

## Primary sources

1. <https://github.com/crabsmack/xmen2-pc/blob/4ad62072ee96f5320c2488c02f519d4a7d3dc2e1/README.md>
2. <https://github.com/crabsmack/xmen2-pc/blob/4ad62072ee96f5320c2488c02f519d4a7d3dc2e1/NOTICE.md>
3. <https://github.com/crabsmack/xmen2-pc/blob/4ad62072ee96f5320c2488c02f519d4a7d3dc2e1/LICENSE>

## More in Games

- [xmen2disasm: rebuilding X-Men 2 from a matching disassembly](https://awesomerea.org/resources/xmen2disasm-case/index.md) · Case study
- [YaPang: matching decompilation of the PangYa client and renderer](https://awesomerea.org/resources/yapang-case/index.md) · Case study
- [Yoshi's Island: Super Mario Advance 3: an exact-match disassembly](https://awesomerea.org/resources/sma3-disasm-case/index.md) · Case study
- [Yu-Gi-Oh! Forbidden Memories: a matching PlayStation decompilation](https://awesomerea.org/resources/ygofm-decomp-case/index.md) · Case study
- [Yu-Gi-Oh! Forbidden Memories: a regional byte-matching PlayStation decompilation](https://awesomerea.org/resources/yu-gi-oh-forbidden-memories-decomp-case/index.md) · Case study
- [Yu-Gi-Oh! Forbidden Memories: matching PS1 decompilation](https://awesomerea.org/resources/yu-gi-oh-forbidden-memories-ps1-decomp-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
