Skip to content
/ libctr Public

A library to parse Crash Team Racing data files

Notifications You must be signed in to change notification settings

tatref/libctr

Repository files navigation

Introduction

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

Status

Done or mostly done

Building

Requirements

  • clone this repo
git clone https://github.com/tatref/libctr
cd libctr/
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

Building the libs

The source for each file format is at ./kaitai-struct. To build, the Python/Java/... libs from it, just run

./create_libs.sh

Formats mapping

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

Usage

See examples

Gallery

CTR Bigfile

For a tutorial, see Kaitaistruct_WebIDE_Tutorial

Level CTR Level

Character CTR Character

About

A library to parse Crash Team Racing data files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published