A decompilation of Metroid Prime brought to you by fans of the series.
Go to file
Luke Street 264e49a01b Add WiBo to README
Former-commit-id: 10e847fd07
2022-07-18 20:23:07 -04:00
.github/workflows ci: Use WiBo 2022-07-18 20:10:10 -04:00
asm Link CInputStream.cpp 2022-07-18 13:53:58 -04:00
include Reorganize includes to match asm 2022-07-18 18:42:58 -04:00
sha1 Initial commit 2022-03-23 17:22:48 -04:00
src Reorganize includes to match asm 2022-07-18 18:42:58 -04:00
tools Add README.md 2022-07-18 19:52:28 -04:00
.clang-format Almost matched CInputStream 2022-07-14 20:48:18 -04:00
.gitattributes Initial commit 2022-03-23 17:22:48 -04:00
.gitignore Add README.md 2022-07-18 19:52:28 -04:00
Makefile ci: Use WiBo 2022-07-18 20:10:10 -04:00
README.md Add WiBo to README 2022-07-18 20:23:07 -04:00
deincbin.sh Add header dependency tracking; add asm-differ config & more 2022-04-12 23:55:49 -04:00
diff_settings.py Add header dependency tracking; add asm-differ config & more 2022-04-12 23:55:49 -04:00
ldscript.lcf Finish splitting text.s! 2022-04-16 00:50:32 -07:00
obj_files.mk Link CInputStream.cpp 2022-07-18 13:53:58 -04:00
rename.sh Add header dependency tracking; add asm-differ config & more 2022-04-12 23:55:49 -04:00

README.md

Metroid Prime

A decompilation of Metroid Prime (USA v0-00).

This repository builds the following DOL:

949c5ed7368aef547e0b0db1c3678f466e2afbff  build/mp1.0/main.dol

Dependencies

Windows:

  • Install devkitPro with GameCube development package.
  • Open C:\devkitPro\msys2\msys2.exe
  • Run the following:
    pacman -Sy --noconfirm --needed msys2-keyring
    pacman -Su --noconfirm --needed gcc git gamecube-dev
    

macOS:

  • Install wine:
    brew tap gcenx/wine
    brew install wine-crossover
    sudo xattr -r -d com.apple.quarantine "/Applications/Wine Crossover.app"
    
  • Install devkitPro.
  • Run the following:
    sudo dkp-pacman -Syu --noconfirm --needed gamecube-dev
    

Linux:

  • Install wine from your package manager.
    • Faster alternative: WiBo, a minimal 32-bit Windows binary wrapper.
      Ensure the binary is in PATH.
  • Install devkitPro.
  • Run the following:
    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
  • Build:
    make -j