Skip to content

A matching decompilation of Metroid Prime 2: Echoes.

Notifications You must be signed in to change notification settings

PrimeDecomp/echoes

Repository files navigation

Metroid Prime 2: Echoes
Build Status Progress DOL Progress RELs Progress Discord Badge

A decompilation of Metroid Prime 2: Echoes.

This repository builds the following DOLs:

6ef9b491d0cc08bc81a124fdedb8bfaec34d0010  build/G2ME01/main.dol
7f24a768f7b1a687adb88e56559ad8637ed80589  build/G2MJ01/main.dol
5a670d5da3d181e86a0df7cf7751c7055eee35fb  build/G2MP01/main.dol
442947ba57dce414917feab0e75a8227690b3e4b  build/R32J01/main.dol
2375606f4e9429a699cfa02728b0bb1176421226  build/R3ME01/main.dol
077712e46eb7cf2488942f337d215636edbc972d  build/R3MP01/main.dol

Dependencies

Windows:

  • Install ninja and add it to %PATH%.
  • Install Python and add it to %PATH%.
  • (Optional) Run Add-Exclusion.ps1 (Right click -> "Run with PowerShell") to avoid degraded performance from Windows Defender scans.

macOS:

  • Install ninja:
    brew install ninja
    
  • Install wine-crossover:
    brew install --cask --no-quarantine gcenx/wine/wine-crossover
    

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.

Building

  • Checkout the repository:
    git clone https://github.com/PrimeDecomp/echoes.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
  • Using Dolphin Emulator, extract your game to orig/G2ME01.
    • To save space, the only necessary files are the following. Any others can be deleted.
      • sys/main.dol
      • files/RelProd/*.rel
  • Configure:
    python configure.py
    
  • Build:
    ninja