feat(progress): a Progress window, a corner panel and marks in the world, and the save's progress for the launcher #2957

Open
neotoxic wants to merge 51 commits from neotoxic/Longshot:feat/progress-window into main
Contributor

Summary

Players asked to follow their progress without leaving the game: what is done, what is left, where, and what it takes. This adds a Progress window (system/progress) and two companions while you play, read live from the game, and gives the launcher's Progress page (LongshotLauncher#366) what it needs to stop keeping its own copy of the catalogue and of the save reader. It replaces #2943 (a tab in main's C++ menu); as HumanBean asked: in mod-api, a window of its own, the catalogue shipped here with its flag names, the launcher using Longshot as its API.

  • The window (F2, or Plus+B, the player's to change: the key is the first row under Gameplay > Progress, the chord on the mod's page of the Mods tab; Show and the rewards row are controls of its header): an atlas. The story and the areas on the left, Link's first (marked by a head), each with its bar; the area chosen on the right, kind by kind, each line with its icon and state (✓ done, ◆ feasible, padlock not yet) and the one thing to know about it; the line chosen in full below. Header: the totals, Show (feasible now, left, all) and the rewards shown, kept between openings. Sized for the game's 1920x1080 screen (text 21 px, rows 40-44 px, not the theme's 27/60).
  • The corner panel (Gameplay tab: off, on entering an area, always): what is feasible in the area Link is in and the story's next step, at the right, never taking input; off while the window, which says the same, is open.
  • Marks in the world (Gameplay tab, on by default): over the chests, Pieces of Heart and Gold Skulltulas feasible now, the nearest 24 within the label distance setting (40 m by default, 10 to 100), dimmed behind walls (a Gold Skulltula is in a wall, a tree or a pipe), placed from the map's placements (content.read.placements) by the ids the catalogue already has.

Read first:

  • game/crates/progress: the catalogue (game/mods/progress/data/catalogue.tsv, one copy, flags and enum values by name) read once, a progress.sav read, a line marked done as the game would have it.
  • game/modapi/schema/game.flags.toml, game/crates/api/src/services/game.rs: flags.getMany and flags.placements (many flags, many placements' done flags, one call each; the placements in one pass over the Bool64bitKey list), and game.state().savedPlace (the place the save's caption last named: Lake Hylia and Lon Lon Ranch are inside the map HyruleField).
  • game/modapi/schema/game.toml, game/crates/script/src/host.rs, game/crates/game-core/src/watch.rs: flagsChanged, one listener for a list of flags (HumanBean: "We could add a flagsChanged, feel free to add"). One call a frame at most with the flags of its own list that changed (ScriptHost::fire_each makes each listener's payload from its filter); the watch goes from 256 to 1,024 flags, all mods and flagChanged together; records take lists in the schema.
  • game/crates/ui: a Window's padding: 0 is now its style's (it got the 24 px WINDOW_PAD), so the Progress header sits right under the title bar ("should be properly stuck on").
  • game/mods/progress/src: view.ts (the rules, pure), shared.ts (the catalogue read within 1 ms a frame, the game's values read whole at a load and the frame a place is checked through items.checked, kept up to date by flagsChanged between, Link's area inside Hyrule Field by the nearest line, and the areas' names as the game gives them in the menu's language through content.read's mapName, the catalogue's own as the fallback), main.tsx (the window), companions.tsx (the corner panel and the marks).
  • game/crates/modtool/src/progress_ops.rs: save_progress and save_progress_mark for the launcher (mod serve, or mod save-progress <slot> / mod save-progress-mark <slot> <line>). A mark takes the profile's playing lock (a game running refuses it, none can start in the middle), is refused while the game has a save journal to replay, backs the save up and writes it flushed, then renames.

Cost: closed, the window runs nothing. The game's values (365 flags, 228 placement keys) are read whole, two calls, at a save's or a map's load and when the game reports a place checked (items.checked, permission items.read); between, flagsChanged keeps the flags (each watched flag is one hash-table read a frame on the engine's side). Open, the window looks at them every 0.25 s; the companions once a second while one of them is on. A map's placements are read once per map, for the marks and for Link's area.

Look (NULL: "follow the menu's colors a bit more"): the window is the Insert menu's card, Show is drawn as the menu's tabs, the chosen rows as the menu lights its rows, section titles as the kit's; one 22 px left edge, softer row stripes, the totals in words, "Rewards filter". The value chip is a step lighter and its needs are said short (4b5c3242): nothing in brackets, nothing an adult has already ("Ocarina · as an adult" reads "As an adult"), the first items and "+N" past one line.

Docs: the modding reference and schema pages from the schema, the game's moments, scripting, permissions and ui pages (docs/modding), docs/dev/reference/game-events.md and mod-ops.md, the guide's settings table, the READMEs.

Testing

Tested: in the game on Windows 11 (RTX 5080, driver 617.42), on mod-api with #2961 merged locally (mod-api's game builds natively on Windows with it), from a save in the Great Deku Tree: the window opens and lists the atlas (screenshots below, English menu), the corner panel shows on entering an area once play starts, a mark is placed from the map's placements (the nearest feasible one there was 80 m away, out of range, so none showed on screen); system/progress ran with no fault. A later play in Hyrule Field found two faults, fixed in e1d7eeab: F3 and F4 (Show, the rewards row) did nothing, since a focused window gets no action but its closeOn and the keys did nothing with it closed, so they are gone; and a Gold Skulltula's mark stayed unseen next to it, its place behind the scene's depth, so the marks are dimmed there now (occlude="fade"). Next to Lake Hylia's pipe Skulltula, still no mark: a Gold Skulltula's placement is its id + 2 and the marks looked up the first id only, fixed in 751ede44 (checked against the game's map files: every catalogue line with a place finds it, 192 chests, 28 Pieces of Heart, 100 Gold Skulltulas). Then, at 2560x1600: the marks show over the pipe's Skulltula through the wall; the settings now have plain names in the menu's 13 languages and a label distance (a8a85aff); a chosen row or button no longer moves its contents by its border, "Rewards" stays on one line, and needs drop an age their item says (c6393dc8). Then the bars show no gap between done and feasible (and no mustard on an area all done), the counts read done / feasible / all in the bars' colours, a line's tick, diamond and padlock are centred, and the needs and key hints start with a capital (3c7b963e). The header's icons now sit in the middle of their circles and every other area row is shaded too (0e40af34, not yet seen in the game). Seen there and not this pull request's: with any mod window focused, mod-api drew the Insert menu's page behind it; mod-api's new menu (59908c08) replaced that code, to be checked again in the game. Earlier, on Linux (CachyOS, Ryzen 7 5800H, a tester's run of 79e9fea5): F2 and Esc, the counts matching mod save-progress, the list updating within a second after a teleport, save-progress-mark writing a line and refusing a line done, not feasible, or a profile whose game holds its lock.

On Linux on 03/12 (a laptop: CachyOS, COSMIC on native Wayland, RTX 3060, the desktop at 125 %), this pull request's mod as of 84df0bbb (on mod-api's base, with the pop-out work of #3175 on top; dev.py base and rt built it there): F2 opens the window, the pointer and the keys work in it, with no offset at 125 %. There the corner panel showed through the window when both were on screen: HUD roots are drawn under the windows and the window's page is the Insert menu's card, 90% opaque, so the panel's text showed at 10%. Since 72065017 the panel goes while the window is open and comes back once it closes (not yet seen in the game).

Checks: cargo test -p progress (the catalogue, each kind of test, names read as hashes, reading and marking synthetic saves), the mod's tests on the fake game (cargo test -p modtool progress_passes_its_tests: the hash, the atlas's areas and groups, the cells, the marks' placements, F2, the corner panel and its setting, the corner panel gone under the window and back after it (it fails without 72065017), a flag set in play changing the window, a place checked leaving what is feasible within 3 frames, an area named by the game's text when it has one), tsgo on the mod (mod check --types's), progress_ops (the newest save of a slot, a mark with its backup, refused with the game's lock or a save journal), the menu's layout and the guide's settings table, each system mod's and example's own tests (cargo test -p modtool passes_its_tests, one test a mod since main: 10 passed at 02eb8445). cargo test -p api -p modtool -p progress -p longshot-game, clippy and schema-gen --check pass at 84df0bbb; at 02eb8445 cargo test -p api -p progress and schema-gen --check pass but for watch::tests::a_walked_reshade_folder_counts_a_change_once_two_walks_agree, which fails on main @ f577a1ae too. The catalogue in names gives the launcher's hashed copy's decisions on 24 real saves (10 536 lines, 564 identical marks; an off-tree check). An independent review of the diff found nothing blocking; its findings are fixed in 0e8a9612.

The full game-free suite (mise run test) on this PC (Windows 11, no clang, no Linux tools), on 04/12, after main was merged in (70b23c94) and the keybind given its row (02eb8445): on main @ f577a1ae, in a checkout of its own, 769 passed, 76 failed, 51 skipped; on this branch @ 02eb8445, 770 passed, 75 failed, 51 skipped. Every failure here also fails on main (checks that need a Linux system or clang: audio, pads, the display, the lifter, the builder..., listed in the comments); main's one more, test_recording_admission.py, passed here. Before, two checks failed on this branch only: test_no_game_title.py, fixed in b5769ae7 (the catalogue names the story's characters, items and songs as the game shows them: an allowed file, as the cheats' names are), and test_menu_i18n.py, which found the keybind's label and help stale in the menu's strings (no row drew them) while test_i18n_complete.py asks for them: the keybind is now a row, so both hold. ffi-gen --check finds game/game.h and host-sys's ffi.rs stale, on main @ f577a1ae as here.

In play on Windows 11 (RTX 5080) on 04/12, at this head: the Gameplay tab's Progress heading starts with Open the Progress window, its key opens and closes the window; F2 opens the window over the corner panel, the panel goes under it and comes back once it closes; the marks show next to their chest or Gold Skulltula and dim behind a wall; a chest opened or a step of the story done shows at once, "here" follows Link from the field to the lake and into the ranch, and the areas are named; Plus+B on a controller opens the window and the D-pad moves in it. All as expected.

