Recomp / Games / Nintendo DS
pokeheartgold
Decompilation of Pokémon HeartGold and SoulSilver for the DS, maintained by pret.
Matching decomp Human-led wipAbout pokeheartgold
pokeheartgold is the pret community's decompilation of Pokémon HeartGold and SoulSilver for the Nintendo DS. Like pret's other projects, it rebuilds the games from C source and assembly that the team has worked out from the original code, and the build is checked against the known checksums of the US HeartGold and US SoulSilver ROMs. It is a research and modding base, not a playable release, so there are no downloads and no PC port.
Building it requires a Linux-like environment (WSL2 on Windows, MSYS2, macOS or a Linux distribution) with an ARM toolchain and the usual build tools, as set out in the project's install guide. The README is blunt that the repository is unstable: symbol names and code layout can change without notice, and because parts of the game are still not decompiled, edits that change the size or layout of a function or data structure can crash the resulting ROM. Anyone building mods on it is told they accept that risk.
Work is active, with commits as recent as November 2026. The open issues and pull requests show what remains: decompiling specific functions and overlays, porting matching code from pret's Pokémon Platinum project, cleaning up and syncing shared files such as menus, graphics loading and the real-time clock, documenting sound aliases and dumping move data to JSON, and simplifying the build by removing Wine and other downloads from the development container.
The site also lists pokeheartgold-slop, an unofficial fork of this repository that uses LLM agents to match the remaining functions with the aim of a byte-identical US ROM. pokeheartgold itself is the human-led original maintained by pret.
Facts
- Original
- Pokémon HeartGold and SoulSilver (2009)
- Platform
- Nintendo DS
- Method
- Matching decomp
- Provenance
- Human-led · Started 2021 by a known volunteer team, predating AI coding agents (repository history) what this means
- Status
- wip
- Licence
- none
- Team
- pret
- Started
- 2021-06
- Runs on
- Nintendo DS
- 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 HeartGold and SoulSilver you own. Recomp never links to ROMs, discs or game data.
This project was decompiled by pret. Facts last checked 2026-10-13. Suggest a correction
Sources
Related
All games →pokeheartgold-slop
Pokémon HeartGold and SoulSilver
Unofficial fork of pret's HeartGold/SoulSilver decompilation where the remaining functions are matched with LLM agents, aiming at a byte-identical US ROM.
Aletheia
Pokémon Black Version
Byte-matching decompilation of Pokémon Black for Nintendo DS with independently written extraction, disassembly and build tooling; reports every code region, overlays included, as fully matched.
AnnePad
Pokemon Stadium
iPhone and iPad packaging of a Pokemon Stadium static recompilation, using Metal rendering and touch controls. The player imports their own ROM through the Files app.
berry-fix
Berry Fix Program (Pokémon Emerald and FireRed/LeafGreen)
Decompilation of the Berry Fix Program included in Pokémon Emerald and FireRed/LeafGreen.
Blue Dragon: Awakened Shadow decompilation
Blue Dragon: Awakened Shadow
Matching decompilation of the German Nintendo DS release of Blue Dragon: Awakened Shadow (YBUD) using the DS Decomp Studio setup and Metrowerks mwccarm; much of the matched code is still raw m2c output awaiting cleanup.
Code Lyoko decompilation
Code Lyoko
Matching decompilation of the US Nintendo DS release of Code Lyoko (AL5E) using the DS Decomp Studio setup and Metrowerks mwccarm; much of the matched code is still raw m2c output awaiting cleanup.