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.
cargo add walkitHow it fits together
Section titled “How it fits together”A classic skin loads the same way as a modern one: the engine wraps its bitmaps in a generated layout.
- parse
- run scripts
- lay out windows
- draw list
Design notes
Section titled “Design notes”Running twenty-year-old scripts
Section titled “Running twenty-year-old scripts”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.
The engine draws nothing
Section titled “The engine draws nothing”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.
Every change against the last release
Section titled “Every change against the last release”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. The Dutch site is at mattix.nl.