fix(profile): load environment switches from the active profile #2710
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2710
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:fix/profile-env-first"
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?
Players who use several builds need their environment switches to follow their active profile. Longshot reads the profile copy of
longshot_env.txtfirst. When that file is absent, it readsconfig/longshot_env.txtin an organized build orlongshot_env.txtat the root of an older build.An explicit
HOS_ENV_FILEselects the file for that run. Player-file switch restrictions continue to apply. The player guide, troubleshooting page, profile reference, and switch reference describe the lookup order and file locations.The rebased environment-file regression test covers both build layouts and profile precedence. The settings migration test also passes. Two Linux game starts before the rebase verified profile selection and build fallback. Windows runtime verification remains pending.
Tested in game: Linux, NVIDIA GeForce RTX 3090. Started the patched game twice with a throwaway profile. Distinct diagnostic markers confirmed the game read only the profile file when present and the build file when absent.
de31741b4f8d784cf379Rebased onto
d05a0daband preserved main’s organized build layout during conflict resolution. Updated the player and developer docs and verified profile precedence and both build fallbacks.WIP: fix(profile): load environment switches from the active profileto fix(profile): load environment switches from the active profile