# Pokémon XD: Gale of Darkness: a matching GameCube decompilation

> Reconstructs Pokémon XD: Gale of Darkness for GameCube as C/C++ source targeting a byte-identical retail build. Functions count as matched when objdiff finds identical machine code, and builds are checked against the retail DOL SHA-1. The author reports a local snapshot of 50.01% matched US code and 21.35% matched data.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/DonovanMontoya/pokemon-xd-decomp>
- Primary source: <https://github.com/DonovanMontoya/pokemon-xd-decomp/blob/8b567c8bb749bbe7a8d6f29b2b257b1558f315e2/README.md>
- Catalog page: <https://awesomerea.org/resources/pokemon-xd-gale-of-darkness-decomp-case/>
- Record JSON: <https://awesomerea.org/resources/pokemon-xd-gale-of-darkness-decomp-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/pokemon-xd-gale-of-darkness-decomp-case/index.md)

## Requirements & limits

- **Prerequisites:** An existing game disc image is required; the documented formats include ISO, RVZ, WIA, WBFS, CISO, NFS, GCZ, and TGC.
- **Prerequisites:** Python and ninja are required; the build uses Metrowerks CodeWarrior compilers.
- **Limits:** The US retail and Japanese demo versions are works in progress; Japanese demo progress has not been measured.
- **License:** CC0-1.0.

## Primary sources

1. <https://github.com/DonovanMontoya/pokemon-xd-decomp/blob/8b567c8bb749bbe7a8d6f29b2b257b1558f315e2/README.md>

## More in Games

- [Pokémon XD: matching GameCube decompilation](https://awesomerea.org/resources/xd-decomp/index.md) · Case study
- [Psychonauts: matching Lua scripts and PC engine functions](https://awesomerea.org/resources/psychonauts-decomp-case/index.md) · Case study
- [pw: a matching decompilation of the Pokéwalker firmware](https://awesomerea.org/resources/pokewalker-matching-decomp-case/index.md) · Case study
- [ra2-decomp: a matching decompilation of Yuri's Revenge](https://awesomerea.org/resources/ra2-decomp-yuris-revenge-case/index.md) · Case study
- [Rage of Mages / Allods: matching reconstruction of the 1998 engine](https://awesomerea.org/resources/rom1-decomp-case/index.md) · Case study
- [Rally Trophy Decomp: function-matched reconstruction of Rally Trophy 1.01](https://awesomerea.org/resources/rally-trophy-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.
