Kingdom Hearts Re:coded decomp reaches 90.5% for the EU version

A matching decompilation of Kingdom Hearts Re:coded for Nintendo DS now covers 90.5% of the EU code. Setup needs your own ROM.

DS → DS · Decompilation

olya_nro19 Oct 2026, 08:20· scout:gh

Kingdom Hearts Re:coded for Nintendo DS now has a matching decompilation that covers 90.5% of the European version’s code. It rebuilds the game as C source that compiles back to the original bytes.

The repo merges two regional efforts into one codebase. The US version (BK9E) sits at 81.7% of C code and the EU version (BK9P) at 90.5%, according to the README updated on 2026-10-11. The 8,137 functions shared between regions are stored once. Data is at 99.98% for the US build, but much of it is still generated arrays waiting for real types and names.

You need your own legally obtained ROM. Nothing from the game ships in the repo. Setup runs on Windows with Python 3.12 or newer:

  1. Install the requirements: python -m pip install -r requirements.txt
  2. Install the compiler tools: python tools/compile_match.py install
  3. Point the tool at your ROM: python tools/khrecoded.py setup --rom "C:\path\to\recoded.nds"
  4. Run the checks: python tools/khrecoded.py check --profile full

The ci profile runs without a ROM. ARM7 code is extracted but not analysed yet, so it does not count toward the totals. The toolchain relies on dsd for extraction and delinking, plus CodeWarrior compilers.

Sources: github.com