docs(guide): the Graphics guide image is recaptured at main after #2772, the helper's turf stand-ins added #2815

Merged
HumanBean merged 2 commits from llun/Longshot:docs/guide-graphics-recapture-2772 into main 2026-11-29 20:30:15 +00:00
Member

Summary

main fails its own guide-screenshot review again, so every pull request inherits a red "Third-party parts and guide screenshots" check. Since #2793 recorded the review at 01d6878b, #1585 (45 FPS game frame rate cap), #152 (shared Keyboard Auto/On/Off policy) and #2772 (simulated turf around Link) changed 13 of settings-graphics.png's recorded UI-source inputs and removed one. scripts/check_guide_screenshots.py --review-sources on main e4801d6a reports 14 issues, among them REVIEW REQUIRED: settings-graphics.png: gpu/vk/vk_menu.cpp changed since reviewed revision 01d6878b… and gpu/vk/menu/sim_turf_settings.h: [Errno 2] No such file or directory.

#2772 also broke the UI-only capture helper on main: its game-free menu build no longer links (undefined reference to mkwvk::turf_stats(MkwVkTurfStats*), mkwvk::sim_turf_pools_available()). scripts/screenshots/menu.cpp now provides both. It stands in for a device without push descriptors, like its other hardware capabilities (push descriptors are an optional extension, vk_main.cpp). That hides the Graphics tab's Simulated turf row and leaves the Simulated turf page nothing to measure.

With that, Graphics, Audio and Controls were rendered from 01d6878b (with that revision's own helper) and from main e4801d6a:

  • Audio differs in the version text alone.
  • Controls adds #152's Keyboard row (not a published image).
  • Graphics differs in the version text and in the scroll bar's thumb (x 39-42, y 283-289, 26 pixels). The thumb is longer because the hidden Simulated turf row shortens the list. Every pictured row, label, value (Game frame rate cap still 60 (the console's)), the Quality preset help, the tab strip and the footer are unchanged.

Because the page did change (by the thumb), the image is replaced rather than retained: settings-graphics.png is main's render, copied unchanged from the helper. Its manifest entry records that capture: the version, the date, the 147 compiler-discovered inputs as both captured and reviewed source at e4801d6a (now with gpu/vk/sim_turf_population.h, without the removed gpu/vk/menu/sim_turf_settings.h), the new menu.cpp hash and a note. source-review-2772-e4801d6a.md sets out every changed input and the three views' differences.

