A work-in-progress decompilation of Sonic Riders: Zero Gravity for the PlayStation 2.
This repository does not contain any game assets or assembly whatsoever. An existing copy of the game is required.
Supported versions:
SLUS_216.42: Prototype (USA, 2007-09-01)
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:
-
Install ninja:
brew install ninja
wibo, a minimal 32-bit Windows binary wrapper, will be automatically downloaded and used.
- Install ninja.
wibo, a minimal 32-bit Windows binary wrapper, will be automatically downloaded and used.
-
Clone the repository:
git clone https://github.com/KidWizardOfTheWeb/SR2.git
-
Copy your game's
SLUS_216.42ELF file toorig/SLUS-21642-PROTO-070901/. -
Install Python dependencies:
pip install -r requirements.txt
-
Configure:
python configure.py
-
Build:
ninja
Windows note: If you get a charmap error, run
python -X utf8 configure.pyor set your Python environment to use UTF-8 by default.
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, or configure.py.