The frame time in play against main @ f577a1ae (moved from Still to test), on 04/12 at this head: dev.py ab --scene hyrule-field --runs 2 --set LONGSHOT_SET=system/progress:progress_corner=0,system/progress:progress_marks=false on Windows 11 (RTX 5080, driver 617.42), the window closed (never opened), the corner panel and the marks off (each run's menu read back progress_corner Off and progress_marks Off), interleaved A1 B1 A2 B2: within the spread (Measurements). No hang, no black frame.

Still to test:

  • The marks on an ultrawide, and the keybind row's label in a few of the menu's languages (by hand).
  • Plus also opens the game's menu with Plus+B: whether the chord should change is the maintainers' to say (by hand).
  • @Beanstalk Linux with this version: F2 opens the Progress window in play and lists the areas; a chest opened leaves its list; the corner panel shows on entering an area and not under the window.

Measurements

Verdict: a cost only while something of it shows, well under 1 ms a frame: a tick with the corner panel always shown and the marks on takes 0.52 ms of script time (1.78 ms before 65035c4e, which ended the panel and the marks for the session in the game); with the window closed and both companions off, the frame time is the same as main's, within the runs' spread (172.4 / 172.7 against 171.9 / 172.5 fps, median frame time 5.79 / 5.78 against 5.81 / 5.79 ms).

The frame time against main, the window closed and the companions off

Setup: Windows 11 Pro 26300, RTX 5080, driver 617.42, Ryzen 9 7950X; dev.py ab --scene hyrule-field --runs 2 --set LONGSHOT_SET=system/progress:progress_corner=0,system/progress:progress_marks=false (the Progress window never opened; cap off, HOS_FPS_MAX=1000; Render resolution 67 %; V-Sync and frame generation off), 60 s a run after the warm-up, interleaved A1 B1 A2 B2. dev.py ab printed each run's line but wrote no Measurements block: the runs differ in the Progress rows main doesn't have (the compared thing) and in switches that are Windows handles (LONGSHOT_BUILDER_PIPES, LONGSHOT_CRASH_BLOCK); the numbers are its per-run lines.

Hyrule Field (run 1 / run 2) Before: main @ f577a1ae After: this PR @ 02eb8445
fps 171.9 / 172.5 172.4 / 172.7
1 % low 146.2 / 146.8 fps 147.1 / 146.4 fps
median frame time 5.81 / 5.79 ms 5.79 / 5.78 ms
p99 frame time 6.84 / 6.81 ms 6.80 / 6.83 ms

The mod's script time

Baseline: this branch before 65035c4e (its parent, a6ccbfba): main has no Progress mod, so the mod is measured against its own earlier code, the code that ran 2.2 ms a second in the game and once 5.8 ms.

Setup: Windows 11, the dev PC (RTX 5080); mod test's fake game, cpuScale 1.5; the mod's script time per frame (game.scriptTime), each case on both commits.

Case Before: this PR @ a6ccbfba After: this PR @ 65035c4e
A tick, corner panel always shown and marks on (median of the frames that ran) 1.78 ms 0.52 ms
Entering an area (most) 2.75 ms 1.46 ms
The window's first read, a quarter of a second after it opens 3.57 ms 0.72 ms
Every line's state (439 lines) 1.16 ms 0.64 ms
The marks' choice 0.42 ms 0.14 ms

A test holds the tick under 1 ms times cpuScale in an optimised build (the code before: 1.92 ms against 1.59). In the game: on the Linux run (79e9fea5), the mod's time stayed under 2 ms a frame with the window open; 2.1 ms once at the start and 2.7-3.8 ms when the window opened; the catalogue read takes at most 1 ms a frame since. On Windows before 65035c4e, the companions' tick ran 2.2 ms each second in play, warned about every time, and once 5.8 ms: a callback past 5 ms ends its every() for good, so the panel and the marks stopped for the session.

Closed, with both companions off, the mod runs no script; what stays is the engine's watch of the catalogue's 365 flags through flagsChanged (one hash-table read each a frame, up to four for a number), outside the script time above: the frame-time table above is that case.

Risks

Inside Hyrule Field, Link's area is the one of the catalogue's line placed nearest him: the game keeps no live place of his there (its LocationArea volumes only open the place banner as he enters, the lake's a cylinder over it, the ranch's a small box at its gate, and nothing a mod reads says where he is), so near the field's edge with the lake or the ranch the area can switch a little early or late. A flag the game does not have is left out of the flagsChanged list (one would have the whole list refused); with the watch full or the event missing, the mod reads the game whole as before. A mark sits where the map places the thing, which for a few placements is under the floor or inside a wall (the label is dimmed there, not hidden). A mark in the save is the launcher's or the command line's only, with the game closed. A new row on the Gameplay tab: the window's key, under the Progress heading, in the menu's language; on the mod's page of the Mods tab its label and help stay in English, as every mod's do there. Its cost with the window closed and the companions off is the flag watch, not measured in frames yet (Measurements).

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit. (main @ f577a1ae merged in, 70b23c94)
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named). (every failure here also fails on main @ f577a1ae: Testing and the comments name them)
  • Measured against main, or Measurements says why there is nothing to measure. (the frame time against main @ f577a1ae, the window closed and the companions off: within the spread; the mod's own times against its earlier code)
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A check under tests/ that reads changed source is updated, not weakened. (the menu's layout; test_no_game_title.py allows the catalogue, with its reason)
  • Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. (its one host line, kFadeFloor in gpu/vk/world_depth.h, built in the game on Windows with llvm-mingw and on Linux, CachyOS, with dev.py base and rt, on 03/12; no path code)
  • Screenshots for a change that shows on screen. (new: here only)
  • Docs updated.
  • AI assistance recorded with Co-Authored-By: trailers.

🤖 Generated with Claude Code

## Summary Players asked to follow their progress without leaving the game: what is done, what is left, where, and what it takes. This adds a **Progress window** (`system/progress`) and two companions while you play, read live from the game, and gives the launcher's Progress page (LongshotLauncher#366) what it needs to stop keeping its own copy of the catalogue and of the save reader. It replaces #2943 (a tab in main's C++ menu); as HumanBean asked: in mod-api, a window of its own, the catalogue shipped here with its flag names, the launcher using Longshot as its API. - **The window** (F2, or Plus+B, the player's to change: the key is the first row under Gameplay > Progress, the chord on the mod's page of the Mods tab; Show and the rewards row are controls of its header): an atlas. The story and the areas on the left, Link's first (marked by a head), each with its bar; the area chosen on the right, kind by kind, each line with its icon and state (✓ done, ◆ feasible, padlock not yet) and the one thing to know about it; the line chosen in full below. Header: the totals, Show (feasible now, left, all) and the rewards shown, kept between openings. Sized for the game's 1920x1080 screen (text 21 px, rows 40-44 px, not the theme's 27/60). - **The corner panel** (Gameplay tab: off, on entering an area, always): what is feasible in the area Link is in and the story's next step, at the right, never taking input; off while the window, which says the same, is open. - **Marks in the world** (Gameplay tab, on by default): over the chests, Pieces of Heart and Gold Skulltulas feasible now, the nearest 24 within the label distance setting (40 m by default, 10 to 100), dimmed behind walls (a Gold Skulltula is in a wall, a tree or a pipe), placed from the map's placements (`content.read.placements`) by the ids the catalogue already has. Read first: - `game/crates/progress`: the catalogue (`game/mods/progress/data/catalogue.tsv`, one copy, flags and enum values by name) read once, a `progress.sav` read, a line marked done as the game would have it. - `game/modapi/schema/game.flags.toml`, `game/crates/api/src/services/game.rs`: `flags.getMany` and `flags.placements` (many flags, many placements' done flags, one call each; the placements in one pass over the Bool64bitKey list), and `game.state().savedPlace` (the place the save's caption last named: Lake Hylia and Lon Lon Ranch are inside the map HyruleField). - `game/modapi/schema/game.toml`, `game/crates/script/src/host.rs`, `game/crates/game-core/src/watch.rs`: `flagsChanged`, one listener for a list of flags (HumanBean: "We could add a flagsChanged, feel free to add"). One call a frame at most with the flags of its own list that changed (`ScriptHost::fire_each` makes each listener's payload from its filter); the watch goes from 256 to 1,024 flags, all mods and `flagChanged` together; records take lists in the schema. - `game/crates/ui`: a Window's `padding: 0` is now its style's (it got the 24 px WINDOW_PAD), so the Progress header sits right under the title bar ("should be properly stuck on"). - `game/mods/progress/src`: `view.ts` (the rules, pure), `shared.ts` (the catalogue read within 1 ms a frame, the game's values read whole at a load and the frame a place is checked through `items.checked`, kept up to date by `flagsChanged` between, Link's area inside Hyrule Field by the nearest line, and the areas' names as the game gives them in the menu's language through `content.read`'s `mapName`, the catalogue's own as the fallback), `main.tsx` (the window), `companions.tsx` (the corner panel and the marks). - `game/crates/modtool/src/progress_ops.rs`: `save_progress` and `save_progress_mark` for the launcher (`mod serve`, or `mod save-progress <slot>` / `mod save-progress-mark <slot> <line>`). A mark takes the profile's playing lock (a game running refuses it, none can start in the middle), is refused while the game has a save journal to replay, backs the save up and writes it flushed, then renames. Cost: closed, the window runs nothing. The game's values (365 flags, 228 placement keys) are read whole, two calls, at a save's or a map's load and when the game reports a place checked (`items.checked`, permission `items.read`); between, `flagsChanged` keeps the flags (each watched flag is one hash-table read a frame on the engine's side). Open, the window looks at them every 0.25 s; the companions once a second while one of them is on. A map's placements are read once per map, for the marks and for Link's area. Look (NULL: "follow the menu's colors a bit more"): the window is the Insert menu's card, Show is drawn as the menu's tabs, the chosen rows as the menu lights its rows, section titles as the kit's; one 22 px left edge, softer row stripes, the totals in words, "Rewards filter". The value chip is a step lighter and its needs are said short (4b5c3242): nothing in brackets, nothing an adult has already ("Ocarina · as an adult" reads "As an adult"), the first items and "+N" past one line. Docs: the modding reference and schema pages from the schema, the game's moments, scripting, permissions and ui pages (docs/modding), docs/dev/reference/game-events.md and mod-ops.md, the guide's settings table, the READMEs. ## Testing **Tested:** in the game on Windows 11 (RTX 5080, driver 617.42), on mod-api with #2961 merged locally (mod-api's game builds natively on Windows with it), from a save in the Great Deku Tree: the window opens and lists the atlas (screenshots below, English menu), the corner panel shows on entering an area once play starts, a mark is placed from the map's placements (the nearest feasible one there was 80 m away, out of range, so none showed on screen); `system/progress` ran with no fault. A later play in Hyrule Field found two faults, fixed in e1d7eeab: F3 and F4 (Show, the rewards row) did nothing, since a focused window gets no action but its closeOn and the keys did nothing with it closed, so they are gone; and a Gold Skulltula's mark stayed unseen next to it, its place behind the scene's depth, so the marks are dimmed there now (`occlude="fade"`). Next to Lake Hylia's pipe Skulltula, still no mark: a Gold Skulltula's placement is its id + 2 and the marks looked up the first id only, fixed in 751ede44 (checked against the game's map files: every catalogue line with a place finds it, 192 chests, 28 Pieces of Heart, 100 Gold Skulltulas). Then, at 2560x1600: the marks show over the pipe's Skulltula through the wall; the settings now have plain names in the menu's 13 languages and a label distance (a8a85aff); a chosen row or button no longer moves its contents by its border, "Rewards" stays on one line, and needs drop an age their item says (c6393dc8). Then the bars show no gap between done and feasible (and no mustard on an area all done), the counts read done / feasible / all in the bars' colours, a line's tick, diamond and padlock are centred, and the needs and key hints start with a capital (3c7b963e). The header's icons now sit in the middle of their circles and every other area row is shaded too (0e40af34, not yet seen in the game). Seen there and not this pull request's: with any mod window focused, mod-api drew the Insert menu's page behind it; mod-api's new menu (59908c08) replaced that code, to be checked again in the game. Earlier, on Linux (CachyOS, Ryzen 7 5800H, a tester's run of 79e9fea5): F2 and Esc, the counts matching `mod save-progress`, the list updating within a second after a teleport, `save-progress-mark` writing a line and refusing a line done, not feasible, or a profile whose game holds its lock. On Linux on 03/12 (a laptop: CachyOS, COSMIC on native Wayland, RTX 3060, the desktop at 125 %), this pull request's mod as of 84df0bbb (on mod-api's base, with the pop-out work of #3175 on top; `dev.py base` and `rt` built it there): F2 opens the window, the pointer and the keys work in it, with no offset at 125 %. There the corner panel showed through the window when both were on screen: HUD roots are drawn under the windows and the window's page is the Insert menu's card, 90% opaque, so the panel's text showed at 10%. Since 72065017 the panel goes while the window is open and comes back once it closes (not yet seen in the game). Checks: `cargo test -p progress` (the catalogue, each kind of test, names read as hashes, reading and marking synthetic saves), the mod's tests on the fake game (`cargo test -p modtool progress_passes_its_tests`: the hash, the atlas's areas and groups, the cells, the marks' placements, F2, the corner panel and its setting, the corner panel gone under the window and back after it (it fails without 72065017), a flag set in play changing the window, a place checked leaving what is feasible within 3 frames, an area named by the game's text when it has one), tsgo on the mod (`mod check --types`'s), `progress_ops` (the newest save of a slot, a mark with its backup, refused with the game's lock or a save journal), the menu's layout and the guide's settings table, each system mod's and example's own tests (`cargo test -p modtool passes_its_tests`, one test a mod since main: 10 passed at 02eb8445). `cargo test -p api -p modtool -p progress -p longshot-game`, clippy and `schema-gen --check` pass at 84df0bbb; at 02eb8445 `cargo test -p api -p progress` and `schema-gen --check` pass but for `watch::tests::a_walked_reshade_folder_counts_a_change_once_two_walks_agree`, which fails on main @ f577a1ae too. The catalogue in names gives the launcher's hashed copy's decisions on 24 real saves (10 536 lines, 564 identical marks; an off-tree check). An independent review of the diff found nothing blocking; its findings are fixed in 0e8a9612. The full game-free suite (`mise run test`) on this PC (Windows 11, no clang, no Linux tools), on 04/12, after main was merged in (70b23c94) and the keybind given its row (02eb8445): on main @ f577a1ae, in a checkout of its own, 769 passed, 76 failed, 51 skipped; on this branch @ 02eb8445, 770 passed, 75 failed, 51 skipped. Every failure here also fails on main (checks that need a Linux system or clang: audio, pads, the display, the lifter, the builder..., listed in the comments); main's one more, `test_recording_admission.py`, passed here. Before, two checks failed on this branch only: `test_no_game_title.py`, fixed in b5769ae7 (the catalogue names the story's characters, items and songs as the game shows them: an allowed file, as the cheats' names are), and `test_menu_i18n.py`, which found the keybind's label and help stale in the menu's strings (no row drew them) while `test_i18n_complete.py` asks for them: the keybind is now a row, so both hold. `ffi-gen --check` finds game/game.h and host-sys's ffi.rs stale, on main @ f577a1ae as here. In play on Windows 11 (RTX 5080) on 04/12, at this head: the Gameplay tab's Progress heading starts with Open the Progress window, its key opens and closes the window; F2 opens the window over the corner panel, the panel goes under it and comes back once it closes; the marks show next to their chest or Gold Skulltula and dim behind a wall; a chest opened or a step of the story done shows at once, "here" follows Link from the field to the lake and into the ranch, and the areas are named; Plus+B on a controller opens the window and the D-pad moves in it. All as expected. The frame time in play against `main` @ f577a1ae (moved from Still to test), on 04/12 at this head: `dev.py ab --scene hyrule-field --runs 2 --set LONGSHOT_SET=system/progress:progress_corner=0,system/progress:progress_marks=false` on Windows 11 (RTX 5080, driver 617.42), the window closed (never opened), the corner panel and the marks off (each run's menu read back `progress_corner` Off and `progress_marks` Off), interleaved A1 B1 A2 B2: within the spread (Measurements). No hang, no black frame. **Still to test:** - The marks on an ultrawide, and the keybind row's label in a few of the menu's languages (by hand). - Plus also opens the game's menu with Plus+B: whether the chord should change is the maintainers' to say (by hand). - @Beanstalk Linux with this version: F2 opens the Progress window in play and lists the areas; a chest opened leaves its list; the corner panel shows on entering an area and not under the window. ## Measurements **Verdict:** a cost only while something of it shows, well under 1 ms a frame: a tick with the corner panel always shown and the marks on takes 0.52 ms of script time (1.78 ms before 65035c4e, which ended the panel and the marks for the session in the game); with the window closed and both companions off, the frame time is the same as `main`'s, within the runs' spread (172.4 / 172.7 against 171.9 / 172.5 fps, median frame time 5.79 / 5.78 against 5.81 / 5.79 ms). #### The frame time against `main`, the window closed and the companions off Setup: Windows 11 Pro 26300, RTX 5080, driver 617.42, Ryzen 9 7950X; `dev.py ab --scene hyrule-field --runs 2 --set LONGSHOT_SET=system/progress:progress_corner=0,system/progress:progress_marks=false` (the Progress window never opened; cap off, HOS_FPS_MAX=1000; Render resolution 67 %; V-Sync and frame generation off), 60 s a run after the warm-up, interleaved A1 B1 A2 B2. `dev.py ab` printed each run's line but wrote no Measurements block: the runs differ in the Progress rows `main` doesn't have (the compared thing) and in switches that are Windows handles (`LONGSHOT_BUILDER_PIPES`, `LONGSHOT_CRASH_BLOCK`); the numbers are its per-run lines. | Hyrule Field (run 1 / run 2) | Before: main @ f577a1ae | After: this PR @ 02eb8445 | |---|---|---| | fps | 171.9 / 172.5 | 172.4 / 172.7 | | 1 % low | 146.2 / 146.8 fps | 147.1 / 146.4 fps | | median frame time | 5.81 / 5.79 ms | 5.79 / 5.78 ms | | p99 frame time | 6.84 / 6.81 ms | 6.80 / 6.83 ms | #### The mod's script time Baseline: this branch before 65035c4e (its parent, a6ccbfba): main has no Progress mod, so the mod is measured against its own earlier code, the code that ran 2.2 ms a second in the game and once 5.8 ms. Setup: Windows 11, the dev PC (RTX 5080); `mod test`'s fake game, cpuScale 1.5; the mod's script time per frame (`game.scriptTime`), each case on both commits. | Case | Before: this PR @ a6ccbfba | After: this PR @ 65035c4e | |---|---|---| | A tick, corner panel always shown and marks on (median of the frames that ran) | 1.78 ms | 0.52 ms | | Entering an area (most) | 2.75 ms | 1.46 ms | | The window's first read, a quarter of a second after it opens | 3.57 ms | 0.72 ms | | Every line's state (439 lines) | 1.16 ms | 0.64 ms | | The marks' choice | 0.42 ms | 0.14 ms | A test holds the tick under 1 ms times cpuScale in an optimised build (the code before: 1.92 ms against 1.59). In the game: on the Linux run (79e9fea5), the mod's time stayed under 2 ms a frame with the window open; 2.1 ms once at the start and 2.7-3.8 ms when the window opened; the catalogue read takes at most 1 ms a frame since. On Windows before 65035c4e, the companions' tick ran 2.2 ms each second in play, warned about every time, and once 5.8 ms: a callback past 5 ms ends its `every()` for good, so the panel and the marks stopped for the session. Closed, with both companions off, the mod runs no script; what stays is the engine's watch of the catalogue's 365 flags through `flagsChanged` (one hash-table read each a frame, up to four for a number), outside the script time above: the frame-time table above is that case. ## Risks Inside Hyrule Field, Link's area is the one of the catalogue's line placed nearest him: the game keeps no live place of his there (its `LocationArea` volumes only open the place banner as he enters, the lake's a cylinder over it, the ranch's a small box at its gate, and nothing a mod reads says where he is), so near the field's edge with the lake or the ranch the area can switch a little early or late. A flag the game does not have is left out of the `flagsChanged` list (one would have the whole list refused); with the watch full or the event missing, the mod reads the game whole as before. A mark sits where the map places the thing, which for a few placements is under the floor or inside a wall (the label is dimmed there, not hidden). A mark in the save is the launcher's or the command line's only, with the game closed. A new row on the Gameplay tab: the window's key, under the Progress heading, in the menu's language; on the mod's page of the Mods tab its label and help stay in English, as every mod's do there. Its cost with the window closed and the companions off is the flag watch, not measured in frames yet (Measurements). ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. (main @ f577a1ae merged in, 70b23c94) - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [x] `mise run test` passes (any failure that also fails on `main` is named). (every failure here also fails on main @ f577a1ae: Testing and the comments name them) - [x] Measured against `main`, or Measurements says why there is nothing to measure. (the frame time against main @ f577a1ae, the window closed and the companions off: within the spread; the mod's own times against its earlier code) - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A check under `tests/` that reads changed source is updated, not weakened. (the menu's layout; `test_no_game_title.py` allows the catalogue, with its reason) - [x] Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. (its one host line, `kFadeFloor` in `gpu/vk/world_depth.h`, built in the game on Windows with llvm-mingw and on Linux, CachyOS, with `dev.py base` and `rt`, on 03/12; no path code) - [x] Screenshots for a change that shows on screen. (new: here only) - [x] Docs updated. - [x] AI assistance recorded with `Co-Authored-By:` trailers. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The Progress window (system/progress) and the launcher's Progress page need one catalogue and one
reading of it: what there is to do, the save entry that tells it is done, what it takes, and what
the game writes when it is done. The catalogue moves here from LongshotLauncher#366, its flags and
enum values now written by name (read as their MurmurHash3, as the game keys them) instead of hashes.

The crate reads a progress.sav and marks a line done in it, as the launcher did; the same
decisions on 24 real saves (10 536 lines, 564 identical writes) as the launcher's hashed copy.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A tracker follows hundreds of flags and placements: one get or placement call each is a call per
flag and, for placements, a search of the Bool64bitKey list per id past the 64 cursors kept. getMany
reads many flags in one call (null where get would throw) and placements reads many done flags in
one pass over the list. At most 4096 a call.

savedPlace is the place the game last named for the save's caption (CaptionData.LocationName): Lake
Hylia and Lon Lon Ranch sit inside the map HyruleField, and only it tells them apart. It is written
when the game saves, which its doc says.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
What the save being played has done and what is left, read from the game's own flags while the
window is open: the story's next steps, then area by area (Link's first), each line marked done,
feasible or not yet, with the one thing to know about it. Show: feasible now, everything left, or
all. It replaces the Insert menu tab of #2943, written for main's C++ menu: a window of its own, as
HumanBean asked, with a key the player can change.

Nothing runs while the window is closed; open, it reads the game every 0.25 s in two calls
(flags.getMany, flags.placements). Its tests run on the fake game (cargo test -p modtool
progress_passes_its_tests).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
feat(modtool): save_progress and save_progress_mark, the launcher's Progress page on Longshot
All checks were successful
PR description / Title and description (pull_request_target) Successful in 6s
40717d7847
The launcher's Progress page read the saves, evaluated the catalogue and wrote a line done itself
(LongshotLauncher#366), a second copy of what Longshot now has. These two ops let it ask Longshot
instead, through mod serve or the command line (mod save-progress <slot>, mod save-progress-mark
<slot> <line>): every line of the catalogue with its texts and its state in a save slot, and a line
marked done as the game would have it.

A mark takes the profile's playing lock (.longshot.lock) for the write, so the game cannot start in
the middle of it and a game running refuses it; the save is copied to saves/progress-backups/ first,
then replaced through a temporary file. Neither op is the game's: its own window reads the live game.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Member

Possibly related, for context:

  • PR #2421 feat(debug): a Progress page in the Debug tools: each dungeon, story part and side quest done or undone at once, and the saved flags one by one — Open competing Progress feature; related catalog/window approach
  • PR #1411 feat(menu): a Progress editor in the Debug tools (chests, Gold Skulltulas, hearts, bosses, start place) and Inventory amounts that keep every press — Open Progress editor overlaps functionality and catalogue
Possibly related, for context: - PR #2421 feat(debug): a Progress page in the Debug tools: each dungeon, story part and side quest done or undone at once, and the saved flags one by one — Open competing Progress feature; related catalog/window approach - PR #1411 feat(menu): a Progress editor in the Debug tools (chests, Gold Skulltulas, hearts, bosses, start place) and Inventory amounts that keep every press — Open Progress editor overlaps functionality and catalogue
Author
Contributor

@HumanBean could someone try this in the game? I only have Windows, and mod-api's game does not build natively there yet (your CI builds it on Linux), so it has run on the fake game only. What to look at: F2 (or Plus+B) opens the Progress window in play; its counts match the launcher's Progress page on the same save; opening a chest changes the list within a second; after a save at Lake Hylia, Lake Hylia comes first, marked here.

What I ran into building mod-api on Windows, in case it helps:

  • dev.py rt compiles longshot-builder for the host (MSVC): game/crates/cloth's kernels do not compile with cl. Built for x86_64-pc-windows-gnullvm with llvm-mingw instead (on Linux, as scripts/longshot_builder.py does), it runs, with llvm-mingw's libunwind.dll beside it.
  • scripts/longshot_builder.py build refuses the oxc crates, which Cargo.lock takes from git (its offline cargo home has crates.io's only).
  • shaderc-sys's CMake takes the first gcc on the PATH, not the toolchain's clang (CC/CXX fix it), and then its object paths under the dev folder's store/compile/v1/rust/work/<hash>/target/... reach 296 characters, past what MinGW's ar can open.
@HumanBean could someone try this in the game? I only have Windows, and mod-api's game does not build natively there yet (your CI builds it on Linux), so it has run on the fake game only. What to look at: F2 (or Plus+B) opens the Progress window in play; its counts match the launcher's Progress page on the same save; opening a chest changes the list within a second; after a save at Lake Hylia, Lake Hylia comes first, marked *here*. What I ran into building mod-api on Windows, in case it helps: - `dev.py rt` compiles longshot-builder for the host (MSVC): `game/crates/cloth`'s kernels do not compile with `cl`. Built for `x86_64-pc-windows-gnullvm` with llvm-mingw instead (on Linux, as `scripts/longshot_builder.py` does), it runs, with llvm-mingw's `libunwind.dll` beside it. - `scripts/longshot_builder.py build` refuses the `oxc` crates, which `Cargo.lock` takes from git (its offline cargo home has crates.io's only). - `shaderc-sys`'s CMake takes the first `gcc` on the PATH, not the toolchain's clang (`CC`/`CXX` fix it), and then its object paths under the dev folder's `store/compile/v1/rust/work/<hash>/target/...` reach 296 characters, past what MinGW's `ar` can open.
neotoxic force-pushed feat/progress-window from 40717d7847
All checks were successful
PR description / Title and description (pull_request_target) Successful in 6s
to 4207d32f9c
All checks were successful
pr-builder / pr-builder (pull_request_target) Has been skipped
PR description / Title and description (pull_request_target) Successful in 7s
2026-12-01 21:02:06 +00:00
Compare
neotoxic changed title from WIP: feat(progress): a Progress window, and the save's progress for the launcher to WIP: feat(progress): a Progress window, a corner panel and marks in the world, and the save's progress for the launcher 2026-12-01 21:02:09 +00:00
Author
Contributor

The window and the corner panel in the game, after the rework to the game's scale (Windows 11, RTX 5080, English menu, a save in the Great Deku Tree):

progress-window.png

progress-corner-panel.png

The window and the corner panel in the game, after the rework to the game's scale (Windows 11, RTX 5080, English menu, a save in the Great Deku Tree): ![progress-window.png](https://git.magicbean.dev/attachments/fcd00015-e357-4dff-8add-effb12847637) ![progress-corner-panel.png](https://git.magicbean.dev/attachments/20470826-ba16-4890-afa1-ec3be53df0df)
fix(progress): no Show and Rewards keys, and the marks dimmed behind walls
All checks were successful
PR description / Title and description (pull_request_target) Successful in 13s
e1d7eeab7b
Played in the game on Windows: F3 and F4 did nothing. While the Progress window has the focus, the input service
gives a mod's actions nothing but the window's closeOn (services/input.rs: taken, the action waits for its let-go),
and while it is closed the two handlers were unset: the keys could never reach the window. Show and the rewards row
are already controls of the header, reached with the mouse or the controller's focus, so the two keybind settings
(progress_show, progress_rewards), their Y and X glyphs and their two words of help are removed, not kept as rows that
do nothing.

A Gold Skulltula's place is in a wall, a tree or a pipe (Lake Hylia's islet, the trees one rolls into), so the
scene's depth is in front of its mark and occlude="hide" left it unseen near it. The marks are now dimmed behind the
scene (occlude="fade") and the setting's help says so.

`Longshot.exe mod test game/mods/progress`: 12 passed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(progress): a Gold Skulltula's mark is placed by its placement's id
All checks were successful
PR description / Title and description (pull_request_target) Successful in 5s
751ede44ad
Played on Windows next to Lake Hylia's pipe Skulltula, not taken: no mark. A Gold Skulltula's test (gs N) reads
two keys, N and N + 2, and the map's placement of the Skulltula is N + 2 (8655370827943125875 in
HyruleField_Child_Static); placementIds took only the first id of a key test, so no Gold Skulltula ever had a
place and only chests and Pieces of Heart got marks. It takes every id of the test now.

Checked against the game's Banc files: with this, every catalogue line with a place finds it (192 chests, 28
Pieces of Heart, 100 Gold Skulltulas). The marks' test now has a Gold Skulltula placed by its id + 2.
`Longshot.exe mod test game/mods/progress`: 12 passed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
feat(progress): plain setting names in every language, a label distance, labels paler not faint behind walls
All checks were successful
PR description / Title and description (pull_request_target) Successful in 6s
a8a85aff8b
Played on Windows: the marks worked, but the two rows read "Progress: corner panel" and "Progress: marks in the
world", which say neither what shows nor where, in English in a French menu; through a wall the label kept 30% of its
alpha and was hard to read; and its 40 m reach was fixed.

- The rows are "Progress: side panel", "Progress: labels over chests and Skulltulas" and a new "Progress: label
  distance" (10 to 100 m, 40 by default, shownIf the labels are on); their keys are kept. The rows, their help, the
  side panel's choices and the window's keybind are in the 13 languages of the menu's strings. The pins are mounted
  again when the distance changes.
- A World root with occlude="fade" keeps 55% of its alpha wholly behind the scene, not 30% (world_depth.h's
  kFadeFloor): a label seen through a wall still reads. The only users are this mod and the link-hud example.
- The guide's settings table and the menu's Gameplay order have the new row.

No duplicate: the rows are on the Gameplay tab and on the mod's own page in the Mods tab, as every system mod's are.

`Longshot.exe mod test game/mods/progress`: 12 passed; `game/mods/menu`: 35 passed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(progress): the window's rows and buttons keep still when chosen, and needs drop an age their item says
All checks were successful
PR description / Title and description (pull_request_target) Successful in 5s
c6393dc862
Seen in the game on Windows (2560x1600):
- choosing an area, a line or a Show item gave it a 2 px border it did not have, so its contents moved 2 px; the
  header's items had a 1 px focus border and a 2 px chosen one. Every item and row now keeps a 2 px border, clear
  until it is chosen (its padding 2 px less, so nothing moves), and the focus only colours it ($focus);
- "Rewards 8/8" wrapped once focused and its "8/8" fell out of its button: one line, never shrunk;
- the left column's separator (border: { right: 1 }) outlined the whole column: a 1 px divider of its own instead;
- the line shown in full sat on the list's last row: 6 px between them, and a kind's heading 2 px higher off its
  first line.

A line's needs leave out "adult" or "child" when an item it needs is that age's alone ("Fairy Bow · as an adult":
"Fairy Bow"); an item that is one way of several (in "or" or in brackets) does not count. The rule is ageless() in
view.ts, with its test.

`Longshot.exe mod test game/mods/progress`: 13 passed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(progress): bars without gaps, counts in their colours, states centred, capitals
All checks were successful
PR description / Title and description (pull_request_target) Successful in 6s
3c7b963e56
Seen in the game on Windows (2560x1600):
- a bar's done part had rounded ends and its feasible part square ones, so a gap showed between them where the
  feasible part did not fill the done part's curve, and an area all done kept a mustard speck at its right end (the
  thin bar's fill had a 5 px radius on a 4 px track). The fills now lie on each other from the left with the track's
  own corners, feasible under done, and one with nothing in it is left out;
- an area's count read "11/11", and the header's "91 done · 27 feasible · 321 later": both now read done (green) /
  feasible (mustard) / all, as their bars show them;
- a line's tick and padlock sat at the left of their column and its diamond in the middle: all three are centred;
- the needs shown in full ("arc des fées") and in the corner panel started lower case, and so did the keys' hints at
  the bottom ("ligne", "fermer"): every part of a line's note now starts with a capital, and so do the hints.

`Longshot.exe mod test game/mods/progress`: 13 passed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(progress): header icons centred, every other area row shaded
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
0e40af346a
Seen in the game on Windows: the tick, heart and star sat off the middle of their circles (17 px in 28: 5.5 px a
side, rounded one way or the other); they are 18 px now, 5 px a side. An area's head or tick sat at the left of its
column: centred. Every other line had a 3 % lighter background, too faint to follow a row across, and the areas had
none: both now, 7 %.

`Longshot.exe mod test game/mods/progress`: 13 passed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
neotoxic force-pushed feat/progress-window from 0e40af346a
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
to 4fdfe56cb5
All checks were successful
PR description / Title and description (pull_request_target) Successful in 9s
2026-12-02 15:16:27 +00:00
Compare
fix(progress): the lines' shading alternates down the whole list
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
f900fb3cd9
Every other row was shaded by its place in the list, the kinds' headings counted, so the lines of a kind between
two headings often had the same background (a kind of one line, or two after an odd heading). Now every other line
is shaded down the whole list, the headings left out of the count.

`Longshot.exe mod test game/mods/progress`: 13 passed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(progress): the header's heart and star sit in the middle of their circles by eye
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
e8e82b4a84
Measured on a 4K screen the three icons were within a pixel of their circles' middle, but the heart read high (its
lobes carry its weight) and the star low (its points): the heart goes 1 px down, the star 0.5 px up.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(progress): the corner panel and the marks no longer stop for the session after a slow second
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
67127443b3
In play, the companions' every() tick worked every line's state out again each second and placed the marks in the
same callback: 2.2 ms of CPU a second in the game, warned about every time, and on a busy moment 5.8 ms, past a
callback's 5 ms. A callback that runs out of its time ends its every() for good, so the corner panel and the marks
were gone for the rest of the session, and switching their settings back did not bring them back.