Rebased onto main 6f5f99fc (#2794, #2796, #2797, #2799). #2794 changed six more recorded inputs (the Game and Menu language rows); renders of e4801d6a and 6f5f99fc with the same helper differ only in the version text on all three pages, with the same 147 inputs, so the recaptured image is retained and reviewed_source names 6f5f99fc. The manifest's notes keep #2794's own retain notes after this one.

Read first: scripts/screenshots/menu.cpp (4 lines), then settings-graphics.png's entry in docs/user/images/guide/manifest.json. See #2772, #1585, #152, #2793.

Testing

Tested: Windows 11 (build 26300) with Ubuntu 24.04 under WSL 2 for the capture (clang 18.1.3, SDL 2.30.0, libpng 1.6.43). Nothing here runs the game or the GPU.

  • scripts/screenshots/capture_menu.py --views graphics audio controls: from clean checkouts of 01d6878b and e4801d6a, compared pixel by pixel, with the results in Summary; after the rebase, from 6f5f99fc too, which matches e4801d6a outside the version text's box (x 1095-1260, y 20-30) on all three pages.
  • scripts/screenshots/check_menu_capture.py --cxx clang++ --vulkan-headers /usr/include: fails on main e4801d6a with the two undefined references; passes here ("Graphics capture smoke check passed").
  • scripts/check_guide_screenshots.py --review-sources: exit 1 on main e4801d6a (14 issues); passes here at 15e5255e, on main 6f5f99fc (the Longshot images; the Launcher images stay NOT CHECKED without a Launcher checkout, as on main).
  • At 15e5255e: mise run test -- --exact tests/test_guide_screenshots.py tests/test_launcher_capture.py tests/test_sprint.py passes (3 of 3, with the dev toolchain), and mise run lint passes.
  • The rest of the CI job passes here: check_third_party.py, tests/test_guide_screenshots.py, tests/test_launcher_capture.py.
  • mise run lint passes.
  • mise run test with the dev toolchain (llvm-mingw, then MSYS2): 807 passed, 48 failed, 47 skipped here; on main e4801d6a, run the same way, 806 passed, 49 failed. All 48 also fail on main (the 49th there, test_sampler_admission.py, passes here); none reads a changed file (test_guide_screenshots.py and test_sprint.py, which read menu.cpp, pass). By name: test_auto_handheld.py, test_bug_report.py, test_builder_channel.py, test_control_picture.py, test_coverage_run.py, test_crash_record.py, test_crt_options.py, test_dev_ab.py, test_dev_build.py, test_dev_migrate.py, test_dev_update.py, test_framegen_hdr.py, test_framegen_resources.py, test_fs_path_utf8.py, test_input_background.py, test_job_queue.py, test_keyboard_menu_option.py, test_keyboard_option.py, test_lifter.py, test_linux_pressure.py, test_loaded_modules_drop.py, test_log_batch.py, test_log_levels.py, test_menu_keys.py, test_mise_build.py, test_oot_camera_clearance.py, test_oot_menu_mouse.py, test_oot_state_tap.py, test_oot_wide_bubble.py, test_oot_wide_save_picture.py, test_option_ids.py, test_parity_gates.py, test_perf_send.py, test_present_source_crop.py, test_program_cache_cleanup.py, test_program_cache_one_variant.py, test_run_all_mingw.py, test_screensaver.py, test_switch_table.py, test_temporal_present_bandwidth.py, test_text_keyboard_policy.py, test_upscaler_round_trip.py, test_vcore_video_acquire.py, test_video_catchup.py, test_video_hold_early.py, test_video_input_limit.py, test_windows_display_startup.py, test_windows_on_linux.py.

Still to test:

  • None.

Not host code: scripts/screenshots/menu.cpp is the Linux-only capture fixture, outside every game build. It builds and links on Linux (check_menu_capture.py above) and has no Windows build, so the host-code box is left out.

Measurements

Nothing to measure: a guide image, its review record and the game-free capture fixture, nothing the game runs.

Risks

Nothing the game runs changes; a revert is enough. The guide's Graphics picture now has a slightly longer scroll thumb, as on a GPU without push descriptors. A GPU with them also shows the Simulated turf row further down the tab, below the pictured rows. If the fixture should picture that row's GPU instead, sim_turf_pools_available() in menu.cpp returns true and the image goes back to the old thumb.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • 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).
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A fix: a game-free test that fails on main and passes here.
  • A check under tests/ that reads changed source is updated, not weakened. (test_guide_screenshots.py and test_sprint.py read menu.cpp; neither needed a change, and both pass.)
  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.

🤖 Generated with Claude Code

