fix(scripts): resolve -Exe and DLSS folders before the launcher changes folder #92
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!92
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-92"
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?
@Caasares on GitHub · 2026-11-27 17:57 UTC · original
Caasares:fix/app-launcher-relative-exe→main· +6 −0 · 1 files · 1 commits · merged 2026-11-28 19:01 UTCscripts/play-foxhound.ps1checks a relative-Exefrom the folder the launcher was started in, then changes to the repository's folder to start the title. The title is then looked for in the wrong folder, so a relative path that exists where the user is does not open:The same happens to a relative
VICTORY_STREAMLINE_DIRorVICTORY_FIDELITYFX_DIR. The DLLs are found from the caller's folder, but the relative value is handed to the title from the repository's folder. The run then silently goes without DLSS or FSR 3, and the log header records the relative value.Fix
Make the paths absolute before the folder changes:
$Exe, right after its existence check;Absolute paths are unchanged. Six lines, all in
scripts/play-foxhound.ps1.Verification
No automated test covers the scripts (CI runs clippy and
cargo test), so this was checked with a stand-invictory.exe: a compiled program that prints its working folder and whether it can open the title's executable. It sits attarget\release\victory.exein a copy of the repository layout.-Exe .\game_scarlett_master.exefrom the game folder givesstub: cannot open .\game_scarlett_master.exe (relative to cwd). WithVICTORY_STREAMLINE_DIR=.\sl, the log header saysVICTORY_STREAMLINE_DIR=.\sl.stub: opened C:\...\game_scarlett_master.exe, and the log header saysVICTORY_STREAMLINE_DIR=C:\...\sl.-Exebehaves as before. The file parses with no errors (Parser::ParseFile).No Rust code changed.
@1tsethan on GitHub · 2026-11-27 23:01 UTC · original
Tested PR commit:
e29d2c03b44d173604e3537d6b6a7a3d4bc494ce.An authored stub reproduced the relative executable-path problem: main
df2daafcould not open the relative game path after changing to the repository folder; this PR could. One remaining edge case:VICTORY_MENU_ARGSstill contained the original relative-Exein the PR fixture, because it is constructed before$Exeis resolved. This is source/argument evidence for a potential F1-restart issue, not an in-game reproduction. SDK-directory behavior was not tested in this fixture (DLSS was off).Verified independently with OpenAI Codex assistance. No gameplay or performance claims.