- The lines' states are worked out again only when one of the game's values changed, once for the window and the
  companions together (shared.ts statesNow): the same array while nothing changed.
- check and stateOf in plain loops (0.64 ms for the 439 lines, was 1.16), marks' distances worked out once (0.14 ms,
  was 0.42), each line's note parts kept once worked out (cell for every line 2.2 ms, was 4.1).
- The marks are placed on the next frame, in a callback of their own; the corner panel always shown is drawn again
  only when a line's state changed.
- The window's first read no longer draws it all again a quarter of a second after it opens (3.6 ms, now 0.7).
- A map loaded with the loop silent for 5 s starts it again.

Measured under mod test's fake game on the dev PC (cpuScale 1.5): a tick with the corner panel always shown and the
marks on 1.78 ms before, 0.52 after (median of the frames that ran); entering an area 2.75 ms at most before, 1.46
after. A new test holds the tick under 1 ms times cpuScale (1.92 ms against 1.59 on the code before).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
feat(progress): a thin rule under each kind's heading and above the line chosen
All checks were successful
PR description / Title and description (pull_request_target) Successful in 9s
ca627bbd01
In the Progress window's right column, the kinds' headings (Chests, Trades...) read as rows like the lines under them;
each now has a 1 px rule under its name and count, as wide as the lines, and the chosen line's detail sits under a rule
across the column, so the list, its sections and the detail read apart.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(progress): the corner panel and the marks follow a language changed in the menu
All checks were successful
PR description / Title and description (pull_request_target) Successful in 6s
87950a67c7
The window is drawn anew at each opening, so it took a new language at once; the corner panel always shown is drawn
again only when a line's state changes, and the marks are mounted once, so both stayed in the language they were made
in. The companions' tick now notes the language, and when it changed shows the panel again and mounts the marks again.
Not covered by a test: the fake game cannot change the language.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
neotoxic force-pushed feat/progress-window from 87950a67c7
All checks were successful
PR description / Title and description (pull_request_target) Successful in 6s
to 36dc966180
All checks were successful
PR description / Title and description (pull_request_target) Successful in 8s
2026-12-03 01:58:45 +00:00
Compare
feat(progress): react to a place checked at once, name areas as the game does
All checks were successful
PR description / Title and description (pull_request_target) Successful in 8s
a6a990b944
The window and the corner panel read the game every 0.25 s and every second:
a chest opened or a Gold Skulltula's token taken showed up to a second late.
They now also listen to items.checked (permission items.read) and read again
the frame a place is checked, pots, grass and enemies the game sets back left
out.

