docs(guide): the Graphics guide image is recaptured at main after #2772, the helper's turf stand-ins added #2815
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2815
Loading…
Reference in a new issue
No description provided.
Delete branch "llun/Longshot:docs/guide-graphics-recapture-2772"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
mainfails 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 at01d6878b, #1585 (45 FPS game frame rate cap), #152 (shared Keyboard Auto/On/Off policy) and #2772 (simulated turf around Link) changed 13 ofsettings-graphics.png's recorded UI-source inputs and removed one.scripts/check_guide_screenshots.py --review-sourceson maine4801d6areports 14 issues, among themREVIEW REQUIRED: settings-graphics.png: gpu/vk/vk_menu.cpp changed since reviewed revision 01d6878b…andgpu/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.cppnow 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 maine4801d6a:Because the page did change (by the thumb), the image is replaced rather than retained:
settings-graphics.pngis 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 ate4801d6a(now withgpu/vk/sim_turf_population.h, without the removedgpu/vk/menu/sim_turf_settings.h), the newmenu.cpphash and a note.source-review-2772-e4801d6a.mdsets 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 ofe4801d6aand6f5f99fcwith the same helper differ only in the version text on all three pages, with the same 147 inputs, so the recaptured image is retained andreviewed_sourcenames6f5f99fc. The manifest's notes keep #2794's own retain notes after this one.Read first:
scripts/screenshots/menu.cpp(4 lines), thensettings-graphics.png's entry indocs/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 of01d6878bande4801d6a, compared pixel by pixel, with the results in Summary; after the rebase, from6f5f99fctoo, which matchese4801d6aoutside 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 maine4801d6awith the two undefined references; passes here ("Graphics capture smoke check passed").scripts/check_guide_screenshots.py --review-sources: exit 1 on maine4801d6a(14 issues); passes here at15e5255e, on main6f5f99fc(the Longshot images; the Launcher images stay NOT CHECKED without a Launcher checkout, as on main).15e5255e:mise run test -- --exact tests/test_guide_screenshots.py tests/test_launcher_capture.py tests/test_sprint.pypasses (3 of 3, with the dev toolchain), andmise run lintpasses.check_third_party.py,tests/test_guide_screenshots.py,tests/test_launcher_capture.py.mise run lintpasses.mise run testwith the dev toolchain (llvm-mingw, then MSYS2): 807 passed, 48 failed, 47 skipped here; on maine4801d6a, 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:
Not host code:
scripts/screenshots/menu.cppis the Linux-only capture fixture, outside every game build. It builds and links on Linux (check_menu_capture.pyabove) 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()inmenu.cppreturns true and the image goes back to the old thumb.Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named).main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
mainand passes here.tests/that reads changed source is updated, not weakened. (test_guide_screenshots.pyandtest_sprint.pyreadmenu.cpp; neither needed a change, and both pass.)Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.🤖 Generated with Claude Code
WIP: docs(guide): the Graphics guide image is recaptured at main after #2772, the helper's turf stand-ins addedto docs(guide): the Graphics guide image is recaptured at main after #2772, the helper's turf stand-ins added@review
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:
52fbca98efagainste4801d6a55: 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:
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.
52fbca98ef15e5255ee7Rebased onto main
6f5f99fc(#2794, #2796, #2797 and #2799 merged), which resolves the conflict indocs/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
6f5f99fcwith the same helper. All three match thee4801d6arenders except the version text's box (x 1095-1260, y 20-30), with the same 147 inputs. So the image recaptured ate4801d6ais retained;reviewed_sourcenow names6f5f99fc, 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.pyandtests/test_sprint.pypass, and so docheck_third_party.pyandmise run lint.Description: I added the box for checks under
tests/that readmenu.cpp. Both of them pass unchanged. I left the host-code box out:menu.cppis the Linux-only capture fixture and has no Windows build. The description says so.