Scripts: screenshots and the game's memory paired with the log (watch-screen.ps1, shots_vs_log.py) #1339
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1339
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1339"
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?
@Agam77055 on GitHub · 2026-11-28 17:40 UTC · original
Agam77055:pr/screen-log-tools→main· +271 −0 · 2 files · 1 commits · closed without mergingTwo scripts for reports like #191 and #791: they line up what the screen showed and what the game's memory did with the log of the same moment, so a black picture or growing memory can be tied to the layer's numbers.
scripts/watch-screen.ps1Run it in a second PowerShell window:
Takes a screenshot of the game window every few seconds (3 s by default). Files are named by UTC time like the log's lines, in
%LOCALAPPDATA%\victory\shots\<start time>\.Waits for any
victory*.exewindow, so the diagnostics build works too, and stops when the game closes.A background job writes
memory.csvevery 5 s with:GPU Process Memorycounters);The counters take a few seconds to read, so they run in their own job and don't hold up the screenshots.
scripts/shots_vs_log.pyFor each shot it gives:
memory.csvrow nearest it.It ends with:
It needs numpy and Pillow.
Tested
memory.csvbeside it.Tested and written with an AI assistant (Claude Code); the runs were on my machine. No game files attached.
c926d44134to220a71a3afPull request closed