/ctr

Primary LanguageC

Crash Team Racing PSX Decompilation

build

Proof of concept PSX decompilation of Crash Team Racing SCUS-94426 using N64 decomp tooling.

Building

The instructions below assume that you will be using Ubuntu 20.04; either natively, via WSL2, or via Docker.

Cloning

Clone the repository; note the --recursive flag to fetch submodules at the same time:

git clone --recursive git@github.com:mkst/ctr.git

Navigate into the freshly cloned repo

cd ctr

Copy in scus_944.26 from the SCUS-94426 CDROM as bootloader.dat.

Using Docker

Spin up a container using the pre-built, ready-to-go, image:

docker run --rm -ti -v $(pwd):/ctr ghcr.io/mkst/ctr:latest

Common Steps

Extract code/data from bootloader.dat:

make extract

Rebuild as build/bootloader.dat:

make

Modifying Code

Once you have an 🆗 build, copy it into the expected/ folder so asm-differ can use it as a reference.

cp -r build/ expected/