Pokemon Platinum Decomp: Rev 0 and Rev 1 Both Build From Source
By Indie Kings | October 28, 2026
Updated October 28, 2026: pret/pokeplatinum, the work in progress decompilation of Pokemon Platinum, now builds both the revision 0 and revision 1 US ROMs from a single source tree, each with its own published SHA1, and it merged build pipeline work as recently as October 27, 2026. The repository was created on January 9, 2023 and has drawn 80 contributors, 590 stars and 275 forks in under four years.
Image: a Nintendo DS Lite, the DS family hardware Platinum shipped on, via Wikimedia Commons.
Two revisions, one tree
The README pins two outputs. The revision 1 US ROM, pokeplatinum.us.nds, hashes to 0862ec35b24de5c7e2dcb88c9eea0873110d755c, and the revision 0 US ROM hashes to ce81046eda7d232513069519cb2085349896dec7. Both are produced from the same repository, which is a more demanding arrangement than it sounds. A matching decompilation is a pile of C and assembly whose compiled output must equal a specific binary, and when two slightly different binaries have to come out of one tree, every shared function has to compile identically in both configurations while the handful of changed routines diverge in a controlled way.
For anyone outside the project the practical effect is that a contributor can work against whichever cartridge dump they own and still verify a byte level match, and a modder can pick the revision their tooling expects. The NDS era is also where the technical bar rises. The build instructions for Debian and Ubuntu install gcc-arm-none-eabi, ninja, libpng, nasm and 32 bit C libraries, and the macOS path adds Wine Stable to the list, which in a Nintendo DS decompilation usually means a Windows hosted compiler in the matching toolchain has to run under emulation. None of that is glamorous, and all of it is the difference between a repository that builds on a fresh machine in 2026 and one that only builds on its maintainer's laptop.
What enumproc does for the build
The most recent merge, dated October 27, 2026 and numbered 1315, is titled build: Feed the AI script through enumproc. enumproc is one of the small tools in the pret ecosystem that reads the game's scripts and generates C enumerations from them, replacing hand maintained constants with values derived from the source data. Routing the AI script through it means the constants the game uses for opponent behaviour are now produced by the build rather than typed by a person, which removes a category of silent error: a constant that drifts out of sync with the script it refers to, compiles cleanly, and misbehaves only at runtime.
Build pipeline commits are easy to skip over, and they are usually the best evidence that a decompilation has stopped being an experiment and started being a codebase. Someone noticed a manual step, replaced it with generation, and the next contributor inherits a tree that is slightly harder to break. The same pattern shows up in the project's structure: a Makefile for the traditional path, a Meson build for the newer one, a tools directory, generated headers checked into the tree, and a docs folder. That is the shape of a project with more than one active maintainer and an expectation that strangers will clone it.
A work in progress that ships
The README is explicit that this is a work in progress rather than a finished matching decompilation, and the project's own numbers back that up. Twenty two issues are open, the tree is roughly 210 megabytes before build artifacts, and contributors continue to land structural changes, which is exactly what a partial decompilation looks like from the inside. Partial does not mean unusable. A decompilation becomes useful well before it is complete, because the functions that have been matched can be read, renamed and modified, and the remaining ones sit in assembly until someone gets to them.
What makes Platinum interesting in late 2026 is the pace. The repository was created in January 2023, which puts it well behind the decade old GBA projects, yet it has already drawn 80 contributors and a steady stream of merges, with the newest arriving the day before this article. The DS Pokemon games are also the ones with the largest modding appetite that never had a clean source level base, so a partial decompilation with two verified revisions and an active review pipeline is a meaningfully different resource than the assembly hacking documentation that preceded it. The honest caveat stays the same: expect symbols and structures to move, and expect work in progress to behave like work in progress.
Project card
| Item | Detail |
|---|---|
| Repository | pret/pokeplatinum on GitHub |
| Status | Work in progress decompilation of Pokemon Platinum, US English |
| Created | January 9, 2023 |
| Build outputs | pokeplatinum.us.nds revision 1 and revision 0 |
| Hashes | Rev 1 0862ec35b24de5c7e2dcb88c9eea0873110d755c, rev 0 ce81046eda7d232513069519cb2085349896dec7 |
| Latest merge | October 27, 2026, pull request 1315, AI script through enumproc |
| Build systems | Makefile and Meson, with a tools directory and generated headers |
| Linux dependencies | gcc-arm-none-eabi, ninja, libpng, nasm, 32 bit C libraries, pkg-config |
| macOS note | Setup installs Wine Stable alongside the ARM toolchain |
| Scale | 590 stars, 275 forks, 80 contributors |
| Open issues | 22 as of late October 2026 |
FAQ
What is pokeplatinum?
A community decompilation of Pokemon Platinum for the Nintendo DS that rebuilds the game from C and assembly source, aiming for output that matches the retail ROMs.
Which versions does it build?
Both the revision 0 and revision 1 US ROMs, each with a published SHA1 in the README.
Is it finished?
No. The README calls it a work in progress, 22 issues are open, and symbol names and code structure can still change.
What is enumproc?
A tool in the pret ecosystem that generates C enumerations from the game's scripts, so constants come from the data instead of being maintained by hand.
Why does the macOS setup install Wine?
Nintendo DS matching builds typically depend on a Windows hosted compiler, and Wine lets that binary run on macOS. The Linux instructions do not need it.
Can I use a partial decompilation for mods?
Yes, within limits. Matched functions can be edited at source level, while unmatched code remains assembly, so changes that move data or function sizes carry real risk.
Bottom Line
Platinum is the clearest example in the current pret lineup of a project moving fast without pretending to be done. Two verified revisions, a build pipeline that now generates its own constants, and a merge landing on October 27 are the signs of a codebase with momentum rather than a stalled fork. The DS toolchain remains the barrier, Wine on macOS included, but the payoff is a source level base for a game that never had one. Four years in, with 80 contributors and a pull request counter past 1,300, this is no longer a curiosity; it is the reference implementation people will build on.
Sources
- GitHub pret/pokeplatinum README build list and hashes, INSTALL.md dependency lists, repository layout, accessed October 28, 2026
- GitHub API metadata for pret/pokeplatinum, stars, forks, contributors, issues and latest commit, accessed October 28, 2026
Related: RecompStore: A Homebrew App Store for Jailbroken PS5 Recomps | Playden: Steam Games Run Directly on Jailbroken PS5