play.ps1: keep VICTORY_FIDELITYFX_DIR #4
No reviewers
Labels
No labels
accessibility
bug
crash
documentation
duplicate
enhancement
good first issue
graphics
help wanted
invalid
needs logs
performance
question
rdna2
rdna3
rdna4
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/eikkapine--victory-amd!4
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4"
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?
@fraustiz on GitHub · 2026-11-28 10:55 UTC · original
fraustiz:fix-play-fidelityfx-dir→main· +1 −1 · 1 files · 1 commits · closed without mergingscripts/play.ps1clears every inheritedVICTORY_*variable except the path settings, andVICTORY_FIDELITYFX_DIRis not in that list. So a FidelityFX folder set before running the script is dropped, the host upscaler never loads, and the title falls back to its own Xbox FSR 4 DLL.With
VICTORY_FSR_4Kset, that DLL rejects the 4K output:The title then crashes with
0xc0000094(divide by zero) attitle+0x28f03e8. I hit it twice, once during loading and once after ~9 minutes of driving.The fix adds
VICTORY_FIDELITYFX_DIRto the kept paths, as upstream Belobug'splay.ps1already does.Tested on an RX 9070 XT / 7900X / 32 GB: with the folder kept, the log shows
FidelityFX: the host's upscaler serves the title's(4.1.2, 3.1.6, 2.3.4) and the first host upscale succeeds. The mismatch message is gone.The
INSTALL.batlaunchers callvictory.exedirectly and are not affected, so this is probably not the cause of #2.play.ps1 removes every inherited VICTORY_* variable except the path settings, and VICTORY_FIDELITYFX_DIR was not in that list. A folder set before running the script was dropped, so the host FidelityFX upscaler never loaded and the title used its own Xbox FSR 4 DLL. With VICTORY_FSR_4K set, that DLL rejects the 4K output ("maxUpscaleSize must be 1920x1080; received 3840x2160") and the title then crashes with 0xc0000094 at title+0x28f03e8, during loading or a few minutes in. Tested on an RX 9070 XT: with the folder kept, the log shows "the host's upscaler serves the title's" (4.1.2) and the first host upscale succeeds. The INSTALL.bat launchers call victory.exe directly and are not affected.@eikkapine on GitHub · 2026-11-30 16:13 UTC · original
Thanks! The same one-line fix is on main now (
599d9ae), so closing this. Note it only affects running from source with scripts/play.ps1; the release launcher sets VICTORY_FIDELITYFX_DIR itself.Pull request closed