Areas are named with the game's own names in the menu's language
(content.read: mapName, else the area's label in LocationMsg/Location.msbt for
Lake Hylia and Lon Lon Ranch, which are inside Hyrule Field), read once a
language; the catalogue's French and English names stay as the fallback, so
the 13 languages of the game show their names.

KIND_ICONS and Stat's icon are typed IconName: mod check --types failed on
them since the API's Icon took the stricter type.

Test: a place checked leaves what is feasible within 3 frames (it fails with
the listener taken out), and an area shows the game's name when content.read
has one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Contributor

Rebased on mod-api (36dc9661), then a6a990b9:

  • The window and the corner panel read the game again the frame a place is checked (items.checked, permission items.read): a chest opened or a token taken no longer waits for the next poll. A test checks it (it fails with the listener taken out).
  • Areas take the game's own names in the menu's language (content.read's mapName, else the area's label in LocationMsg/Location.msbt for Lake Hylia and Lon Lon Ranch); the catalogue's names stay as the fallback.
  • KIND_ICONS and the header's icons are typed IconName: mod check --types failed on them since Icon took the stricter type.
  • The progress cost test asserts its 1 ms ceiling only in an optimised build (game.optimized), as fps-counter and menu do; the number is logged either way.

Not yet seen in the game since the rebase; to do next.

