Scripts: the one-click start and bench.ps1 read the F1 settings in VICTORY_HOME #2694
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!2694
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2694"
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?
@iBooM72 on GitHub · 2026-11-29 16:12 UTC · original
iBooM72:fix/victory-home-settings→main· +12 −8 · 2 files · 1 commits · openWhat it changes
With
VICTORY_HOMEset,play-foxhound.ps1andvictory playread the F1 menu'svictory-settings.txtfrom that folder. Two scripts looked elsewhere:play-gta6-framegen.ps1looked only in the repository folder. It could miss FSR 3 chosen in F1, so it said AMD's files weren't needed and didn't fetch them.bench.ps1looked only in%LOCALAPPDATA%\victory. It could miss saved choices that change a run, or stop because of a fileplaydoesn't read. It also missed NVIDIA's files inVICTORY_HOME.Each script now looks where the launcher it starts does. Without
VICTORY_HOME, nothing changes.bench.ps1startsplayin the repository folder, so it resolves a relativeVICTORY_HOMEfrom there.play-gta6-framegen.ps1uses[IO.Path]::CombinebecauseJoin-Pathstops-Checkwith an error ifVICTORY_HOMEis on a missing drive (tested). #774 made other scripts followVICTORY_HOME.How it was tested
-Checkuses the card's name). No game, full benchmark or download was run. Windows 11, Windows PowerShell 5.1.-Checkwith a placeholder game folder. Forbench.ps1, I ran only its settings and NVIDIA file checks, in temporary folders.VICTORY_HOMEVICTORY_HOMEVICTORY_HOMEVICTORY_HOMEVICTORY_HOME, the launcher still reads the repository's file, andbench.ps1still uses its default folder.bench.ps1still stops when it can't find NVIDIA's files.cargo testpassed for the crates it touches: no crate touched (scripts only).cargo xtask policy --stagedpassed.--no-fail-fast) fail here and on unmodified829188e9, with no new clippy errors. 6 tests failed here. 5 also failed in the full run on829188e9. The other,a_change_is_saved_at_once_however_the_game_was_started, failed in 1 of 6 repeat runs there (#2500 fixes it).Checked for overlap
VICTORY_HOME. #2628 (mine) and #2475 also editbench.ps1, and both fit with this change. #1328, #1348, #1357, #1360, #1363 and #1399 also edit the launcher. None changes this settings path.🤖 Generated with Claude 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.