PLAY_FRAMEGEN: an absent drive or an empty game_dir.txt no longer stops the launcher #3795
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!3795
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3795"
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?
@mixaoc on GitHub · 2026-11-30 07:20 UTC · original
mixaoc:patch-3→main· +3 −1 · 1 files · 1 commits · openWhat it changes
Two cases stopped
scripts/play-gta6-framegen.ps1before it could search the drives for the game:game_dir.txt(or-GameDir) names a drive that is not there:Join-Paththrows "Cannot find drive".game_dir.txtis empty (0 bytes):.Trim()is called on$null.Test-GameDirnow asks whether the folder exists before joining a path to it, and the line read is made a string before it is trimmed.How it was tested
Test-GameDir,Find-GameDirand the call to it, run with a temporary repository folder.-GameDiron an absent drive all throw.-GameDiron an absent drive is reported as not a game folder.[ ]in its name, a trailing backslash, quotes, or surrounding spaces.< > |still throws, as before.cargo test: no crate touched (script only).Checked for overlap
Find-GameDir), #2694, #2868.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.