Preserve launcher paths and working directory on F1 restart #563
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!563
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-563"
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?
@ghptc on GitHub · 2026-11-28 00:58 UTC · original
ghptc:fix/shader-preload-startup→main· +142 −22 · 3 files · 3 commits · merged 2026-11-29 08:16 UTCAn F1 preload restart can close the game and then lose the replacement console before shader compilation begins. Both launchers embed paths in PowerShell source. A typographic apostrophe in a path can end the quoted string. The new console also inherits the game's current directory, so relative paths can resolve differently after the game changes directory.
Pass the launcher and title paths through environment values, give the new console the launcher's original working directory, and resolve Foxhound's relative title before changing directories. The native launcher continues to replay the original CLI options, including repeated
--setvalues. The new tests cover the native argument template and the title, preload flag and working directory received by a real child console.Synthetic reproduction
Player’sVICTORY_CONFIG=user.toml, after a working-directory changePlayer’s GameThe harness replayed the real launch settings through the F1 menu in an isolated process. The automatic warmup restart was also exercised for both launchers using a synthetic draw count. Both restarted without requesting preload. The native launcher's second play log confirmed that the original flags and repeated
--setvalues survived the restart. These results establish two failure modes on upstreama4d05e7. The reporter's logs are still needed to identify which stage failed in their run.Validation
experimental-11.0-20261123b-x86_64, PowerShell 7.7.0 for Windows, GeForce RTX 5070. Both new regressions passed. Across the selected Windows suites, 42 tests passed and one failed.pipeline::library::tests::a_rejected_blob_gives_an_empty_libraryfailed on both clean upstream and this branch because the D3D12 provider could not create an empty pipeline library.victoryandvictory-gpupassed with default features and with diagnostics.git diff --checkpassed.Refs #493