# xmen2disasm: rebuilding X-Men 2 from a matching disassembly

> xmen2disasm reconstructs the Sega Genesis game X-Men 2: Clone Wars as a byte-matching 68000 disassembly. Its build reads data from the user's ROM, and emulator traces support function boundaries, labels and coverage checks. The author reports a byte-identical ROM rebuild; the related C reconstruction and native PC port reside in xmen2-pc.

- 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/xmen2disasm>
- Primary source: <https://github.com/crabsmack/xmen2disasm/blob/2b135824dd4c54d2a0b104081ebd9ce1808fe9ff/README.md>
- Catalog page: <https://awesomerea.org/resources/xmen2disasm-case/>
- Record JSON: <https://awesomerea.org/resources/xmen2disasm-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/xmen2disasm-case/index.md)

## Requirements & limits

- **Prerequisites:** A user-provided USA/Europe X-Men 2: Clone Wars ROM is required.
- **Prerequisites:** The documented setup uses Windows with Visual Studio 2022 and uv; Ghidra 12 and JDK 21 are needed for the decompiler view.
- **Prerequisites:** Building from the recovered C also needs the xmen2-pc checkout and MPW C.
- **License:** MIT licence for the original work in this repository.

## Primary sources

1. <https://github.com/crabsmack/xmen2disasm/blob/2b135824dd4c54d2a0b104081ebd9ce1808fe9ff/README.md>
2. <https://github.com/crabsmack/xmen2disasm/blob/2b135824dd4c54d2a0b104081ebd9ce1808fe9ff/docs/PROGRESS.md>

## More in Games

- [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
- [Yu-Gi-Oh! GX Tag Force: matching PSP decompilation with REA analysis](https://awesomerea.org/resources/tagforce-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.
