Skip to content

KidWizardOfTheWeb/SR2

Repository files navigation

Sonic Riders: Zero Gravity
Build Status Code Progress Data Progress Discord Badge

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)

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%.
  • Download ninja and add it to %PATH%.
    • Quick install via pip: pip install ninja

macOS

  • Install ninja:

    brew install ninja

wibo, a minimal 32-bit Windows binary wrapper, will be automatically downloaded and used.

Linux

wibo, a minimal 32-bit Windows binary wrapper, will be automatically downloaded and used.

Building

  • Clone the repository:

    git clone https://github.com/KidWizardOfTheWeb/SR2.git
  • Copy your game's SLUS_216.42 ELF file to orig/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.py or set your Python environment to use UTF-8 by default.

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, or configure.py.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors