Skip to content
mattix

walkit

Rust · crates.io · early · mattijsf/walkit

walkit reads a Winamp skin, runs the scripts inside it, lays out the windows and returns a draw list for each frame. It is the skin engine of andamp.

Terminal window
cargo add walkit
input.wsz
Classic skin: the bitmaps of Winamp 2.
input.wal
Modern skin: a zip of XML, images and compiled MAKI scripts.
enginewalkit

A classic skin loads the same way as a modern one: the engine wraps its bitmaps in a generated layout.

  1. parse
  2. run scripts
  3. lay out windows
  4. draw list

A modern skin ships compiled MAKI scripts, so walkit has its own interpreter for them. How a skin should look and respond is settled by a screenshot or a probe of Winamp 5.666 in a virtual machine. A test then holds it.

walkit reads no file, draws no pixel and plays no sound. The host supplies images, fonts, touch input and the player, and draws the list on whatever it has. That is why one engine runs on Android, in a browser and in a terminal.

A scripted run writes a text trace: each step, each menu, the draw list of every frame that changed. The clock is stepped and text is measured by a fixed rule, so a trace depends on no platform. Before a release the traces are diffed line by line with the previous ones.

The engine has its own documentation site, with the draw list reference and the host guides: mattijsf.github.io/walkit.

No trackers, no cookies. This site has had forty other designs: see them all.