Rebased on mod-api (36dc9661), then a6a990b9: - The window and the corner panel read the game again the frame a place is checked (`items.checked`, permission `items.read`): a chest opened or a token taken no longer waits for the next poll. A test checks it (it fails with the listener taken out). - Areas take the game's own names in the menu's language (`content.read`'s `mapName`, else the area's label in `LocationMsg/Location.msbt` for Lake Hylia and Lon Lon Ranch); the catalogue's names stay as the fallback. - `KIND_ICONS` and the header's icons are typed `IconName`: `mod check --types` failed on them since `Icon` took the stricter type. - The progress cost test asserts its 1 ms ceiling only in an optimised build (`game.optimized`), as fps-counter and menu do; the number is logged either way. Not yet seen in the game since the rebase; to do next.
fix(progress): rows end before the lists' scroll bar
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
32fb1fef93
With the pointer, the kit draws a List's scroll bar 12 px wide at its right
end, over the rows: in the game it covered the areas' counts and the lines'
chips. The List lays its rows at its whole width (its padding is not taken
off), so each row now keeps 14 px at its right, as the Insert menu's rows do,
and the story box and the line's detail end where the rows do.

Test: in the window, every row of both lists ends before the scroll bar's
track (682 px against 670 before).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
feat(progress): its settings under a Progress heading on the Gameplay tab
All checks were successful
PR description / Title and description (pull_request_target) Successful in 6s
fb73a55a35
The three settings sat in the Gameplay tab's untitled top, each label
starting with "Progress:" to say whose it is. As the Controls tab groups its
rows, they now have a section of their own, a Progress heading at the tab's
end (layout.ts), and plain labels: Side panel, Labels over chests and
Skulltulas, Label distance. Their keys are unchanged.

The 13 languages' texts are split the same way: the heading is each
language's word for Progress as the old labels began, the labels what
followed it. The settings page's table (docs/user) and the menu's tests
(PLACED, the layout test's synthetic Gameplay tab) follow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
neotoxic force-pushed feat/progress-window from fb73a55a35
All checks were successful
PR description / Title and description (pull_request_target) Successful in 6s
to 006a28313e
All checks were successful
PR description / Title and description (pull_request_target) Successful in 8s
2026-12-03 03:05:26 +00:00
Compare
A Window whose style gave no padding got WINDOW_PAD (24 px) each side; but the
check was `padding == 0`, so a style asking for 0 got the 24 px too, and no
window could put its contents against its title bar and its edges (the
Progress window's header floated 24 px under its title). The computed style
now says whether it gave `padding` (padding_set, as flex_direction_set does
for flexDirection), and a Window takes its own only when it did not.

Test: a window with no padding lays its child WINDOW_PAD in and under its
title bar; one with `padding: 0`, right under the title bar at its edge.
docs/modding/ui.md says it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
feat(progress): the window in the Insert menu's look, its header under its title
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
ecabc926da
From the review: the header should be stuck on, and the colours closer to the
menu's. The window had the launcher's page browns ($surface, $surfaceRaised)
where the Insert menu is its near-black card, and its own picks for what the
kit already draws:

- the page is the menu's card ($card), against the title bar and the
  window's edges (padding 0), its header right under the title;
- Show's choices are drawn as the menu's tabs (the chosen one on $tab, the
  others in $sand, $tabHover under the pointer);
- the chosen area and line are lit as the menu lights its rows: the focus's
  edge and the faint mustard fill ($hover);
- a kind's heading is a section title as the kit's (accent, bold, spaced), no
  longer upper case;
- the wells (the story's next step, the line's detail) have the inputs' edge
  ($border), and the tracks are $border, both seen on the dark card;
- the help row is the card's, under a rule.

Seen in the reference renderer (mod test's snapshot) before and after.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
feat(progress): one left edge, softer row stripes, the counts in words
All checks were successful
PR description / Title and description (pull_request_target) Successful in 8s
5d9b291cb4
Seen with a save well on (146 places done) in the reference renderer:

- everything starts on one 22 px edge (header, stats, bar, lists, help row),
  and the rows are no longer capped at 980 px, so the lines' right column
  meets the bar's end;
- the stat icons sit in an 18 px box on whole pixels;
- every other row is a warm brown a step above the card (#1c1611e6) where
  #ffffff12 came out grey and loud: the renderer blends in linear light,
  so even 2 % white lifts the card from 13 to 30;
- the chosen Show tab and the rewards switched on carry the check icon: the
  "✓" in their text was a missing glyph in the game's font;
- under the whole game's bar, "146 done · 8 feasible · 439 total" instead
  of 146/8/439 (an area's row keeps the short form);
- "Rewards" is "Rewards filter", which says what the button does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A mod that follows hundreds of flags (the Progress tracker, some 600) had
two choices: one flagChanged subscription per flag, which the 256-flag
watch could not hold, or flags.getMany every quarter second, which sees a
change late and reads every flag again and again. flagsChanged takes a
list instead:

  flagsChanged.on((e) => ..., { flags: ["PlayerStatus.Life", ":Seen"] })

and calls the listener at most once a frame, with
{ frame, changes: FlagChange[] }: each flag of its own list that changed,
in the list's order, as flagChanged would carry it.

- Schema: the event (state.read, acquire, order 31), its payload
  FlagsChange and its filter FlagsFilter. Records take lists now: a result
  record's list<T> of scalars, enums or records, an options record's
  list<string>; a filter's list field is the service's to match, so the
  event must be filter_required. The emitters read list<string> fields,
  and the reference says such a listener gets a payload of its own.
- Engine: ScriptHost::fire_each fires an event with a payload made for
  each subscription from its filter; the adapter hands an array inside a
  record over as a list (at most 4,096 items). on() of a watched event
  now sees every watched event's subscriptions, so flagChanged and
  flagsChanged count their flags together.
- Service: a list is checked as flagChanged's flag is (1 to 256 bytes a
  name, unknown names refused, content ids kept as game names), 1 to 1,024
  names, deduplicated, kept as one JSON value so reading the subscriptions
  each frame copies a reference, not the names. The watched list is made
  again only when the subscriptions change; a flag named only by a list
  is not fired one by one through flagChanged.
- Limits: game_core:⌚:FLAGS_MAX 256 -> 1,024, all mods and both
  events together, and a list holds at most as many. A poll reads each
  watched flag once a frame (one hash-table lookup for a switch, up to
  four for a number), so 1,024 is about a thousand short probes a frame;
  it holds Progress's list with room for other mods. FlagWatch::set looks
  the kept reads up by hash instead of searching them (it was quadratic).
- The fake game fires it from game.setFlag through the same service
  (the Beside host forwards fire_each), so a mod's tests can use it.

Tests: schema (a list field refused where not allowed), game-core (a
thousand flags keep their reads), script (a list checked, kept by game
names, counted with single flags), modtool (a list's changes in one call,
beside flagChanged, and the refusals).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
feat(progress): follow the catalogue's flags with flagsChanged, Link's area by the nearest line
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
3d753ed13c
The window read the whole catalogue's flags (some 600, flags.getMany) every
0.25 s while open, and the corner panel every tick: about 1.3 ms of a debug
build's frame each time, and a change seen up to 15 frames late. The values
are now read whole at a save's or a map's load and at a place checked
(items.checked, for the placements' done keys), and kept up to date by
flagsChanged between: a flag that changes shows on the next frame. The
list given is the catalogue's flags the game has (getMany's non-null), asked
for at the first read in play, since one name the game has not would have
the whole list refused; without the event, or with the watch full, every
read is a whole one as before. The lines' states are worked out again when
the values' version moves, no longer by joining 600 numbers to compare.

Inside Hyrule Field, Link's area (the lake, the ranch or the field) was the
place the game wrote at the last save. The game keeps no live place of his:
its LocationArea volumes only show a banner as he enters them (the lake's a
cylinder over it, the ranch's a box at its gate), and nothing a mod reads
holds where he is. His area is now the one of the catalogue's line placed
nearest him there, from the map's placements (content.read.placements, read
once a map, shared with the marks), the saved place still the fallback
while they are read.

Tests: a flag set with no check told shows on the next frames and back;
the nearest line's area inside the field, a story line no area's, nothing
before the map's placements are read. README says it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(progress): a lighter value chip, needs said short enough to fit
All checks were successful
PR description / Title and description (pull_request_target) Successful in 8s
4b5c32422e
NULL found the dark chip behind each line's value a little too dark, and
long needs were cut at its edge: "Ocarina · as an adult (to learn the
Song of Storms)" spent half the row saying what any adult already has.

The chip is now $surfaceRaised (two steps up from $surfaceSunken) and up
to 560 px wide. A line's needs in the value cell drop what is in
brackets (before choosing the first way, so "bombs (or Bombchus...)"
stays bombs), and, when they ask for an adult, what an adult has already
on the story's way to the Master Sword (the ocarinas, the Song of Time,
Zelda's Lullaby, Saria's Song, the Kokiri Sword, the Deku Shield, the
Goron Bracelet, the three stones): "Ocarina · as an adult" reads "As an
adult". Past 60 characters the cell keeps the first items and says how
many more ("... Sun's Song +2"); the detail below keeps it all.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
neotoxic force-pushed feat/progress-window from 4b5c32422e
All checks were successful
PR description / Title and description (pull_request_target) Successful in 8s
to 9d38a064da
All checks were successful
PR description / Title and description (pull_request_target) Successful in 7s
2026-12-03 04:57:00 +00:00
Compare
HumanBean changed target branch from mod-api to main 2026-12-03 05:48:44 +00:00
neotoxic force-pushed feat/progress-window from 9d38a064da
All checks were successful
PR description / Title and description (pull_request_target) Successful in 7s
to ae996fdae6
Some checks failed
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-12-03 06:03:49 +00:00
Compare
Seen in game: a line's needs mixed cases, "Nocturne de l'ombre, lunettes de
vérité, Feu de Din, grappin" or "Hookshot · adult": only the first condition
had a capital, and some items had one of their own.

conditions() gives each condition a capital as the window shows it (the value
cell, the line's help, the companions' labels): the first and each after ", "
or " · ", the word after an "ou" / "or" that starts one, and nothing inside
brackets ("Bombes (ou masse des Titans) · ou Adulte"). The catalogue keeps its
lower case, which the age and adult rules read.

The French catalogue now writes the peoples and the Titans with a capital, as
the game's item names do: Goron, Zora, Kokiri, Mojo, Gerudo, Titans (names,
notes, chapters and places; 150 words).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(progress): the side panel's texts start at one x
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
d839c4f154
Seen in game: the side panel's line names started a few pixels apart (the
"◆" was a text of its own width) and the story's line started at the panel's
edge, left of the names.