## Summary `main` fails its own guide-screenshot review again, so every pull request inherits a red "Third-party parts and guide screenshots" check. Since #2793 recorded the review at 01d6878b, #1585 (45 FPS game frame rate cap), #152 (shared Keyboard Auto/On/Off policy) and #2772 (simulated turf around Link) changed 13 of `settings-graphics.png`'s recorded UI-source inputs and removed one. `scripts/check_guide_screenshots.py --review-sources` on main e4801d6a reports 14 issues, among them `REVIEW REQUIRED: settings-graphics.png: gpu/vk/vk_menu.cpp changed since reviewed revision 01d6878b…` and `gpu/vk/menu/sim_turf_settings.h: [Errno 2] No such file or directory`. #2772 also broke the UI-only capture helper on main: its game-free menu build no longer links (`undefined reference to mkwvk::turf_stats(MkwVkTurfStats*)`, `mkwvk::sim_turf_pools_available()`). `scripts/screenshots/menu.cpp` now provides both. It stands in for a device without push descriptors, like its other hardware capabilities (push descriptors are an optional extension, `vk_main.cpp`). That hides the Graphics tab's Simulated turf row and leaves the Simulated turf page nothing to measure. With that, Graphics, Audio and Controls were rendered from 01d6878b (with that revision's own helper) and from main e4801d6a: - Audio differs in the version text alone. - Controls adds #152's Keyboard row (not a published image). - Graphics differs in the version text and in the scroll bar's thumb (x 39-42, y 283-289, 26 pixels). The thumb is longer because the hidden Simulated turf row shortens the list. Every pictured row, label, value (Game frame rate cap still 60 (the console's)), the Quality preset help, the tab strip and the footer are unchanged. Because the page did change (by the thumb), the image is replaced rather than retained: `settings-graphics.png` is main's render, copied unchanged from the helper. Its manifest entry records that capture: the version, the date, the 147 compiler-discovered inputs as both captured and reviewed source at e4801d6a (now with `gpu/vk/sim_turf_population.h`, without the removed `gpu/vk/menu/sim_turf_settings.h`), the new `menu.cpp` hash and a note. `source-review-2772-e4801d6a.md` sets out every changed input and the three views' differences. Rebased onto main 6f5f99fc (#2794, #2796, #2797, #2799). #2794 changed six more recorded inputs (the Game and Menu language rows); renders of e4801d6a and 6f5f99fc with the same helper differ only in the version text on all three pages, with the same 147 inputs, so the recaptured image is retained and `reviewed_source` names 6f5f99fc. The manifest's notes keep #2794's own retain notes after this one. Read first: `scripts/screenshots/menu.cpp` (4 lines), then `settings-graphics.png`'s entry in `docs/user/images/guide/manifest.json`. See #2772, #1585, #152, #2793. ## Testing **Tested:** Windows 11 (build 26300) with Ubuntu 24.04 under WSL 2 for the capture (clang 18.1.3, SDL 2.30.0, libpng 1.6.43). Nothing here runs the game or the GPU. - `scripts/screenshots/capture_menu.py --views graphics audio controls`: from clean checkouts of 01d6878b and e4801d6a, compared pixel by pixel, with the results in Summary; after the rebase, from 6f5f99fc too, which matches e4801d6a outside the version text's box (x 1095-1260, y 20-30) on all three pages. - `scripts/screenshots/check_menu_capture.py --cxx clang++ --vulkan-headers /usr/include`: fails on main e4801d6a with the two undefined references; passes here ("Graphics capture smoke check passed"). - `scripts/check_guide_screenshots.py --review-sources`: exit 1 on main e4801d6a (14 issues); passes here at 15e5255e, on main 6f5f99fc (the Longshot images; the Launcher images stay NOT CHECKED without a Launcher checkout, as on main). - At 15e5255e: `mise run test -- --exact tests/test_guide_screenshots.py tests/test_launcher_capture.py tests/test_sprint.py` passes (3 of 3, with the dev toolchain), and `mise run lint` passes. - The rest of the CI job passes here: `check_third_party.py`, `tests/test_guide_screenshots.py`, `tests/test_launcher_capture.py`. - `mise run lint` passes. - `mise run test` with the dev toolchain (llvm-mingw, then MSYS2): 807 passed, 48 failed, 47 skipped here; on main e4801d6a, run the same way, 806 passed, 49 failed. All 48 also fail on main (the 49th there, test_sampler_admission.py, passes here); none reads a changed file (test_guide_screenshots.py and test_sprint.py, which read menu.cpp, pass). By name: test_auto_handheld.py, test_bug_report.py, test_builder_channel.py, test_control_picture.py, test_coverage_run.py, test_crash_record.py, test_crt_options.py, test_dev_ab.py, test_dev_build.py, test_dev_migrate.py, test_dev_update.py, test_framegen_hdr.py, test_framegen_resources.py, test_fs_path_utf8.py, test_input_background.py, test_job_queue.py, test_keyboard_menu_option.py, test_keyboard_option.py, test_lifter.py, test_linux_pressure.py, test_loaded_modules_drop.py, test_log_batch.py, test_log_levels.py, test_menu_keys.py, test_mise_build.py, test_oot_camera_clearance.py, test_oot_menu_mouse.py, test_oot_state_tap.py, test_oot_wide_bubble.py, test_oot_wide_save_picture.py, test_option_ids.py, test_parity_gates.py, test_perf_send.py, test_present_source_crop.py, test_program_cache_cleanup.py, test_program_cache_one_variant.py, test_run_all_mingw.py, test_screensaver.py, test_switch_table.py, test_temporal_present_bandwidth.py, test_text_keyboard_policy.py, test_upscaler_round_trip.py, test_vcore_video_acquire.py, test_video_catchup.py, test_video_hold_early.py, test_video_input_limit.py, test_windows_display_startup.py, test_windows_on_linux.py. **Still to test:** - None. Not host code: `scripts/screenshots/menu.cpp` is the Linux-only capture fixture, outside every game build. It builds and links on Linux (`check_menu_capture.py` above) and has no Windows build, so the host-code box is left out. ## Measurements Nothing to measure: a guide image, its review record and the game-free capture fixture, nothing the game runs. ## Risks Nothing the game runs changes; a revert is enough. The guide's Graphics picture now has a slightly longer scroll thumb, as on a GPU without push descriptors. A GPU with them also shows the Simulated turf row further down the tab, below the pictured rows. If the fixture should picture that row's GPU instead, `sim_turf_pools_available()` in `menu.cpp` returns true and the image goes back to the old thumb. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [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). - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A fix: a game-free test that fails on `main` and passes here. - [x] A check under `tests/` that reads changed source is updated, not weakened. (`test_guide_screenshots.py` and `test_sprint.py` read `menu.cpp`; neither needed a change, and both pass.) - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
docs(guide): the Graphics guide image is recaptured at main after #2772, the helper's turf stand-ins added
Some checks failed
CI / What the change needs (pull_request) Successful in 19s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been skipped
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been skipped
CI / Third-party parts and guide screenshots (pull_request) Successful in 25s
PR description / Title and description (pull_request_target) Successful in 15s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 28s
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 / 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
52fbca98ef
main fails the guide-screenshot review since #1585, #152 and #2772 changed the
Graphics image's recorded UI inputs, and #2772 also stopped the UI-only helper
linking (sim_turf_pools_available, turf_stats). scripts/screenshots/menu.cpp
stands in for both as a device without push descriptors, which hides the
Graphics tab's Simulated turf row. Renders of 01d6878b and e4801d6a differ on
the Graphics page only in the version text and the scroll thumb's end, so the
image is replaced by main's render and its manifest entry records that capture.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
llun changed title from WIP: docs(guide): the Graphics guide image is recaptured at main after #2772, the helper's turf stand-ins added to docs(guide): the Graphics guide image is recaptured at main after #2772, the helper's turf stand-ins added 2026-11-29 19:19:49 +00:00
Author
Member
@review
BeanBot left a comment

