This a library to parse Crash Team Racing data files, some of it is based on DCxDemo's work
See the reversing guide, and the modding guide
- clone this repo
git clone https://github.com/tatref/libctr
cd libctr/
- Install java
- Install kaitai-struct-compiler-0.8 (see http://kaitai.io/#download for details)
wget https://dl.bintray.com/kaitai-io/universal/0.8/kaitai-struct-compiler-0.8.zip
unzip kaitai-struct-compiler-0.8.zip
- Install graphviz (optional). For visual block diagrams
The source for each file format is at ./kaitai-struct
. To build, the Python/Java/... libs from it, just run
./create_libs.sh
Extension | ksy | Description |
---|---|---|
.BIG | ctr_bigfile.ksy | BIGFILE.BIG |
.vram | ctr_tim2x.ksy | textures |
.ctr | ctr_character.ksy | characters |
.lev | ctr_level.ksy | levels |
.lng | ctr_lang.ksy | translations |
See examples
Web IDE (https://ide.kaitai.io/)
For a tutorial, see Kaitaistruct_WebIDE_Tutorial