Skip to content

Kaitai Struct tutorial

DCxDemo edited this page Aug 27, 2021 · 6 revisions

Crash Team Racing formats are documented using Kaitai Struct - a general purpose YAML-based declarative language to generate binary data parsers for multiple programming languages. Available KSY files are stored in formats folder.

Kaitai Struct documentation available here: https://doc.kaitai.io/index.html

How to use Kaitai-Struct Web IDE (lev file example):

  • Open https://ide.kaitai.io/ in your browser.
  • Drag and drop both ksy and lev files on the page.
  • Open Local storage list (files are not uploaded anywhere, they are in your browser's cache).
  • Double click both your ksy and lev files.
  • There you go, object tree panel shows you the file stucture and the values are highlighted in hex viewer.

Kaitai Web IDE example

Clone this wiki locally