Skip to content

Apply the F1 menu's saved settings on VIctory NVIDIA builds - #75

Merged
dazacode merged 1 commit into
mainfrom
fix/f1-settings-native-play
Nov 29, 2026
Merged

dazacode merged 1 commit into
mainfrom
fix/f1-settings-native-play

Conversation

@dazacode

Copy link
Copy Markdown
Owner

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 own victory play applies that file at the next start, and only play sets VICTORY_MENU_PLAY, which "Save and restart" needs. VILauncher used play only when all of these held:

  • the build was installed from git (not a ZIP, not a build beside the game)
  • the repo had Get-NVIDIA-DLSS.cmd, scripts/play-foxhound.ps1 and apps/victory/src/play.rs
  • the output was the default, 1080p, 1440p or 4K (720p on Series X and 936p were refused)
  • every launch argument was one play takes

Otherwise it started the game with run, silently, and every saved F1 choice was ignored.

What changes

  • Detection by the build itself: when victory play --help offers --series-s --res --dlss --set --no-framegen-ready, Play goes through play, whatever the install kind. A build that isn't from git runs from its own folder.
  • The output never rules play out. The F1 menu's picture size wins anyway. An output play can't express (720p, 936p, Fit screen) is left out, with a note in the log.
  • run's --console series-s|series-x is translated for play.
  • Logging: only a launch argument play doesn't take still means run. The log now names that argument and says the F1 choices don't apply that time.

Testing

  • node scripts/ci.mjs passes on Windows: typecheck, translations, UI tests, vite build, fmt, clippy, cargo test.
  • New test cases cover detection, the console translation, every output that used to be refused, and the error for an unknown argument.
  • Not yet run against a real VIctory NVIDIA build with the game files.

Not changed

In play mode, "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

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>
@dazacode
dazacode merged commit aabfc0f into main Nov 29, 2026
4 checks passed
@dazacode dazacode mentioned this pull request Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant