One developer console (FiveM F8 style) for the tools now spread over F1/F2/F3, F7-F9 and the console window #4613
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#4613
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@tyr0nsur on GitHub · 2026-11-30 23:49 UTC · original
What you would like
One in-game developer console, like FiveM's F8 console, that gathers what is now split across the separate console window, the F1 menu, F2, F3 and the single-purpose F-keys. F1/F2/F3 would stay as optional shortcuts, and the keys could be rebound later.
Why
Today, from
main(e1251c31):host/menu.rs, ~3,260 lines). F2 toggles the explainer and F3 the stats panel (host/panel.rs). F7/F8 flush texture copies (FLUSH_HARD/FLUSH_SOFT). F9 is frame capture (capture.rs). The log goes to a separate console window and to the play log.panel.rs) and also toggles the vehicle camera auto-center hook (lifecycle.rs, themousehookline in every log). F9 is frame capture, the native mouse toggle (gameinput.rs) and a capture override (lifecycle.rs). The[/]keys set the mouse sensitivity. Nothing lists these in one place.VICTORY_*switches. Only F1's curatedITEMSanddocs/dlss.mddescribe any of them, so users trade--setlines in issues by hand.live: true). A console could say so for each switch instead of users finding out.Proposal: in small steps, each useful on its own
toggled!/asked_for!sites and their doc comments) at build time. On its own it already helps the docs and F1, and it can check for typos in--set.tracinglines (a ring buffer layer, filterable:filter WARN,filter dlss) and the commandsfind <text>,get <SWITCH>andhelp. While it is open the title gets no keyboard, as F1 does (SETTINGS_MENU_OPEN).set <SWITCH> <value>(saved tovictory-settings.txt, with "next start" or "now" said),preload,clear-shaders,restart,stats(F3's numbers),memory,pipelines(failed and pending, with their hashes),flush soft|hard,capture,cam-center.VICTORY_ABmechanism the diagnostics builds already have.bindings.ini(which already holds the mouse-and-keyboard bindings), so F7/F8/F9 stop doing several things at once.Points to settle
0x29, the key left of 1:`on US layouts,ºon Spanish ones) works on any layout and is what many games use. Moving F8's current uses into the console would free it.Are you working on a fix?
I'd like to, with some pointers. Step 1 (the switch registry) is self-contained, and I can open it as a first PR if the direction is welcome.
AI-assisted with Claude Code.
@github-actions[bot] on GitHub · 2026-11-30 23:50 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU you have and which Windows version (10 or 11).
If this issue needs logs and none are posted here within 12 hours, it will be closed. Add them by editing your post or in a comment.
@M4gnif1cus on GitHub · 2026-12-01 00:13 UTC · original
For the
statspart of this: #4542 adds a second F3 panel that could be what that command shows, and it was built with the same constraint in mind (nothing on the hot path).victory_gpu::in_play()says whether the player is in play, paused or in a menu, from the title's own flags. A console could use it too, for example to keep counting out of its own open time.If the console lands, the panel's numbers could be exposed as text for
statsrather than duplicated. Happy to adapt it to whatever shape the console takes.The second F3 panel from #4542.
@tyr0nsur on GitHub · 2026-12-01 00:18 UTC · original
@M4gnif1cus thanks, that fits well. #4542's second panel is exactly what
statsshould show. The console only needs to open the same panel, or print its last snapshot as text, rather than keep counters of its own. Your "only play counts" rule (from the title's pause, menu and map flags) is what the console's capture and pacing commands want too. And since #4542 already puts the F3 cycling intolifecycle.rs/mousehook.rs, the key-binding step (5) can start from where those keys are read there.Step 1 is up as #4627: a table of the 928 switches the code reads, built from the sources at compile time, with
victory switches [text].playnow names the switches it sets that no code reads. Once both are in, step 2 (the console view: log scrollback,find/get) would draw with the same font and box as #4542's panel.AI-assisted with Claude Code.