Repository navigation
Apply the F1 menu's saved settings on VIctory NVIDIA builds - #75
Merged
Merged
Conversation
A VIctory NVIDIA build saves its F1 menu choices (DLSS, frame generation, console, picture size) to victory-settings.txt, which only its own `victory play` applies at the next start; that command also gives the menu's "save and restart" a way to restart. The launcher used `play` only for a build installed from git, with three particular repo files, an output of 1080p/1440p/4K, and launch arguments `play` takes. Otherwise it started the game with `run`, silently, and every saved F1 choice was ignored. Now the build itself decides: when its `play --help` offers the flags, Play goes through it, for a ZIP or a build beside the game too. The output never rules it out (the F1 menu's picture size wins anyway; one `play` cannot say is left out, with a note). `run`'s --console is said the `play` way. Only a launch argument `play` does not take still means `run`, and the log now says which one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the cause behind #56: on VIctory NVIDIA, DLSS, frame generation and the other F1 choices did not stick, and "Save and restart" did not restart.
Why
The build's F1 menu saves to
%LOCALAPPDATA%\victory\victory-settings.txt(a player's game log confirms the saves land there). Only the build's ownvictory playapplies that file at the next start, and onlyplaysetsVICTORY_MENU_PLAY, which "Save and restart" needs. VILauncher usedplayonly when all of these held:Get-NVIDIA-DLSS.cmd,scripts/play-foxhound.ps1andapps/victory/src/play.rsplaytakesOtherwise it started the game with
run, silently, and every saved F1 choice was ignored.What changes
victory play --helpoffers--series-s --res --dlss --set --no-framegen-ready, Play goes throughplay, whatever the install kind. A build that isn't from git runs from its own folder.playout. The F1 menu's picture size wins anyway. An outputplaycan't express (720p, 936p, Fit screen) is left out, with a note in the log.run's--console series-s|series-xis translated forplay.playdoesn't take still meansrun. The log now names that argument and says the F1 choices don't apply that time.Testing
node scripts/ci.mjspasses on Windows: typecheck, translations, UI tests, vite build, fmt, clippy, cargo test.Not changed
In
playmode, "Save and restart" restarts the game from the build itself, in a console of its own, outside the launcher. The game comes back with the new settings, but the launcher stops tracking that run.🤖 Generated with Claude Code