mirror of
https://github.com/AxioDL/PWEQuickplayPatch.git
synced 2026-03-30 11:48:16 -07:00
master
* Replace submodule * Add CMakeLists.txt * Fixes for PrimeAPI2 * Echoes things. * Finalize? * Improve docs * Add entry in README about devkitPro * Add GitHub Actions CI * Add secrets * Add devkitPro * CI workflow cleanup Co-authored-by: Luke Street <luke.street@encounterpc.com>
PWE Quickplay Patch
This is a hack for both Metroid Prime 1 and 2 that integrates with Prime World Editor and Dolphin to enable a quickplay feature in the editor. It can also inject extra debug functionality into the game to assist mod developers.
Dependencies
- Install CMake.
- Install LLVM 12, with at least clang and lld.
- Install cargo.
- Install devkitPro with devkitPPC
Building
- Place
prime1.doland/orechoes.dolin the repository root. - Run
cmake, settingDLLVM_DIRto the path to where LLVM 12 is installed.- Optionally, set QUICKPLAY_PRIME1 or QUICKPLAY_PRIME2 to control if patches for these games are created.
- For example:
mkdir build && cd build && cmake -DLLVM_DIR=/usr/lib/llvm-12 -G Ninja ..
- Build! The outputs are:
- quickplay-prime*-default-mod.dol: The dol, modified to load Mod.rel on start
- quickplay-prime*-Mod.rel: The quickplay patch itself
- quickplay-prime2.map: The symbols for the quickplay Rel
Note: Building this patch has only been tested under Linux. If you run Windows, you can take a look at WSL.
Description
Languages
C++
81.5%
CMake
18.5%