Skip to content

V0.1 Beta

Latest

Choose a tag to compare

@duhubz duhubz released this 04 Dec 22:35
· 4 commits to main since this release

zzt-rust v0.1 Beta

First public beta release of zzt-rust, a cross-platform Rust port of Tim Sweeney's ZZT 3.2 (1991) focused on behavioral and file-format fidelity.

Play right now in your browser: https://duhubz.github.io/zzt-rust/

Highlights

  • Native IBM EGA graphical window (default): Authentic 8×14 IBM EGA CP437 bitmap font (640×350), sharp-bilinear scaling, 4:3 CRT / Native aspect ratios, optional CRT scanlines (Off / Light / Strong), and Alt+Enter fullscreen.
  • Classic terminal mode (--tui): Full 80×25 TUI with IBM CGA 16-color palette, monochrome mode, and 1.875 Hz hardware-accurate text blink.
  • Browser player (HTML5 / WebAssembly): Play DEMO.ZZT or drag-and-drop any .ZZT, .SAV, or .JSON world directly in the browser with WebAudio PC-speaker sound and .SAV/.JSON export.
  • Complete ZZT 3.2 gameplay & ZZT-OOP: All original elements and AI, dark rooms and torches, multi-player clones, passages, board transitions, high scores (.HI), DOS-compatible .ZZT/.SAV saves, ZZT.DAT help resources, and ? debug commands.
  • Built-in world editor: Press E from the title menu or run zzt-port --edit <world.zzt>.
  • Authentic timing & PC-speaker audio: 18.2065 Hz PIT-quantized cycles and 4.5 kHz low-pass-filtered square-wave PC-speaker synthesis.
  • Gamepad & keyboard support: Keyboard controls plus cross-platform controller support (XInput, DirectInput/WGI, Linux evdev, macOS HID, and HTML5 Gamepad API).
  • JSON tooling: Export/rebuild worlds with --dump-json and --from-json.

What's in the Downloads

Prebuilt archives are available for Windows (x86_64), Linux (x86_64), and macOS (aarch64), along with SHA256SUMS.txt.

Each native archive includes:

  • zzt-rust / zzt-rust.exe
  • Shareware TOWN.ZZT and TOWN.HI (loaded by default on launch)
  • MIT-licensed Reconstruction DEMO.ZZT, ZZT.DAT, and .HLP help resources (run zzt-port DEMO.ZZT to play the demo)
  • README.md, LICENSE, and NOTICE

To play other worlds (for example from the Museum of ZZT), drop .ZZT files into the folder or run zzt-rust <world.zzt>.

Fidelity & Notes

  • Reference-verified: All 285 routines in The Reconstruction of ZZT are audited and test-pinned, and gameplay has been cross-checked against genuine ZZT.EXE 3.2 under DOSBox-X across 46 official and community worlds.
  • AI-assisted development: This project was built with AI assistance and verified against the reference source and DOSBox-X oracle.
  • Unsigned beta binaries: Release builds are not yet code-signed, so Windows SmartScreen or macOS Gatekeeper may prompt on first launch.

Feedback, bug reports, and edge-case .ZZT worlds are welcome in Issues!