psx-modding-toolchain | ||
.gitignore | ||
lectures.txt | ||
README.md |
CTR-ModSDK
ModSDK. (noun) A toolkit that allows you to create mods for Crash Team Racing (1999) in C.
This repository also houses an effort to fully decompile and reverse-engineer CTR in C.
This SDK uses:
- psx-modding-tools by mateusfavarin for injecting and testing code
- CTR-Tools by DCxDemo for parsing and extracting the game files
📃 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.
📊 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.