Recommendation: Approve. The fixture restores the game-free capture helper, and the recorded capture supports the updated guide image. The remaining CI checks are still running. Nothing blocking is left. Recommend approval; not approved on the forge.

Updates the Graphics guide image and its source review, and supplies the missing simulated-turf stand-ins so the capture helper links again. The change does not alter game code.

Checks: Still running: 5 checks.

More: does it help, other systems, switches, what was read

Does it help: Yes. The author reports that the Graphics capture smoke check fails to link on the base and passes with this change; the guide source review also passes for Longshot images. This is not a performance change.

Other systems: The stand-ins affect the game-free menu capture fixture, including its Audio and Controls views, but are not linked into the game. The author compared all three views and reports only the documented menu differences.

Switches: None.

Reviewed: 52fbca98ef against e4801d6a55: Read the repository rules and PR template, the complete menu.cpp and new source-review record, the changed manifest entry and diff, the commit, the capture smoke check, and the simulated-turf module and call sites. Skimmed the remaining manifest hashes and screenshot-checking code. The PNG was not visually inspected. docs/review-checklist.md and the adjacent Tooling checkout were unavailable.; nothing run (a code review).

Checked and fine:

  • The fixture returns unavailable for simulated-turf pools and no statistics, consistent with its device-free capture state.
  • The commit records AI assistance.
  • The reported capture uses repository assets and bundled fonts, with no game assets.

Testing: No commands, builds, or tests were run during review. The PR reports the capture smoke check and screenshot source review passing; five CI checks remain running.

