fix(builder): use upscaler choices from the installed version #2791
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2791
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:installed-version-upscalers"
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 shared profile could carry the last-played version's upscaler choices into a direct launch of another version and trigger a rebuild. The builder now reads the installed version's module choices for Play,
info, andbuild --profile.The version's
version.jsonowns the module choices, including an explicit selection of no modules. Older version records use their default build's module list. An explicit build option selects the modules for that invocation. Standalone profiles still provide their module choices, and vendor license receipts stay with each profile.Testing
Tested: The game-free CLI regression failed on main when the DLSS version inherited XeSS from the shared profile. It passes with the fix and covers alternating DLSS and FSR fixtures, both launch forms, an older version record, and an explicit selection of no modules. Locked builder and build-driver tests, focused Clippy, formatting, and the builder release-lookup source check passed.
Linux, GeForce RTX 3090. With one disposable profile and two seeded builds carrying different module selections, alternated between the launcher Play shortcut and opening the game directly. All six starts reached the game, reported the right modules and a current build, and kept their build record and game executable.
Still to test:
Measurements
The regression checks the selected modules and the fast check's build decision.
9ce616336c477073Risks
The new builder reads the existing installed version record. Old launchers can still write the profile field for compatibility with older builders. Standalone builds without a version record continue to read and write their profile choices.
Checklist
Ready for review
main. The title is a Conventional Commit.mise run testpasses. The focused checks passed locally. The full suite is pending CI.third_party/untouched.When it applies
Assisted-by:trailers.Tested in game: Linux, GeForce RTX 3090. Alternated two versions seeded with DLSS and FSR module choices under one profile. Launcher Play and direct launch both opened the game and reused the corresponding build on all six starts.
Possibly related, for context:
WIP: fix(builder): use upscaler choices from the installed versionto fix(builder): use upscaler choices from the installed version