ModSDK - a modding toolkit to create mods for Crash Team Racing in C. This repository also houses an effort to fully decompile and reverse-engineer CTR in C.
Go to file
2022-11-29 20:22:32 -05:00
psx-modding-toolchain progress 2022-11-29 20:22:32 -05:00
.gitignore some stuff 2022-08-29 15:10:03 -04:00
lectures.txt lectures 2022-11-12 15:18:21 -05:00
README.md some stuff 2022-11-20 11:34:31 -04:00

CTR-ModSDK

ModSDK. (noun) A toolkit that allows you to create mods for Crash Team Racing (1999) in C.

Contributors Discord Server

This repository also houses an effort to fully decompile and reverse-engineer CTR in C.

This SDK uses:

📃 Features

  • Extract and build ISO in few steps
  • Supports all retail versions and two prototypes
  • Compile C code into any address and overlay
  • Integrated Xdelta patch generation
  • Hot Swap: Load code replacements while the game is running

🏁 How to Start Modding

Requirements

  • python 3+
  • Open command prompt (CMD/Terminal) and install the dependencies:
pip install requests
pip install opencv-python

Downloading the SDK

Clone this repository:

$ git clone https://github.com/CTR-Tools/CTR-ModSDK.git
  • You can find example mods in our repo.
  • Each mod folder includes a readme.txt file on what the mod does and how to use it.
  • To build a mod, simply run build.bat in the mod folder.

CTR-in-C

Work-in-progress project to decompile Crash Team Racing into human-readable C code.

Decompile Overview

📊 Progress

Research and Decompilation

Decompiling the assembly assisted by Ghidra, researching how it works and adding comments for guidelines.

Code Rewrite

Rewriting Ghidra output to human-readable C Code and testing if it matches. Most of the source code are shared between versions.

* These are not accurate numbers and subject to change.

🤝 Contributing

Are you interested in contributing? Have any experience in C programming language? You're welcome to join!

Get in touch with us through our Discord server or you can directly look at our decompile directory.