Overlaps and merge order: Not checked; network access is closed.


Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The fixture restores the game-free capture helper, and the recorded capture supports the updated guide image. The remaining CI checks are still running. Nothing blocking is left. Recommend approval; not approved on the forge. Updates the Graphics guide image and its source review, and supplies the missing simulated-turf stand-ins so the capture helper links again. The change does not alter game code. **Checks:** Still running: 5 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes. The author reports that the Graphics capture smoke check fails to link on the base and passes with this change; the guide source review also passes for Longshot images. This is not a performance change. **Other systems:** The stand-ins affect the game-free menu capture fixture, including its Audio and Controls views, but are not linked into the game. The author compared all three views and reports only the documented menu differences. **Switches:** None. **Reviewed:** 52fbca98ef9b against e4801d6a55d8: Read the repository rules and PR template, the complete menu.cpp and new source-review record, the changed manifest entry and diff, the commit, the capture smoke check, and the simulated-turf module and call sites. Skimmed the remaining manifest hashes and screenshot-checking code. The PNG was not visually inspected. docs/review-checklist.md and the adjacent Tooling checkout were unavailable.; nothing run (a code review). **Checked and fine:** - The fixture returns unavailable for simulated-turf pools and no statistics, consistent with its device-free capture state. - The commit records AI assistance. - The reported capture uses repository assets and bundled fonts, with no game assets. **Testing:** No commands, builds, or tests were run during review. The PR reports the capture smoke check and screenshot source review passing; five CI checks remain running. **Overlaps and merge order:** Not checked; network access is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
llun force-pushed docs/guide-graphics-recapture-2772 from 52fbca98ef
Some checks failed
CI / What the change needs (pull_request) Successful in 19s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been skipped
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been skipped
CI / Third-party parts and guide screenshots (pull_request) Successful in 25s
PR description / Title and description (pull_request_target) Successful in 15s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 28s
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 / 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 15e5255ee7
Some checks failed
CI / What the change needs (pull_request) Successful in 11s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been skipped
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been skipped
CI / Third-party parts and guide screenshots (pull_request) Successful in 14s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 20s
PR description / Title and description (pull_request_target) Successful in 8s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 1m59s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 3m22s
CI / Website build and checks (pull_request) Failing after 38s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 17m6s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 35m51s
2026-11-29 19:38:56 +00:00
Compare
Author
Member

Rebased onto main 6f5f99fc (#2794, #2796, #2797 and #2799 merged), which resolves the conflict in docs/user/images/guide/manifest.json.

#2794 changed six of the Graphics image's recorded inputs: the Game and Menu language rows. I rendered Graphics, Audio and Controls from 6f5f99fc with the same helper. All three match the e4801d6a renders except the version text's box (x 1095-1260, y 20-30), with the same 147 inputs. So the image recaptured at e4801d6a is retained; reviewed_source now names 6f5f99fc, and #2794's own retain notes follow this PR's note. New commit: 15e5255e.

Checks at 15e5255e: the guide checker passes, tests/test_guide_screenshots.py, tests/test_launcher_capture.py and tests/test_sprint.py pass, and so do check_third_party.py and mise run lint.

Description: I added the box for checks under tests/ that read menu.cpp. Both of them pass unchanged. I left the host-code box out: menu.cpp is the Linux-only capture fixture and has no Windows build. The description says so.

Rebased onto main 6f5f99fc (#2794, #2796, #2797 and #2799 merged), which resolves the conflict in `docs/user/images/guide/manifest.json`. #2794 changed six of the Graphics image's recorded inputs: the Game and Menu language rows. I rendered Graphics, Audio and Controls from 6f5f99fc with the same helper. All three match the e4801d6a renders except the version text's box (x 1095-1260, y 20-30), with the same 147 inputs. So the image recaptured at e4801d6a is retained; `reviewed_source` now names 6f5f99fc, and #2794's own retain notes follow this PR's note. New commit: 15e5255e. Checks at 15e5255e: the guide checker passes, `tests/test_guide_screenshots.py`, `tests/test_launcher_capture.py` and `tests/test_sprint.py` pass, and so do `check_third_party.py` and `mise run lint`. Description: I added the box for checks under `tests/` that read `menu.cpp`. Both of them pass unchanged. I left the host-code box out: `menu.cpp` is the Linux-only capture fixture and has no Windows build. The description says so.
HumanBean deleted branch docs/guide-graphics-recapture-2772 2026-11-29 20:30:17 +00:00
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!2815
No description provided.