gpu: F10 marks a render issue and saves the next frame before the HUD #171
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ReTerryDavis--ReVIctory!171
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-170"
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?
@SovietBearz0r on GitHub · 2026-12-05 20:51 UTC · original
SovietBearz0r:f10-issue-capture→main· +172 −13 · 4 files · 1 commits · openYou asked for "F10 capture" as a small focused PR from the closed #32 review: press F10 to timestamp a visible render issue and save the next frame before HUD composition (F11 only records brief flashes).
What
crates/victory-gpu/src/capture.rs: mark machinery (request_mark,present_plan,mark_wants_next,frame_name/marked_name,save_in,complete) using the existing pre-HUD capture path — present.rs reads the title's picture after the copy but beforep.panel.draw(...), gated bycapture::wanted(frame).VICTORY_MARK_FRAME_DIR); otherwise F10 falls through to the title as before. The first press saves the next presented frame; the mark is consumed once.VICTORY_CAPTUREuntouched; README diagnostics bullet added.Verification
cargo test -p victory-gpu --lib: 717 passed, 0 failed, 21 ignored; with--features diagnostics: 796 passed, 21 ignored (3 new: fresh-press-only F10, one-shot next-frame mark, captured frame names); clippy clean with/without diagnostics;cargo check -p victory; policy 442 files.-More @{ VICTORY_MARK_FRAME_DIR = 'D:\issue-frames' }, press F10 on a glitch): log linesF10 render issue marked/saving the frame before HUD composition/frame saved, PNG shows the glitch without HUD, F11 still records, overlay-off/no-folder leaves F10 as before.@SovietBearz0r on GitHub · 2026-12-05 21:48 UTC · original
In-game check done with a diagnostics build on this box. A synthetic F10 press (P/Invoke
keybd_event, foreground title window,GetAsyncKeyState=0x8000) produced exactly one mark:and the file exists:
data\ingame-verify\f10-frames\marked-frame-17189.png, 1,739,378 bytes, written from the pre-HUD readback. Nothing else was triggered; F11 was not exercised in this run (code untouched), overlay-off/no-folder behaviour is covered by the unit tests. Log:data\ingame-verify\logs\f10.log.@SovietBearz0r on GitHub · 2026-12-05 21:48 UTC · original
Follow-up on the saved PNG: I inspected
marked-frame-17189.png— it is a 1920x1080 title/loading illustration, captured without any overlay/HUD, so the pre-HUD readback path is proven; the synthetic press happened to land on a transition frame rather than live gameplay. Mechanism verified; a human press during an actual gameplay glitch is the optional next check (timing, not code).View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.