This is a work-in-project precomp of Space Station Silicon Valley. It allows custom code to be injected into the ROM. Kudos to Mr-Wiseguy.
This repo should be cloned alongside the sssv repo, e.g.
sssv/ ; the sssv decompilation project folder
sssv-precomp/ ; this project
This project works by injecting/patching code in the .elf
that is created as part of the SSSV decompilation project. You must first build that project before compiling this one.
Once successfully compiled, the .z64
can be found in the build/
directory of this repo.
Build Docker image:
docker build . -t sssv-precomp
Compile:
docker run --rm -ti -v $(pwd):/sssv-precomp -v $(pwd)/../sssv:/sssv sssv-precomp make
NOTE:
Assumes you have all the prerequisites required to build the sssv
project. You can build using gcc-mips-linux-gnu, or the n64chain specific build.
Install prerequisites:
sudo apt-get update && apt-get install -y gcc-mips-linux-gnu
Compile:
CROSS=mips-linux-gnu- make
NOTE: Assumes you've already built the n64chain (e.g. by following CrashOveride's instructions).
Compile:
make