Skip to content

lanthorn v0.9.0

Choose a tag to compare

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

lanthorn v0.9.0

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).

Added

  • The Journal. The panel beside the story is now a tabbed Journal: Map,
    Room, Inventory, Hints and Documents. Click a tab, press
    Alt+1 to Alt+5, or use /journal-tab (/journal-next-tab and
    /journal-prev-tab step through them). The story pane keeps the rows the
    inventory strip used to take, and the tab you were on comes back the next time
    you open that story. Clicking a room on the map still selects it without
    leaving the map.
  • Room card on the map. Click a room and a card appears under the map with
    its name, layer, the description the game last printed there, when you saw it,
    and Rename…, Notes…, Move to another layer… and Details
    buttons. Esc or a click on empty map space puts it away. Click a dotted
    "to/from" room to jump to that room's layer with it selected.
  • Documents folders. Every game linked to IFDB can have a documents folder
    for its manual, feelies and maps, named <Title> [<IFDB id>] under
    ~/.lanthorn/documents/ and shared by every release of the game and every
    player. The story info panel shows its path or offers Create documents
    folder
    (also m, the story menu, or /create-documents-folder, which now
    works in a running game too). The story list's info panel also lists
    the folder's files, each with its kind, size and a spoiler mark, and a click
    opens one the way the Documents tab does: text and pictures in a preview, PDFs
    in your system viewer, spoilers asking first. create_documents_folders = true makes them
    automatically, and documents_dir moves them; both are read from the shared
    config.toml only.
  • Documents tab. Lists the folder with each file's kind and size. Text opens
    in a pager that wraps to the pane, reads old Mac and DOS text files and
    re-wraps on resize; pictures are shown in place; PDFs open in your system
    viewer. Files named like a walkthrough or hint sheet are marked as spoilers
    and ask before they open. Reach it with a click, Alt+5 or
    /journal-tab documents; Shift+Up/Down and Shift+Left/Right move through it
    without touching the command line. A file's kind is judged by what is in it,
    not its name, so a transcript called zorkI.step1 shows as text.
  • Fetch documents from IFDB. Press Shift+D on a story (or use the story
    menu's Download documents from IFDB…, the Download documents… button in
    the info panel, or /download-documents in a running game) and pick from the
    files IFDB lists: PDFs, scans, text files and zips. A zip opens to show what is
    inside without being downloaded, so you can take one entry from a bundle, and
    a text file can be previewed first. Each file keeps IFDB's description and says
    which zip it came from. Nothing is fetched until you ask; files over 100 MB are
    refused, and a game that is not linked to IFDB says so. A document you already
    have (same contents, any name) is not copied again; a different file with the
    same name gets a (2) suffix. The chooser marks what you
    already have: a file in the folder at the same size shows "In your documents"
    and cannot be ticked or downloaded again, while one whose size has changed
    since you downloaded it shows "In your documents — different size" and stays
    tickable.
  • Hint files in the documents folder. Drop an InvisiClues file there and
    the Hints tab uses it for that game whatever it is called, across every release
    and disk image; the old places still work and nothing is moved. Download
    hints
    saves into the documents folder for a game linked to IFDB. When several
    hint files could be the game's, the Hints tab lists them so you can pick one
    (click, or Tab / Up / Down / Enter) and remembers your choice.
  • Glulx games in the frame their author drew. Games that ship a Windows Glk
    .cfg (Photopia 2.01 and Narcolepsy among them) are laid out at the
    size their author designed and stretched over the story pane, so the border art
    meets the text with no gaps. Window masks are honoured too: cells outside the
    shape are left blank (style it with glk_mask_outside). Put
    glk_design = false in a story's config.toml to keep the old layout, or in
    the shared config.toml to turn it off for every game.
  • /set-glk-fit aspect keeps a designed frame's proportions instead of
    stretching: it fits the largest whole-cell frame at the design's proportions,
    centred. A bare /set-glk-fit (or a click on the render icon on the story
    pane's top border, shown only for these games) toggles; it is remembered per
    game, and glk_design_fit in config.toml sets the default.
  • The Guiding Light spells out modern shorthands on older games. Type
    x lamp in a game that has never heard of x and it suggests examine
    (keeping lamp); likewise z for wait, g for again, l for look and
    i for inventory, whenever that game really knows the full word.
  • Several players on one install. --player <name> (or the
    LANTHORN_PLAYER environment variable) gives each player their own saves, map,
    history, settings and look, while story titles, blurbs and covers are fetched
    once and shared. Leave it out and nothing changes. Lanthorn only takes the
    name; it does not check who you are.
  • Docker browser mode behind a login proxy. Set LANTHORN_WEB_AUTH_HEADER to
    the header a login-aware reverse proxy (Authelia, Authentik, Caddy
    forward_auth) fills in with the user's name, and each user gets their own
    saves, map and settings, with their running game kept separate. The container
    does no login of its own, so the proxy must be the only way to reach it. Sound
    works in this mode too, through a second proxy route.

Changed

  • Hints moved from a pop-up into the Journal. /open-hints no longer covers
    the story: the hint file runs in the Hints tab (Alt+4, or
    /journal-tab hints), starts by itself the first time you show it, and keeps
    its place in the hint menu while you look at other tabs. The keyboard stays
    with the story until you click inside the hint window (or press Tab on an empty
    prompt); Esc, Tab on an empty hint line, or a click on the story or another tab
    hands it back. With no hint file the tab says so and offers Download
    hints…
    , and /download-hints now works in a running game as well as in the
    story browser. The "no hint file" message names the game's documents folder, or
    tells you to link the game to IFDB first.
  • /toggle-room-panel and /toggle-inventory-panel are replaced by
    /journal-tab, the leader keys k and i now switch to those tabs, and the
    inv_dock_pct and room_dock_pct settings are gone. The border control that
    cycled the command panel and inventory now just opens and closes the command
    panel.
  • Story downloads from IFDB are limited to 100 MB per file, the same as
    documents (raised from 50 MB); a file over the limit is refused with "Too large
    to download (over 100 MB)".

Fixed

  • Up/down rooms and the dotted links to other map layers no longer cut across
    other paths.
    The "to ..." boxes standing for other layers now sit beside the
    room whose passage leads there, and a room reached by stairs is tucked in where
    its connector crosses nothing.
  • Folders of Commodore 64 disks list much faster. Crunched disk images with
    no playable game are now unpacked once, and lanthorn remembers which disks held
    no game (until the file changes), so a folder of C64 disks that took 12.4
    seconds to list now takes 4.2 seconds the first time and 0.07 seconds after
    that.
  • Hints are found in game for a story played from a disk image. Zork I from
    an Amiga disk showed its hint file in the story list but the in-game hints said
    none was available; the game and the story list now pick the same file.
  • Walkthroughs, hints and solution files are marked as spoilers in the document
    downloader even when IFDB files them somewhere else, and so are files inside a
    zip that are named that way.
  • The room inspector now shows room descriptions in Zork Zero, Shogun and Arthur
    too, instead of leaving them blank in every graphical (Version 6) game. Journey
    prints no room names, so it still has none to show.

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.8.3...v0.9.0