Skip to content

About

Matching decompilation workspace for Ratchet & Clank: Size Matters (PS2, USA SCUS-97615)

Topics

Resources

Contributing

Stars

10 stars

Watchers

2 watching

Forks

Repository files navigation

OpenRAC

Ratchet & Clank: Size Matters decompilation project

Code matched Source checks openrac.dev Discord

A matching decompilation of Ratchet & Clank: Size Matters (2008) for PlayStation 2.
The boot executable, front end and 20 levels, rebuilt as C matching retail byte for byte.

Warning

This repository has no game data, executables, disc images or proprietary toolchains. You need your own copy of the game. Read LEGAL.md before contributing.

Progress

Progress is tracked on ByteMatch, one badge per version below. It is a scoped estimate, not a game-wide percentage: python3 tools/progress_status.py --check prints what each count covers, and progress/README.md explains them.

Supported versions

Release Region Boot executable Code Notes
v1.00 NTSC-U SCUS_976.15 Code Primary version
v1.00 PAL SCES_550.19 Code Tracked, compared with USA by tools/version_check.py

Expected SHA-1 of the primary disc image (1,744,764,928 bytes):

61b9cf7f46b8fc318daa2b98cfc53301654775d6

The programs, their hashes and the PAL disc: docs/build/building.md.

Quick setup

Python 3.12 or newer is all the checks need; they use only the standard library.

git clone https://github.com/OpenRAC/rac5-sm-decomp.git && cd rac5-sm-decomp
python -m unittest discover -s tests -v
python tools/check_repository.py
python3 tools/versions.py dump --version us --image /path/to/your-disc.iso
python3 tools/versions.py check

The assembly rebuilds and the gates need your own SN Systems assembler and linker and the pinned GNU EE compiler: docs/build/building.md.

Contributing

Start with CONTRIBUTING.md and AGENTS.md. Reserve your scope in the coordination issue first. All docs are listed in docs/README.md:

  • docs/build/ - building, the assembly rebuilds, SNR2 modules and their relocation
  • docs/gates/ - the boot and level gates, and what an accepted placement means
  • docs/compiler/ - what is known about the compiler, and the trials
  • docs/contributing/ - matching blockers and the roadmap
  • docs/research/ - level function boundaries and the public address map

Keep the build matching retail. Never commit game images, extracted game data or proprietary tool binaries.

Credits

License

Code written for this project is under the GNU General Public License v3.0. Code reconstructed from third-party binaries belongs to its copyright holders; see THIRD_PARTY_NOTICES.md.

About

Matching decompilation workspace for Ratchet & Clank: Size Matters (PS2, USA SCUS-97615)

Topics

Resources

Contributing

Stars

10 stars

Watchers

2 watching

Forks

Contributors

Languages