fix(storage): a portable launcher keeps game and DLSS 5 files in its own folder #412
No reviewers
Labels
No labels
area/build
area/install
area/mods
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!412
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:fix/portable-paths"
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?
Summary
A portable launcher still left files in the player's own folders. This is the launcher's half of the fix:
LONGSHOT_PORTABLE_DATA, so a newer game version keeps its userfolder and the Windows sandbox's record there, also when the data folder was moved in Settings.
ngxfolder instead of%LOCALAPPDATA%\Longshot\ngx, andPlay points
RX_VK_DLSS_DIRat it. Every game version already looks there first. ARX_VK_DLSS_DIRof your own wins.docs/paths.mdlists the installed and portable places, and what is still written outside a portable folder.Installed launchers behave as before. DLSS 5 files added earlier stay in
%LOCALAPPDATA%\Longshot\ngx, where games stillfind them; the portable launcher's Settings does not list those as its own.
Game side: MagicBeanDev/Longshot#3090. See #266.
Testing
Tested: Linux:
cargo fmt,cargo clippy --workspace --all-targets -- -D warnings,cargo test --workspace(all pass;the portable test now checks
LONGSHOT_PORTABLE_DATA).Still to test:
Longshot\data\ngxand DLSS 5 working in the game(by hand).
%LOCALAPPDATA%\Longshot\ngx(by hand).Not tested on Windows: the DLSS 5 folder code is Windows-only and was not compiled for Windows here.
#266 reports an NFC folder in AppData on opening launcher 1.2.0. This change does not claim to fix that report: 1.2.0 was not
audited. A likely related cause (an empty
nfcfolder in the game's user folder) is fixed on the game side.🤖 Generated with Claude Code
Linked the game's half.
WIP: fix(storage): a portable launcher keeps game and DLSS 5 files in its own folderto fix(storage): a portable launcher keeps game and DLSS 5 files in its own folder