Recomp / Games / Nintendo DS
Pokémon Black 2 and White 2 decompilation
Work-in-progress decompilation of Pokémon Black 2 and White 2 where both US/EU versions rebuild byte for byte, with a native PC port as the long-term aim.
Matching decomp AI-assisted complete · 100%3S Decomp · Advance Wars 2: Black Hole Rising decompilation · Advance Wars decompilation
About Pokémon Black 2 and White 2 decompilation
This is a decompilation of the Nintendo DS games Pokémon Black 2 and White 2: the original machine code has been rewritten as C source that, built with the original Metrowerks compiler, reproduces the US/European retail ROMs of both games byte for byte from a single source tree. It follows the layout and conventions of the pret Pokémon decompilations and borrows symbol names from the swan reverse engineering project. A native PC port is the long-term aim, and the documentation already collects notes on platform assumptions and open porting questions, but no port exists yet.
Building needs Linux, WSL or macOS with Python 3.11 or later, ninja and LLVM, plus your own dumps of the US/Europe Black 2 and White 2 ROMs (the DSi-enhanced releases), which the build checks against known hashes. No ROMs are included, and there are no releases since the output is a rebuilt copy of the game.
Progress is tracked automatically on ByteMatch, which in November 2026 showed all of the roughly 43,000 functions and all code and data matched for the default Black 2 version. Work has since moved to naming and documentation: nearly all open issues are tasks to give readable names to particular overlays, shared headers and libraries, and commits were still landing in mid-November. The repository also documents the game's data formats, trainer AI and battle and field scripts, converts sprite cells and animations to JSON, and supports modified builds. It is the only Black 2 and White 2 project on the site.
Decomp progress
Facts
- Original
- Pokémon Black 2 and White 2 (2012)
- Platform
- Nintendo DS
- Method
- Matching decomp
- Provenance
- AI-assisted · CLAUDE.md and AGENTS.md in repo root describe AI agent workflow (GitHub) what this means
- Status
- complete · 100% matched
- Licence
- GPL-3.0
- Team
- fuddlesworth
- Started
- 2026-10
- Needs the original
- Yes: you supply your own legally obtained copy
How to get it legally
This project ships code only. Build or download it from the official repository, then supply data from a copy of Pokémon Black 2 and White 2 you own. Recomp never links to ROMs, discs or game data.
This project was decompiled by fuddlesworth. Facts last checked 2026-10-17. Suggest a correction
Sources
Related
All games →3S Decomp
Street Fighter III: 3rd Strike (PS2)
Decompilation of Street Fighter III: 3rd Strike for PlayStation 2, aiming to recreate source that could allow ports.
Advance Wars 2: Black Hole Rising decompilation
Advance Wars 2: Black Hole Rising
Work-in-progress matching decompilation of Advance Wars 2: Black Hole Rising for GBA; builds still need the original as a base.
Advance Wars decompilation
Advance Wars
Archived decompilation of the US Advance Wars for GBA that builds a byte-identical copy of the original.
AeroGauge decompilation
AeroGauge
Early-stage decompilation of the US version of the N64 racing game AeroGauge that builds a ROM from source.
agl decompilation
agl (Nintendo first-party graphics library)
Decompilation of agl, the C++ library Nintendo first-party games use for graphics, lighting and AAMP parameters, from the open-ead group.
Aidyn Chronicles decompilation
Aidyn Chronicles: The First Mage
Decompilation of the Nintendo 64 RPG Aidyn Chronicles.