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%

Get new releases by RSS

More like this: 3S Decomp · Advance Wars 2: Black Hole Rising decompilation · Advance Wars decompilation

Stars105+3 ★ this week
Commits, 30 days686
Latest release—
Last pushNov 30, 2026
Matched100%bytematch.dev

GitHub figures as of 2026-12-02, refreshed daily.

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.

Written by Recomp from the project's README, releases and issue tracker, checked 2026-11-13.

Decomp progress

100%43k of 43k functions matched · via ByteMatch
0%25%50%75%100%Oct 10, 2026Dec 2, 2026
Matched code over time, 18 recorded changes, version b2_us.

Linked (fully built from source): 100%. Figure from ByteMatch, measured Nov 30, 2026, checked 2026-12-02. This project opted into public progress tracking. How this works

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

Something wrong or out of date? Send a correction.

Recomp is free and ad-free. Support it with a shirt or stickers.

PlayStation 2 · ★ 291

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.

Decompilation Not stated

Game Boy Advance · 2003 · ★ 16

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.

Matching decomp Not stated

Game Boy Advance · 2001 · ★ 12

Advance Wars decompilation

Advance Wars

Archived decompilation of the US Advance Wars for GBA that builds a byte-identical copy of the original.

Matching decomp Human-led

Nintendo 64 · 1998 · ★ 32

AeroGauge decompilation

AeroGauge

Early-stage decompilation of the US version of the N64 racing game AeroGauge that builds a ROM from source.

Matching decomp Human-led

Nintendo Switch · ★ 48

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.

Matching decomp Human-led

Nintendo 64 · 2001 · ★ 44

Aidyn Chronicles decompilation

Aidyn Chronicles: The First Mage

Decompilation of the Nintendo 64 RPG Aidyn Chronicles.

Decompilation Human-led