Skip to content

lanthorn v0.9.3

Choose a tag to compare

@github-actions github-actions released this 08 Oct 04:12
· 141 commits to main since this release
Immutable release. Only release title and notes can be modified.

lanthorn v0.9.3

Download the archive for your platform, extract it, and run lanthorn
(or one of the no-map CLI players zvm-cli / gvm-cli / scott-cli).

Highlights

  • lanthorn now keeps its files in your platform's standard folders, not a
    dot-folder in your home directory, and lanthorn --migrate-user-dir moves an
    existing ~/.lanthorn over. If you already have ~/.lanthorn, it keeps
    working exactly as before.
  • A game's IFDB details and cover are fetched once and shared by every copy of
    it
    , so duplicates and other players' libraries show the same record and cover.
  • Game documents are safer. Only manuals, notes and pictures lanthorn can
    show are downloaded; programs and scripts never are.
  • A runaway game or a damaged file no longer hangs lanthorn. A Z-machine
    story stuck in a loop, or a corrupt disk image, sound or picture, now fails
    cleanly.

Added

  • A default for Glulx window borders. Set borderless_windows = true (or
    false) in config.toml to choose whether Glulx games draw borders between
    their windows. A game's own garglk.ini or .cfg still wins over it, and a
    per-game setting (/set-game-borders) beats everything.
  • lanthorn --migrate-user-dir moves an old ~/.lanthorn into your platform's
    standard folders.
    It lists every file and where it will go, asks before
    moving, and stops without changing anything if the new folders already hold
    something with the same name. --yes skips the question.

Changed

  • Game documents are safer, and show their real names. lanthorn now
    downloads and lists only manuals and notes it can show itself: PDFs, images,
    text, web pages and zips of those, plus plain-text files with other extensions
    (a .sol solution file, say), which open in lanthorn's own reader. Programs
    and scripts (.bat, .sh, .exe and friends) are never downloaded, and only
    PDFs, images and web pages are ever handed to your system viewer. Names keep
    their extension, so a file shows as Walkthrough.sol, not Walkthrough.

  • A game's IFDB details and cover are fetched once and shared by every copy of
    it.
    Two copies of the same game, or the same game under another player, now
    show one record and one cover; refreshing either updates both, and the cover
    keeps the format IFDB served it in. Existing records and covers are moved into
    the shared store when lanthorn starts, with nothing downloaded again, including
    those of games no longer in your library.

  • New installs keep their files in your platform's standard folders. Config
    and styles, saves, documents and the cache now live in the XDG folders
    (~/.config/lanthorn, ~/.local/share/lanthorn, ~/.cache/lanthorn) on macOS
    and Linux, and in %APPDATA%\lanthorn and %LOCALAPPDATA%\lanthorn on
    Windows, instead of a dot-folder in your home directory. Log files (crash.log
    and the /dump-* logs) get their own folder: ~/.local/state/lanthorn on macOS
    and Linux, %LOCALAPPDATA%\lanthorn\logs on Windows. --migrate-user-dir
    moves an old *.log there too. If you already have ~/.lanthorn it
    keeps being used exactly as before, and --user-dir still puts everything in
    one folder. On Windows, lanthorn no longer depends on a HOME variable being
    set to find your files.

Fixed

  • A runaway Z-machine game no longer freezes lanthorn. A story stuck in a
    loop that never asks for input is stopped after about ten seconds with an
    error message, as Glulx games already were, instead of freezing lanthorn.
  • One bad story file no longer stops the library index. A file that crashed
    the indexer used to cut the story list short; it now costs only that file.
  • Damaged disk images, sounds and pictures no longer hang lanthorn or use up
    all your memory.
    Malformed disk images, audio files with absurd settings and
    oversized or corrupt pictures are rejected, and picture caches are capped.

Platform notes

  • Linux (x86_64, glibc, built on Ubuntu 22.04) requires
    libasound2 at runtime for audio —
    sudo apt-get install libasound2 (Debian/Ubuntu) or your distro's
    equivalent.
  • Linux (aarch64, glibc, built on Ubuntu 22.04) — Raspberry Pi
    OS (64-bit) and other 64-bit ARM Linux. Same runtime requirement as
    the x86_64 build above: libasound2 for audio.
  • macOS is a universal binary (Apple Silicon + Intel), ad-hoc
    signed but not notarized with an Apple Developer ID. If you
    download it with a browser, Gatekeeper quarantines it — clear
    the flag with xattr -dr com.apple.quarantine <extracted-folder>
    (or approve it once in System Settings → Privacy & Security).
    Downloading and extracting from the Terminal avoids quarantine
    entirely: curl -L <url> -o lanthorn.tar.gz && tar xzf lanthorn.tar.gz.
  • Windows is x86_64. It is unsigned, so SmartScreen may warn on
    first launch (More info → Run anyway).

Verify a download against its .sha256 sidecar.

Full Changelog: v0.9.2...v0.9.3