isle/docs/README.md
Christian Semmler 7ad7d00aaf
Update README with installation and command examples
Added installation instructions for Kaitai Struct Visualizer and updated ksdump command examples.
2026-01-10 21:44:55 +01:00

2.0 KiB

LEGO Island File Format Documentation

This folder contains documentation for LEGO Island's custom binary file formats using Kaitai Struct, a declarative language for describing binary data structures.

What is Kaitai Struct?

Kaitai Struct allows you to define binary formats in a YAML-based .ksy file, which can then be:

image

Documented Formats

File Extension Description
players.ksy .gsi Player profile save data (usernames)
history.ksy .gsi Score history and high scores

Using the Tools

Installation

See the Kaitai Struct Visualizer installation instructions for setup details.

Kaitai Struct Visualizer (ksv)

The Kaitai Struct Visualizer (ksv) provides an interactive terminal UI for exploring binary files.

# View a Players.gsi file
ksv samples/Players.gsi players.ksy

# View a History.gsi file
ksv samples/History.gsi history.ksy

Kaitai Struct Dump (ksdump)

ksdump outputs the parsed structure as JSON or YAML for scripting and inspection.

# Dump Players.gsi to JSON
ksdump --format json samples/Players.gsi players.ksy

# Dump History.gsi to YAML
ksdump --format yaml samples/History.gsi history.ksy

Sample Files

The samples/ directory contains example save files for testing:

  • Players.gsi - Sample player profile data
  • History.gsi - Sample score history data