feat(home): a version's gear builds it again with other settings, its own choices picked #262
No reviewers
Labels
No labels
area/build
area/install
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!262
Loading…
Reference in a new issue
No description provided.
Delete branch "Mone/LongshotLauncher:feat/rebuild-settings"
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?
NVIDIA DLSS, AMD FSR 4, Intel XeSS and the game's language are set in the wizard's step 2 only, so changing them for a version you already have meant finding how to rebuild it, and step 2 then showed the last build's choices, not that version's. This puts a gear on each version's row that opens exactly that.
What changed
CanStartBuild) or the row is being deleted.LauncherSettings.TakeChoicesOf): the list's record of DLSS, FSR 4 and XeSS, else DLSS and the language read from the folder (GameFolder.HasDlss,GameFolder.Language); an upscaler the list does not know about is left as remembered. A switch whose licence was never accepted on this launcher stays off, and its tick asks for it as for a new build. As with any build, what step 2 shows is remembered for the next one.FilesStepViewModel.ToSettings) once the tools are here and the game file that build was made from ("Last used") passes its check. Another file picked, the file missing, or the page left, and step 1 stays for the player; Back from step 2 does not send it forward again..longshot_romfsstamp), cached objects and the translation are reused where the settings don't touch them.Testing
Tested
dotnet build LongshotLauncher.slnx -c Release: 0 warnings, 0 errors; the app tests (tests/launcher_app) pass.tests/launcher_core/BuildChoicesChecks.cs(new): the switches and language start at the build's; unknown ones stay as remembered; a licence never accepted keeps its switch off.Still to test
SavesChecks, andscripts/translations.pyreports catalog texts left over: both onmainas it is too (clean checkout of6887d57), not from this change.Screenshots follow in a comment.
Screenshots (Windows 11, launcher in Italian; a local build with #261 and #263 in it too). Paths are blanked out.
The gear on the version's row, beside Saves:
Pressed: step 1 went on by itself, and step 2 opened with that build's DLSS, FSR 4, XeSS and Italian (the space line is #263's):
Possibly related, for context:
A full rebuild run through, started from the gear (#262) and allowed by the space check (#263): Nightly 763, upscalers turned off (DLSS, FSR 4, XeSS were on), Windows 11, game folder on C: with 18 GB free, build files on E:.
build_times.json): read 0.6 s (the .nup not read again: same stamp), lift 5.3 s (translation reused), compile 99 s (2 of 591 modules compiled; most of it planning and linking), finish 51 s, 157 s in all. Shader preparation then ran for ~20 s: the driver's pipelines were there already (longshot_programs.binandlongshot_prepared.binwritten again,longshot_vk_pipelines.binuntouched).ngxfolder went from the game folder. FSR 4's and XeSS's DLLs stay (~110 MB): make_game.py removes FSR's mark only, and keeps XeSS's library by design; not this PR's to change.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.