A decompilation of Metroid Prime brought to you by fans of the series.
Go to file
Luke Street 4660679da4 More CGX matches part 2
Former-commit-id: 4758103774
2022-08-30 18:48:44 -04:00
.github/workflows KOR buildable 2022-08-22 23:54:30 -04:00
asm More CGX matches part 2 2022-08-30 18:48:44 -04:00
include More CGX matches part 2 2022-08-30 18:48:44 -04:00
libc More CGX matches part 2 2022-08-30 18:48:44 -04:00
sha1 Add missing sha1 files 2022-08-22 10:18:31 -04:00
src More CGX matches part 2 2022-08-30 18:48:44 -04:00
tools More CGX matches 2022-08-30 01:12:32 -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 Update .gitignore 2022-07-21 15:19:32 -04:00
Makefile Begin CGX/CCubeMaterial; add dolphin headers from aurora 2022-08-30 00:05:16 -04:00
README.md KOR buildable 2022-08-22 23:54:30 -04:00
diff_settings.py Add header dependency tracking; add asm-differ config & more 2022-04-12 23:55:49 -04:00
ldscript.lcf Create & link TCastTo.cpp 2022-08-16 17:47:16 -04:00
obj_files.mk Runtime/math matches; better libc headers 2022-08-25 23:46:24 -04:00

README.md

Metroid Prime

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)

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