A decompilation of Metroid Prime brought to you by fans of the series.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Phillip Stephens d41e5c5451 Missed CMediumAllocPool.cpp 8 hours ago
.github/workflows Attempted fix for git-in-container 8 months ago
.vscode Various fixes and matches 6 months ago
asm Initial GX work 19 hours ago
buildstrings Add build string files 1 year ago
include Initial CMediumAllocPool, rstl::list fixes 8 hours ago
libc More MusyX imps 3 months ago
sha1 Add missing sha1 files 1 year ago
src Missed CMediumAllocPool.cpp 8 hours ago
tools Use patched 1.2.5n; delete frank/franklite 3 months ago
.clang-format Start matching CScriptPlatform; more CScriptMazeNode 1 year ago
.gitattributes Initial commit 2 years ago
.gitignore Generate objdiff.json 2 months ago
CONTRIBUTING.md Replace metaforce_renames.sh with a python script 11 months ago
README.md Use patched 1.2.5n; delete frank/franklite 3 months ago
configure.py Initial CMediumAllocPool, rstl::list fixes 8 hours ago
diff_settings.py Add header dependency tracking; add asm-differ config & more 1 year ago
dtk_version Update dtk 9 months ago
ldscript.lcf Fix TRK_MINNOW_DOLPHIN.a linking 8 months ago
progress.py Build static libs by default; update progress.py 10 months ago

README.md

Metroid Prime Build Status Code Progress Data Progress

A decompilation of Metroid Prime.

This repository builds the following DOLs:

949c5ed7368aef547e0b0db1c3678f466e2afbff  build/mp1.0/main.dol (USA 0-00)
860141f9671fc141ce8f55448643f713bc64b349  build/mp1.1/main.dol (USA 0-01)
52316d2a71c0d18c84f054fd6f1e58bdd7bf0ded  build/mp1.kor/main.dol (KOR)

If you'd like to contribute, see CONTRIBUTING.md.

Dependencies

Windows:

  • Install ninja and add it to %PATH%.
  • Install devkitPro with GameCube development package.
  • Open C:\devkitPro\msys2\msys2.exe
  • Install GameCube development packages:
    pacman -Sy --noconfirm --needed msys2-keyring
    pacman -Su --noconfirm --needed gcc git gamecube-dev
    

macOS:

  • Install ninja:
    brew install ninja
    
  • Install wine-crossover:
    brew install --cask --no-quarantine gcenx/wine/wine-crossover
    
  • Install devkitPro.
  • Install GameCube development packages:
    sudo dkp-pacman -Syu --noconfirm --needed gamecube-dev
    

Linux:

  • Install ninja.
  • Install wine from your package manager.
    • Faster alternative: WiBo, a minimal 32-bit Windows binary wrapper.
      Ensure the binary is in PATH.
  • Install devkitPro.
  • Install GameCube development packages:
    sudo dkp-pacman -Syu --noconfirm --needed gamecube-dev
    

Building

  • Checkout the repository:
    git clone https://github.com/PrimeDecomp/prime.git
    
  • Download GC_WII_COMPILERS.zip
  • Extract the contents of the GC directory to tools/mwcc_compiler.
    • Resulting structure should be (for example) tools/mwcc_compiler/1.3.2/mwcceppc.exe
  • Configure:
    python configure.py
    
  • Build:
    ninja