Software:Metroid Prime
| Developer | Retro Studios |
|---|---|
| Publisher | Nintendo |
| Platforms | Platform:Nintendo GameCube, Platform:Nintendo Wii |
| Website | https://decomp.dev/PrimeDecomp/prime |
| On this wiki | Facts · Code · Notes · Topics |
Retro Studios' first-person adventure for the Nintendo GameCube (Nintendo, 2002). A matching decompilation built with decomp-toolkit exists, with symbol files for several versions.
Overview
The PrimeDecomp/prime repository is a work-in-progress matching decompilation using Tool:Decomp-toolkit and the Tool:Metrowerks CodeWarrior compiler.
Versions in the decompilation
The repository's config/ folder has one directory per game ID (read at commit 945f3a1977): GM8E01_00, GM8E01_01, GM8E01_02, GM8E01_48, GM8EAB_00, GM8J01_00, GM8J01_DD, GM8P01_00, R3IJ01_00, R3ME01_00 and R3MP01_00. Unverified: the exact release behind each ID; by the usual ID letters GM8E is North America, GM8J Japan, GM8P PAL, and the R3 IDs look like Wii releases.
config/GM8E01_00/build.sha1 lists two files: sys/main.dol and a REL module named NESemuP.rel (the folder config/GM8E01_00/NESemu exists). Unverified: that the module is the game's embedded NES emulator.
Builds registered on this wiki with symbols.txt imported (pinned to 4ae7e0a328): the GameCube versions and the three Wii Metroid Prime Trilogy discs, each by the SHA-1 in config/<GAMEID>/build.sha1 (one line: the main DOL):
| Game ID | Wii release (by ID letters E, P, J) | DOL file name in config.yml | SHA-1 of the DOL | Build page |
|---|---|---|---|---|
| R3ME01_00 | North America | files/rs5mp1_p.dol | e6416b2f8b92fdd8ebeb1d53f133e96f5ca9763a | Build:Metroid Prime/R3ME01 00 (Metroid Prime Trilogy Wii North America) (Nintendo Wii, disc) |
| R3MP01_00 | PAL | files/rs5mp1_p.dol | e4ca752835a7cb5d971b97d64799ba1ba4b98e92 | Build:Metroid Prime/R3MP01 00 (Metroid Prime Trilogy Wii PAL) (Nintendo Wii, disc) |
| R3IJ01_00 | Japan | files/rs5mp1jpn_p.dol | 976f4532c4850215b766e2f9330b0f711e48d925 | Build:Metroid Prime/R3IJ01 00 (Metroid Prime Trilogy Wii Japan) (Nintendo Wii, disc) |
The symbol files have 27,292 (R3ME01_00), 27,264 (R3MP01_00) and 27,165 (R3IJ01_00) lines. Each Wii config has only a DOL (no REL, unlike GM8E01_00). The same file name rs5mp1_p.dol in the two R3 configs belongs to different regions, so identify by SHA-1, not by name. The importer reported the repository license as CC0-1.0 (the earlier text above, 'no license detected', is outdated). Unverified: that the R3 discs are the Metroid Prime Trilogy compilation; the config only gives the game IDs.
Repository layout
Each config/<GAMEID>/ holds config.yml (with hash: of the DOL), build.sha1, splits.txt and symbols.txt; GM8E01_00 symbols.txt has 26,913 lines. The repository's LICENSE file is the CC0 1.0 Universal legal text (PrimeDecomp/prime, main branch).
Code & repositories
- https://github.com/PrimeDecomp/prime @
4ae7e0a3287e6b99fa82fd10888ed971dbf67a06· license: CC0-1.0
Matching decompilation of Metroid Prime (GameCube and Wii Trilogy versions) with decomp-toolkit; config/<GAMEID>/symbols.txt, splits.txt, build.sha1.
Tested on: source read, not run: source read, config files for R3 IDs read at 4ae7e0a328 · checked 2026-10-18; last activity 2026-10-18