#stories #assets #pack-unpack #knytt #ks

libks

A library for working with Knytt Stories levels

1 unstable release

0.2.2 Dec 2, 2023
0.2.1 Jun 5, 2023
0.2.0 Jun 4, 2023
0.1.1 Jun 3, 2023
0.1.0 May 31, 2023

#1782 in Parser implementations

Apache-2.0

31KB
678 lines

libks

⚠️ WARNING: this library is in very early stages of development. The API is unstable and drastic, breaking changes may be introduced in any release.

libks is a Rust library that provides an interface for working with Knytt Stories levels.

Knytt Stories is a 2007 platforming game (and storytelling platform) created by Swedish indie dev Nicklas Nygren, better known as Nifflas.

Features

  • Pack or unpack .knytt.bin files
  • Parse/write Map.bin data
  • Resolve asset paths
  • Detect KS executables
  • Guess the best KS edition for a level
  • Load/parse World.ini

Dependencies

~6MB
~166K SLoC