Each line now has an icon column of a fixed width, with its kind's icon as the
window's rows show it (chest key, heart, star...), and the story's line has the
same column with the flag: every text starts at the same x. The area's count
sits on the title's baseline.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
neotoxic force-pushed feat/progress-window from d839c4f154
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 84df0bbb25
Some checks failed
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-12-03 15:54:34 +00:00
Compare
Seen in the game on 03/12: with the corner panel shown (always, or on
entering an area) and the Progress window opened over it, the panel's
text showed through the window. HUD roots are drawn under the windows
(core.rs shown_order), and the window's page is the Insert menu's card,
$card, 90% opaque: whatever is under it shows at 10%, the panel's cream
text included.

The panel says what the window says, so it stays off while the window
is open: main.tsx tells companions.tsx when the window opens and
closes; opening unmounts the panel at once, and the tick shows it again
after the window closes (always shown: at its next tick; on entering an
area: at the next area). The window keeps the menu's card.

A test on the fake game opens the window over the panel always shown:
the panel is gone at once and after its next ticks, and back once the
window closes (it fails without the change: "no corner panel under the
window").

Co-Authored-By: Claude Opus 5.5 <[email protected]>
save_progress_mark refuses a mark while the game has a save journal to
replay (saves/save-work/*.journal: the game would put its own save back
over the mark at its next start), but the ops table named only the
playing lock and the line's state. The table now names that refusal
too, as progress_ops.rs has it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The full game-free suite (mise run test) failed two checks on this
branch that pass on main at its base (9a1f19b4), both since the rebase
on main:

- test_menu_i18n.py: the menu's 13 strings files had the Progress
  keybind's label and help ("Open the Progress window"), but the menu
  draws no row of it: a script mod's setting is a menu row only with a
  place, and the keybind has none (it shows in the Mods tab under the
  manifest's own words, as the mod inspector's "Open the inspector"
  does). The two stale texts are gone from the tables.
- test_no_game_title.py: the Progress catalogue names the story's
  characters, items and songs as the game shows them, and the game's
  flag names that carry them (the lullaby's, the final battle's): it
  joins the files allowed, beside the cheats' item and song
  names. The song's name is allowed in English and French in any case
  (view.ts matches needs in lower case, the tests say it in French),
  and the second ocarina's name only as one of ADULT_HAS's alternatives;
  view.ts's comment names it as the second ocarina.

Both checks pass now; the mods' own tests too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
revert(progress): the keybind's texts back in the menu's strings
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
bc20bf720a
b5769ae7 took the Progress keybind's label and help out of the menu's
13 strings files, which test_menu_i18n.py finds stale (the menu draws
no row of a script mod's setting without a place, and the Mods tab
shows the manifest's words as they are). But test_i18n_complete.py
asks every setting of a system mod that is not a developer tool for a
translation there, place or not: with the texts gone, it fails instead.

The two checks disagree on a script system mod's setting without a
place, and Progress's keybind is the first; which way to settle it (a
place for the keybind, so it is a menu row, or one of the checks
taught) is left to decide. The translations are kept meanwhile:
test_i18n_complete.py passes, test_menu_i18n.py fails as before
b5769ae7.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Contributor

Pushed 72065017, b3834086, b5769ae7, bc20bf72 (new commits, nothing rewritten):

  • 72065017 (fix): the corner panel showed through the Progress window when both were on screen (the laptop's run on 03/12). HUD roots are drawn under the windows (the ui crate's shown_order) and the window's page is the menu's card, $card, 90% opaque, so the panel's light text showed at 10%. The panel says what the window says: it now goes when the window opens and comes back once it closes (always shown: at its next tick; on entering an area: at the next area). A test on the fake game opens the window over the panel always shown; it fails without the change ("no corner panel under the window"). Not yet seen in the game: in Still to test.
  • b3834086 (docs): mod-ops.md names save_progress_mark's refusal while the game has a save journal to replay, as progress_ops.rs has it.
  • b5769ae7: test_no_game_title.py failed on this branch only: the catalogue names the story's characters, items and songs as the game shows them, now an allowed file with its reason (as the cheats' names are); the lullaby is allowed in English and French in any case, and the second ocarina only as one of ADULT_HAS's alternatives.
  • bc20bf72: test_menu_i18n.py also failed on this branch only: it finds the keybind's label and help stale in the menu's 13 strings files, since the menu draws no row of a script mod's setting without a place. b5769ae7 took them out, and then test_i18n_complete.py failed, since it asks every setting of a system mod for a translation, place or not; so they are back. The two checks disagree on such a setting and this keybind is the first: it gets a place (a row under the Gameplay tab's Progress heading), or one of the checks is taught. Left to decide; test_menu_i18n.py fails meanwhile.

mise run test on Windows 11 (this PC, no clang, no Linux tools), 04/12: main @ 9a1f19b4 (this branch's base) 761 passed, 76 failed, 51 skipped; this branch at b5769ae7 760 passed, 77 failed. Failing on both, 75: test_audio_output_devices.py, test_audio_output_errors.py, test_audio_source.py, test_audio_source_load.py, test_audio_wave_buffer_release.py, test_builder_pads_route.py, test_check_third_party.py, test_ci_source_times.py, test_cloth_kernels.py, test_cloth_loops.py, test_cloth_step8.py, test_coverage_run.py, test_cursor_hidden_in_play.py, test_cursor_hidden_linux.py, test_dead_targets_sweep.py, test_dev_cargoenv.py, test_dev_vcs.py, test_display_pointer.py, test_dlss_why.py, test_exclusive_marks.py, test_framegen_hdr.py, test_fsr3fi_hud_layer.py, test_fsr3fi_hudless_colour.py, test_fsr4_tune.py, test_fullscreen_monitor_platform.py, test_game_font.py, test_game_menu_mouse_buttons.py, test_gfx_effects.py, test_hd_rumble.py, test_helpers_extract.py, test_hos_ab.py, test_image_view_retry.py, test_lifter.py, test_linux_audio_output.py, test_longshot_builder.py, test_lower_depbar.py, test_lower_lds_after_sts.py, test_lower_register_markers.py, test_menu_hooks.py, test_menu_size.py, test_mesh_first_types.py, test_microphone_test_gain.py, test_monitor_friendly_names.py, test_mouse_native.py, test_native_suatom.py, test_native_zstd.py, test_nvn_null_pool.py, test_nvn_tex_builder_guard.py, test_pad_appcontainer.py, test_pad_headphones_reader.py, test_pad_motion_policy.py, test_pad_speaker.py, test_pipeline_cache_file.py, test_pipeline_play_cache.py, test_precompile_compute_guard.py, test_prepare_stall.py, test_program_answer_domains.py, test_recorder_sync.py, test_renhdrum.py, test_rumble_mapping.py, test_rumble_refresh.py, test_run_all_output.py, test_sampler_stack_walk.py, test_sandbox_test_mode_start.py, test_screensaver.py, test_sdl_monitor_names.py, test_shader_module_guard.py, test_shadow_slot.py, test_svc_core_mask.py, test_switch_table.py, test_target_pool_cap.py, test_temporal_present_bandwidth.py, test_tex_desc_memo.py, test_thinlto_tls.py, test_vibration_permission.py. test_sampler_admission.py (run alone) crashed on main and in one of two runs here.

main has moved 37 commits past 9a1f19b4 and now conflicts with this branch (the menu's layout, strings and test, the settings table, the generated modding docs): main is to be merged in.

Pushed 72065017, b3834086, b5769ae7, bc20bf72 (new commits, nothing rewritten): - **72065017** (fix): the corner panel showed through the Progress window when both were on screen (the laptop's run on 03/12). HUD roots are drawn under the windows (the `ui` crate's `shown_order`) and the window's page is the menu's card, `$card`, 90% opaque, so the panel's light text showed at 10%. The panel says what the window says: it now goes when the window opens and comes back once it closes (always shown: at its next tick; on entering an area: at the next area). A test on the fake game opens the window over the panel always shown; it fails without the change ("no corner panel under the window"). Not yet seen in the game: in Still to test. - **b3834086** (docs): `mod-ops.md` names `save_progress_mark`'s refusal while the game has a save journal to replay, as `progress_ops.rs` has it. - **b5769ae7**: `test_no_game_title.py` failed on this branch only: the catalogue names the story's characters, items and songs as the game shows them, now an allowed file with its reason (as the cheats' names are); the lullaby is allowed in English and French in any case, and the second ocarina only as one of `ADULT_HAS`'s alternatives. - **bc20bf72**: `test_menu_i18n.py` also failed on this branch only: it finds the keybind's label and help stale in the menu's 13 strings files, since the menu draws no row of a script mod's setting without a place. b5769ae7 took them out, and then `test_i18n_complete.py` failed, since it asks every setting of a system mod for a translation, place or not; so they are back. The two checks disagree on such a setting and this keybind is the first: it gets a place (a row under the Gameplay tab's Progress heading), or one of the checks is taught. Left to decide; `test_menu_i18n.py` fails meanwhile. `mise run test` on Windows 11 (this PC, no clang, no Linux tools), 04/12: main @ 9a1f19b4 (this branch's base) 761 passed, 76 failed, 51 skipped; this branch at b5769ae7 760 passed, 77 failed. Failing on both, 75: `test_audio_output_devices.py`, `test_audio_output_errors.py`, `test_audio_source.py`, `test_audio_source_load.py`, `test_audio_wave_buffer_release.py`, `test_builder_pads_route.py`, `test_check_third_party.py`, `test_ci_source_times.py`, `test_cloth_kernels.py`, `test_cloth_loops.py`, `test_cloth_step8.py`, `test_coverage_run.py`, `test_cursor_hidden_in_play.py`, `test_cursor_hidden_linux.py`, `test_dead_targets_sweep.py`, `test_dev_cargoenv.py`, `test_dev_vcs.py`, `test_display_pointer.py`, `test_dlss_why.py`, `test_exclusive_marks.py`, `test_framegen_hdr.py`, `test_fsr3fi_hud_layer.py`, `test_fsr3fi_hudless_colour.py`, `test_fsr4_tune.py`, `test_fullscreen_monitor_platform.py`, `test_game_font.py`, `test_game_menu_mouse_buttons.py`, `test_gfx_effects.py`, `test_hd_rumble.py`, `test_helpers_extract.py`, `test_hos_ab.py`, `test_image_view_retry.py`, `test_lifter.py`, `test_linux_audio_output.py`, `test_longshot_builder.py`, `test_lower_depbar.py`, `test_lower_lds_after_sts.py`, `test_lower_register_markers.py`, `test_menu_hooks.py`, `test_menu_size.py`, `test_mesh_first_types.py`, `test_microphone_test_gain.py`, `test_monitor_friendly_names.py`, `test_mouse_native.py`, `test_native_suatom.py`, `test_native_zstd.py`, `test_nvn_null_pool.py`, `test_nvn_tex_builder_guard.py`, `test_pad_appcontainer.py`, `test_pad_headphones_reader.py`, `test_pad_motion_policy.py`, `test_pad_speaker.py`, `test_pipeline_cache_file.py`, `test_pipeline_play_cache.py`, `test_precompile_compute_guard.py`, `test_prepare_stall.py`, `test_program_answer_domains.py`, `test_recorder_sync.py`, `test_renhdrum.py`, `test_rumble_mapping.py`, `test_rumble_refresh.py`, `test_run_all_output.py`, `test_sampler_stack_walk.py`, `test_sandbox_test_mode_start.py`, `test_screensaver.py`, `test_sdl_monitor_names.py`, `test_shader_module_guard.py`, `test_shadow_slot.py`, `test_svc_core_mask.py`, `test_switch_table.py`, `test_target_pool_cap.py`, `test_temporal_present_bandwidth.py`, `test_tex_desc_memo.py`, `test_thinlto_tls.py`, `test_vibration_permission.py`. `test_sampler_admission.py` (run alone) crashed on main and in one of two runs here. main has moved 37 commits past 9a1f19b4 and now conflicts with this branch (the menu's layout, strings and test, the settings table, the generated modding docs): main is to be merged in.
main had moved 39 commits past this branch's base (9a1f19b4) and
conflicted with it in the menu's layout, its strings, its test, the
settings table and the generated modding docs. A merge, not a rebase,
so the pushed history stays as it is.

- game/mods/menu/src/layout.ts: main's new Interface heading on the
  Gameplay tab, then this branch's Progress heading, still the tab's
  last.
- game/mods/menu/test/menu.test.ts: main's Gameplay order (the fast
  forward rows, Discord status before Bug report, the Interface
  heading and its rows), then "# progress" and its three rows; the
  layout's own test sees the Progress heading after Interface.
- game/mods/menu/strings/*.json: merged three ways, main's file and
  order, then the ten texts this branch adds (the Progress rows, their
  choices, the keybind, the heading); nothing main removed comes back.
- docs/user/graphics-and-controls.md: main's rows, then the Progress
  rows, in the menu's order.
- docs/modding/permissions.md, reference.md, scripting.md: made again
  by schema-gen from the merged schema (`schema-gen --check` passes).

ffi-gen --check finds game/game.h and host-sys's ffi.rs stale, on main
at f577a1ae as here: left as main has them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
feat(progress): the window's key is a row under the Gameplay tab's Progress heading
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
02eb8445a4
The Progress window's keybind (F2, progress_open) had no place: the
menu drew no row of it, so test_menu_i18n.py found its label and help
stale in the menu's strings, while test_i18n_complete.py asks every
setting of a system mod for them, place or not. Only the Mods tab
showed it, in the manifest's English.

It is now the first row under Gameplay > Progress (order 5, before the
side panel), a key box as the menu's other keybind rows: its label and
help come from the menu's 13 strings files, and both checks hold. Its
key in settings.toml stays progress_open (not a saved option: nothing
for test_menu_ini_keys.py's FROZEN). The controller's chord (Plus+B)
is still rebound on the mod's page of the Mods tab.

The menu's expected Gameplay order, the guide's settings table, the
mod's README and main.tsx's header say it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Contributor

Pushed 70b23c94 and 02eb8445:

  • 70b23c94, main @ f577a1ae merged in (a merge, so the pushed history stays as it is): the conflicts were the menu's layout (main's Interface heading on the Gameplay tab, then the Progress heading, still last), the menu's test (main's Gameplay order, then the Progress rows), the 13 strings files (merged three ways: main's file and order, then the ten texts this branch adds), the guide's settings table (main's rows, then Progress's), and the generated modding docs, made again by schema-gen (--check passes).
  • 02eb8445, the window's key is now a row: the first under Gameplay > Progress (place, order 5), a key box as the menu's other keybind rows, its label and help in the menu's languages. Its key in settings.toml stays progress_open. The controller's chord (Plus+B) is still rebound on the mod's page of the Mods tab. test_menu_i18n.py and test_i18n_complete.py both pass, so the question in the previous comment is settled. The menu's expected order, the guide's settings table and the mod's README say it. Seeing the row in the game is in Still to test (by hand).

Checks at 02eb8445, on Windows 11 (this PC): test_menu_i18n.py, test_i18n_complete.py, test_menu_ini_keys.py, test_no_game_title.py, test_doc_anchors.py and schema-gen --check pass; each system mod's and example's own tests (cargo test -p modtool passes_its_tests, one test a mod since main) 10 passed. cargo test -p api fails only watch::tests::a_walked_reshade_folder_counts_a_change_once_two_walks_agree, which fails on main @ f577a1ae too. mise run test: main @ f577a1ae 769 passed, 76 failed, 51 skipped; this branch 770 passed, 75 failed, 51 skipped. Every failure here also fails on main (main's one more, test_recording_admission.py, passed here): test_audio_output_devices.py, test_audio_output_errors.py, test_audio_source.py, test_audio_source_load.py, test_audio_wave_buffer_release.py, test_builder_pads_route.py, test_check_third_party.py, test_ci_source_times.py, test_cloth_kernels.py, test_cloth_loops.py, test_cloth_step8.py, test_coverage_run.py, test_dead_targets_sweep.py, test_dev_cargoenv.py, test_dev_vcs.py, test_dlssg_folders.py, test_exclusive_marks.py, test_framegen_hdr.py, test_fsr3fi_hud_layer.py, test_fsr3fi_hudless_colour.py, test_fsr4_tune.py, test_fsr_uniform_ownership.py, test_fullscreen_monitor_platform.py, test_game_font.py, test_gfx_effects.py, test_hd_rumble.py, test_helpers_extract.py, test_hos_ab.py, test_image_view_retry.py, test_lifter.py, test_linux_audio_output.py, test_linux_pressure.py, test_loaded_modules_drop.py, test_longshot_builder.py, test_lower_depbar.py, test_lower_lds_after_sts.py, test_lower_register_markers.py, test_menu_hooks.py, test_mesh_first_types.py, test_microphone_test_gain.py, test_monitor_friendly_names.py, test_mouse_native.py, test_native_suatom.py, test_native_zstd.py, test_nvn_null_pool.py, test_nvn_tex_builder_guard.py, test_pad_appcontainer.py, test_pad_headphones_reader.py, test_pad_motion_policy.py, test_pad_speaker.py, test_pipeline_cache_file.py, test_pipeline_play_cache.py, test_precompile_compute_guard.py, test_prepare_stall.py, test_program_answer_domains.py, test_program_cache_cleanup.py, test_program_cache_one_variant.py, test_recorder_sync.py, test_renhdrum.py, test_rumble_mapping.py, test_rumble_refresh.py, test_run_all_output.py, test_sampler_admission.py, test_sampler_stack_walk.py, test_sandbox_refusals_windows.py, test_sandbox_test_mode_start.py, test_sdl_monitor_names.py, test_shader_module_guard.py, test_shadow_slot.py, test_svc_core_mask.py, test_target_pool_cap.py, test_temporal_present_bandwidth.py, test_tex_desc_memo.py, test_thinlto_tls.py, test_vibration_permission.py.

Still WIP: the frame time against main (window closed, companions off) has not been measured yet, and the in-game checks in Still to test are left to run.

Pushed 70b23c94 and 02eb8445: - **70b23c94**, main @ f577a1ae merged in (a merge, so the pushed history stays as it is): the conflicts were the menu's layout (main's Interface heading on the Gameplay tab, then the Progress heading, still last), the menu's test (main's Gameplay order, then the Progress rows), the 13 strings files (merged three ways: main's file and order, then the ten texts this branch adds), the guide's settings table (main's rows, then Progress's), and the generated modding docs, made again by `schema-gen` (`--check` passes). - **02eb8445**, the window's key is now a row: the first under Gameplay > Progress (`place`, order 5), a key box as the menu's other keybind rows, its label and help in the menu's languages. Its key in settings.toml stays `progress_open`. The controller's chord (Plus+B) is still rebound on the mod's page of the Mods tab. `test_menu_i18n.py` and `test_i18n_complete.py` both pass, so the question in the previous comment is settled. The menu's expected order, the guide's settings table and the mod's README say it. Seeing the row in the game is in Still to test (by hand). Checks at 02eb8445, on Windows 11 (this PC): `test_menu_i18n.py`, `test_i18n_complete.py`, `test_menu_ini_keys.py`, `test_no_game_title.py`, `test_doc_anchors.py` and `schema-gen --check` pass; each system mod's and example's own tests (`cargo test -p modtool passes_its_tests`, one test a mod since main) 10 passed. `cargo test -p api` fails only `watch::tests::a_walked_reshade_folder_counts_a_change_once_two_walks_agree`, which fails on main @ f577a1ae too. `mise run test`: main @ f577a1ae 769 passed, 76 failed, 51 skipped; this branch 770 passed, 75 failed, 51 skipped. Every failure here also fails on main (main's one more, `test_recording_admission.py`, passed here): `test_audio_output_devices.py`, `test_audio_output_errors.py`, `test_audio_source.py`, `test_audio_source_load.py`, `test_audio_wave_buffer_release.py`, `test_builder_pads_route.py`, `test_check_third_party.py`, `test_ci_source_times.py`, `test_cloth_kernels.py`, `test_cloth_loops.py`, `test_cloth_step8.py`, `test_coverage_run.py`, `test_dead_targets_sweep.py`, `test_dev_cargoenv.py`, `test_dev_vcs.py`, `test_dlssg_folders.py`, `test_exclusive_marks.py`, `test_framegen_hdr.py`, `test_fsr3fi_hud_layer.py`, `test_fsr3fi_hudless_colour.py`, `test_fsr4_tune.py`, `test_fsr_uniform_ownership.py`, `test_fullscreen_monitor_platform.py`, `test_game_font.py`, `test_gfx_effects.py`, `test_hd_rumble.py`, `test_helpers_extract.py`, `test_hos_ab.py`, `test_image_view_retry.py`, `test_lifter.py`, `test_linux_audio_output.py`, `test_linux_pressure.py`, `test_loaded_modules_drop.py`, `test_longshot_builder.py`, `test_lower_depbar.py`, `test_lower_lds_after_sts.py`, `test_lower_register_markers.py`, `test_menu_hooks.py`, `test_mesh_first_types.py`, `test_microphone_test_gain.py`, `test_monitor_friendly_names.py`, `test_mouse_native.py`, `test_native_suatom.py`, `test_native_zstd.py`, `test_nvn_null_pool.py`, `test_nvn_tex_builder_guard.py`, `test_pad_appcontainer.py`, `test_pad_headphones_reader.py`, `test_pad_motion_policy.py`, `test_pad_speaker.py`, `test_pipeline_cache_file.py`, `test_pipeline_play_cache.py`, `test_precompile_compute_guard.py`, `test_prepare_stall.py`, `test_program_answer_domains.py`, `test_program_cache_cleanup.py`, `test_program_cache_one_variant.py`, `test_recorder_sync.py`, `test_renhdrum.py`, `test_rumble_mapping.py`, `test_rumble_refresh.py`, `test_run_all_output.py`, `test_sampler_admission.py`, `test_sampler_stack_walk.py`, `test_sandbox_refusals_windows.py`, `test_sandbox_test_mode_start.py`, `test_sdl_monitor_names.py`, `test_shader_module_guard.py`, `test_shadow_slot.py`, `test_svc_core_mask.py`, `test_target_pool_cap.py`, `test_temporal_present_bandwidth.py`, `test_tex_desc_memo.py`, `test_thinlto_tls.py`, `test_vibration_permission.py`. Still WIP: the frame time against main (window closed, companions off) has not been measured yet, and the in-game checks in Still to test are left to run.
neotoxic changed title from WIP: feat(progress): a Progress window, a corner panel and marks in the world, and the save's progress for the launcher to feat(progress): a Progress window, a corner panel and marks in the world, and the save's progress for the launcher 2026-12-04 05:12:23 +00:00
Merge main @ ca830e89 into feat/progress-window
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
ac454fd233
Main took new menu strings (pads, RenHDrum) at the end of every strings file, where this branch adds the
Progress ones: both kept. docs/modding/{reference,permissions,scripting}.md regenerated by
`cargo run -p schema-gen` from the merged schema (--check passes).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Contributor

Brought up to current main (ca830e89) by a merge, ac454fd2 (nothing rewritten):

  • Strings: main and this branch had both added menu strings at the end of every strings file (pads and RenHDrum on one side, Progress on the other). Both sets are kept.
  • Modding docs: docs/modding/{reference,permissions,scripting}.md were regenerated with cargo run -p schema-gen, and -- --check passes.
  • Checks: the strings checks (test_i18n_complete, test_menu_i18n, test_not_translated_counts, test_translation_pools) pass. run_all.py --changed origin/main gives 75 passed and 4 failed on Windows. The 4 failures are the same ones main gets on this PC: test_ci_source_times, test_pad_speaker, test_parity_gates and test_sandbox_test_mode_start.
  • The measurement in Measurements was taken against f577a1ae. Since then the merge brings in only main's pads, tests and strings changes, none of which touch the Progress code.
Brought up to current `main` (ca830e89) by a merge, ac454fd2 (nothing rewritten): - **Strings:** `main` and this branch had both added menu strings at the end of every strings file (pads and RenHDrum on one side, Progress on the other). Both sets are kept. - **Modding docs:** `docs/modding/{reference,permissions,scripting}.md` were regenerated with `cargo run -p schema-gen`, and `-- --check` passes. - **Checks:** the strings checks (`test_i18n_complete`, `test_menu_i18n`, `test_not_translated_counts`, `test_translation_pools`) pass. `run_all.py --changed origin/main` gives 75 passed and 4 failed on Windows. The 4 failures are the same ones `main` gets on this PC: `test_ci_source_times`, `test_pad_speaker`, `test_parity_gates` and `test_sandbox_test_mode_start`. - **The measurement in Measurements** was taken against f577a1ae. Since then the merge brings in only `main`'s pads, tests and strings changes, none of which touch the Progress code.
Author
Contributor

And cbc90281: main moved again (2603ac21, player.kill() #3143, in the modding schema). Merged in the same way, docs regenerated, --check passes; --changed origin/main the same 75 passed and the same 4 Windows failures as main.

And cbc90281: `main` moved again (2603ac21, player.kill() #3143, in the modding schema). Merged in the same way, docs regenerated, `--check` passes; `--changed origin/main` the same 75 passed and the same 4 Windows failures as `main`.
Merge main @ 2603ac21 into feat/progress-window
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
cbc90281dc
Main took player.kill() (#3143) in the modding schema since the last merge.
docs/modding/{reference,permissions,scripting}.md regenerated by
`cargo run -p schema-gen` from the merged schema (--check passes).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merge main into feat/progress-window
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
da27de6caa
main d6e819e0: both sides' new menu strings kept, the modding docs regenerated with schema-gen.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

# Conflicts:
#	docs/modding/permissions.md
#	docs/modding/reference.md
#	docs/modding/scripting.md
Merge main (e345b3cab) into feat/progress-window
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
7fb2710969
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Contributor

Brought up to current main (e345b3ca) by a merge, nothing rewritten. The only conflicts were the schema hashes in docs/modding/{permissions,reference,scripting}.md, regenerated with schema-gen (--check passes). Windows, run_all.py --changed origin/main: 80 passed, 2 failed: test_ci_source_times and test_dev_cargoenv, whose throwaway test commits my machine's own commit hook refuses (not this branch).

Brought up to current `main` (e345b3ca) by a merge, nothing rewritten. The only conflicts were the schema hashes in `docs/modding/{permissions,reference,scripting}.md`, regenerated with `schema-gen` (`--check` passes). Windows, `run_all.py --changed origin/main`: 80 passed, 2 failed: `test_ci_source_times` and `test_dev_cargoenv`, whose throwaway test commits my machine's own commit hook refuses (not this branch).
Author
Contributor

Frame time in the game, measured (the open line of Still to test)

dev.py ab on this branch's runtime, Kokiri Forest (child), 3 interleaved runs of 60 s a side, uncapped, PC (RTX 5080, Windows 11). The sides differ only in HOS_SYSTEM_MODS_DIR, a copy of game/mods whose Progress defaults were changed for the measurement (never committed):

Compared A B Frame time B − A
No Progress mod (A) against Progress with the panel Off and the labels off (B): the flag watch alone 183.3 fps 183.5 fps within the spread
Panel Off, labels off (A) against the panel Always (B) 181.2 fps 182.2 fps −0.03 ms
Panel Off, labels off (A) against the labels on (B) 176.3 fps 182.5 fps within the spread (one A run at 167.5 fps)

None of the three is above the spread: the flag watch, the corner panel and the labels cost nothing measurable in the frame time on this PC. In every B run the mod started and ran (the log's system/progress lines, with one 3.1 ms tick at its start, the catalogue's first read). The panel and the labels were not checked on screen in these runs.

**Frame time in the game, measured** (the open line of Still to test) `dev.py ab` on this branch's runtime, Kokiri Forest (child), 3 interleaved runs of 60 s a side, uncapped, PC (RTX 5080, Windows 11). The sides differ only in `HOS_SYSTEM_MODS_DIR`, a copy of `game/mods` whose Progress defaults were changed for the measurement (never committed): | Compared | A | B | Frame time B − A | |---|---|---|---| | No Progress mod (A) against Progress with the panel Off and the labels off (B): the flag watch alone | 183.3 fps | 183.5 fps | within the spread | | Panel Off, labels off (A) against the panel Always (B) | 181.2 fps | 182.2 fps | −0.03 ms | | Panel Off, labels off (A) against the labels on (B) | 176.3 fps | 182.5 fps | within the spread (one A run at 167.5 fps) | None of the three is above the spread: the flag watch, the corner panel and the labels cost nothing measurable in the frame time on this PC. In every B run the mod started and ran (the log's `system/progress` lines, with one 3.1 ms tick at its start, the catalogue's first read). The panel and the labels were not checked on screen in these runs.
Merge main (18edd5097) into feat/progress-window
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
0f5852a181
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Contributor

Brought up to current main (18edd509) by a merge, 0f5852a1, nothing rewritten. No conflict. Windows, run_all.py --changed origin/main: 79 passed, 3 failed (test_ci_source_times, test_dev_cargoenv, test_no_game_title): all of them fail on main at 18edd509 too, on this PC, run there with the same toolchain.

Brought up to current `main` (18edd509) by a merge, 0f5852a1, nothing rewritten. No conflict. Windows, `run_all.py --changed origin/main`: 79 passed, 3 failed (`test_ci_source_times`, `test_dev_cargoenv`, `test_no_game_title`): all of them fail on `main` at 18edd509 too, on this PC, run there with the same toolchain.
Merge main (3a0f7d8f7) into feat/progress-window
Some checks failed
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
bb260f929b
# Conflicts:
#	docs/modding/permissions.md
#	docs/modding/reference.md
#	docs/modding/scripting.md
#	game/crates/api/src/services/game.rs
Merge main (de6fb7b5d) into feat/progress-window
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
6f728d67d0
flagsChanged's acquire order moves from 31 to 32: main's pause-menu button's pressed event took 31.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Contributor

Brought up to current main (de6fb7b5) by a merge, 6f728d67, nothing rewritten.

  • game.rs and features.rs: this branch's flag helpers and features sit beside main's new evaluate / enum ones, both kept.
  • flagsChanged's acquire order moves from 31 to 32: main's pause-menu button pressed event took 31, and schema-gen refuses two events with one order. The generated docs (docs/modding/*.md) were made again by cargo run -p schema-gen, and --check passes.

Windows 11, RTX 5080: dev.py rt and dev.py smoke pass on 6f728d67 (in play from kokiri-start, 900 frames, the menu opened). cargo test -p api -p schema passes except settings_push::tests::a_rows_dependencies_come_from_its_data, which fails on main at de6fb7b5 too. dev.py test-changed --base origin/main: 75 passed, 11 failed. Ten of them fail on main at de6fb7b5 on this PC as well: test_lifter, test_longshot_saves, test_pipeline_tour, test_i18n_complete, test_settings_area_keys, test_walk_key, test_tools_pins, test_sandbox_linux, test_ci_source_times and test_dev_cargoenv. The eleventh, test_gfx_effects, passes on this branch when run alone, and fails on main.

Brought up to current `main` (de6fb7b5) by a merge, 6f728d67, nothing rewritten. - `game.rs` and `features.rs`: this branch's flag helpers and features sit beside `main`'s new `evaluate` / enum ones, both kept. - `flagsChanged`'s acquire order moves from 31 to 32: `main`'s pause-menu button `pressed` event took 31, and schema-gen refuses two events with one order. The generated docs (`docs/modding/*.md`) were made again by `cargo run -p schema-gen`, and `--check` passes. Windows 11, RTX 5080: `dev.py rt` and `dev.py smoke` pass on 6f728d67 (in play from kokiri-start, 900 frames, the menu opened). `cargo test -p api -p schema` passes except `settings_push::tests::a_rows_dependencies_come_from_its_data`, which fails on `main` at de6fb7b5 too. `dev.py test-changed --base origin/main`: 75 passed, 11 failed. Ten of them fail on `main` at de6fb7b5 on this PC as well: test_lifter, test_longshot_saves, test_pipeline_tour, test_i18n_complete, test_settings_area_keys, test_walk_key, test_tools_pins, test_sandbox_linux, test_ci_source_times and test_dev_cargoenv. The eleventh, test_gfx_effects, passes on this branch when run alone, and fails on `main`.
Merge remote-tracking branch 'origin/main' into feat/progress-window
Some checks are pending
PR description / Title and description (pull_request_target) Waiting to run
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Blocked by required conditions
CI / Third-party parts and guide screenshots (pull_request) Blocked by required conditions
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Blocked by required conditions
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Blocked by required conditions
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
95115ba0ea
# Conflicts:
#	docs/modding/permissions.md
#	docs/modding/reference.md
#	docs/modding/scripting.md
Author
Contributor

Brought up to current main (6c06d981) by a merge, 95115ba0, nothing rewritten.

  • The only conflicts were the generated docs (docs/modding/permissions.md, reference.md, scripting.md): main's taken, then made again by cargo run -p schema-gen; --check passes.
  • flagsChanged's acquire order moves from 32 to 33: a new event on main took 32 (actors.toml's guarded), and schema-gen refuses two events with one order.

Windows 11, RTX 5080: dev.py rt and dev.py smoke pass on 95115ba0 (in play from kokiri-start, 900 frames, the menu opened). cargo test -p api -p schema passes in full now, settings_push included (fixed on main).

Brought up to current `main` (6c06d981) by a merge, 95115ba0, nothing rewritten. - The only conflicts were the generated docs (`docs/modding/permissions.md`, `reference.md`, `scripting.md`): `main`'s taken, then made again by `cargo run -p schema-gen`; `--check` passes. - `flagsChanged`'s acquire order moves from 32 to 33: a new event on `main` took 32 (`actors.toml`'s `guarded`), and schema-gen refuses two events with one order. Windows 11, RTX 5080: `dev.py rt` and `dev.py smoke` pass on 95115ba0 (in play from kokiri-start, 900 frames, the menu opened). `cargo test -p api -p schema` passes in full now, `settings_push` included (fixed on `main`).
Some checks are pending
PR description / Title and description (pull_request_target) Waiting to run
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Blocked by required conditions
CI / Third-party parts and guide screenshots (pull_request) Blocked by required conditions
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Blocked by required conditions
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Blocked by required conditions
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
Some workflows are waiting to be reviewed.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'feat/progress-window:neotoxic-feat/progress-window'
git switch 'neotoxic-feat/progress-window'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!2957
No description provided.