Pik2wii
A decompilation of New Play Control! Pikmin 2 (USA) brought to you by fans of the series.
Install / Use
/learn @projectPiki/Pik2wiiREADME
New Play Control! Pikmin 2
<!-- [![Build Status]][actions] ![Code Progress] ![Data Progress] [![Discord Badge]][discord] --> <!-- [Build Status]: https://github.com/projectPiki/pik2wii/actions/workflows/build.yml/badge.svg --> <!-- [actions]: https://github.com/projectPiki/pik2wii/actions/workflows/build.yml --> <!-- [Code Progress]: https://img.shields.io/endpoint?label=Code&url=https%3A%2F%2Fprogress.deco.mp%2Fdata%2Fpik2wii%2FR92E01%2Fdol%2F%3Fmode%3Dshield%26measure%3Dcode --> <!-- [Data Progress]: https://img.shields.io/endpoint?label=Data&url=https%3A%2F%2Fprogress.deco.mp%2Fdata%2Fpik2wii%2FR92E01%2Fdol%2F%3Fmode%3Dshield%26measure%3Ddata -->A work-in-progress decompilation of New Play Control! Pikmin 2 (USA).
SETUP IN PROGRESS.
Supported versions:
R92E01: USA Retail
Index
Dependencies
Windows
On Windows, it's highly recommended to use native tooling. WSL or msys2 are not required.
When running under WSL, objdiff is unable to get filesystem notifications for automatic rebuilds.
- Install Python and add it to
%PATH%.- Also available from the Windows Store.
- Download ninja and add it to
%PATH%.- Quick install via pip:
pip install ninja
- Quick install via pip:
macOS
-
Install ninja:
brew install ninja -
Install wine-crossover:
brew install --cask --no-quarantine gcenx/wine/wine-crossover
After OS upgrades, if macOS complains about Wine Crossover.app being unverified, you can unquarantine it using:
sudo xattr -rd com.apple.quarantine '/Applications/Wine Crossover.app'
Linux
- Install ninja.
- For non-x86(_64) platforms: Install wine from your package manager.
- For x86(_64), wibo, a minimal 32-bit Windows binary wrapper, will be automatically downloaded and used.
Building
-
Clone the repository:
git clone https://github.com/projectPiki/pik2wii.git -
Using Dolphin Emulator, extract your game's system data to
orig/R92E01.- Right-click the game in Dolphin's game list and select
Properties. - Go to the
Filesystemtab and right-clickData Partition->Extract Entire Partition....
- After extraction, the following file should exist:
orig/R92E01/sys/main.dol.
- Right-click the game in Dolphin's game list and select
-
Configure:
python configure.py -
Build:
ninja
Diffing
Once the initial build succeeds, an objdiff.json should exist in the project root.
Download the latest release from encounter/objdiff. Under project settings, set Project directory. The configuration should be loaded automatically.
Select an object from the left sidebar to begin diffing. Changes to the project will rebuild automatically: changes to source files, headers, configure.py, splits.txt or symbols.txt.

Modding
To enable modding, run configure.py with the --non-matching flag:
python configure.py --non-matching
This:
- Disables final hash verification.
- Builds all assembly files in
asm. - Builds all source files marked as
Equivalentinconfigure.py.
Once built with ninja, the new DOL will exist at build/R92E01/main.dol.
