Validate the launcher’s --streamline folder before preparation or play #293
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/readmet3xt-lab--foxhound!293
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-293"
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?
@Yoshi-233 on GitHub · 2026-12-01 10:50 UTC · original
Yoshi-233:feat/launcher-streamline-dir→next· +28 −14 · 2 files · 116 commits · closed without mergingFixes #162.
The launcher on
nextaccepts--streamline <folder>. This change validates the folder before an unattended launch or preparation. The README uses--streamline;--streamline-dirremains an alias. Pass the unpacked SDK root or the directory containingsl.interposer.dll, for example:A missing or invalid SDK folder leaves the saved path alone. The interactive launcher shows a message. In
--playor--preparemode the launcher writes the message to stderr and exits with code 1 before starting either action. In particular,--streamline --preparestill recognizes--prepareas an action. Valid relative paths are saved as absolute paths. Successful setup keeps the DLSS behavior fromnext, including the existing switch from Off to Balanced.Verification on the rebased revision (
2c5a069→53da3c1): compiled the complete launcher as a Windows x64 executable on Linux using Roslyn and .NET Framework 4.8 reference assemblies. A headless harness exercised the actual argument handling and startup callback with temporary profiles. All nine cases passed (three on the unmodified base), covering paths with spaces, both flag names, saved settings, and invalid input before or after an action flag. The staged asset check passed. This revision hasn't been run in the Windows GUI.@readmet3xt-lab on GitHub · 2026-12-01 12:22 UTC · original
Checked: nothing harmful in it, and the handling of a wrong folder (keep the saved one; exit code 1 with
--prepareor--play) is what the command line should do.One thing has to change before it can go in: the release now in testing already carries a command-line argument for the same thing, spelled
--streamline <folder>, beside--game <folder>. Two spellings for one setting would confuse people. Please rebase onto main once that release is out and keep its--streamlineas the name, with your validation and messages; accepting--streamline-diras a second spelling of the same argument is fine. The README lines then need the one name.@Yoshi-233 on GitHub · 2026-12-02 01:14 UTC · original
Thanks for pointing me to the spelling in the upcoming release. I prepared the validation on top of
nextat2c5a069. The README uses--streamlinethroughout. The original PR spelling is accepted as an alias. A valid folder keeps the DLSS behavior already innext. A missing or invalid folder keeps the saved path, and--playor--preparereturns 1. In particular,--streamline --prepareleaves--prepareavailable as an option.I compiled the full launcher to a Windows x64 executable on Linux and checked the actual argument and startup-handler code with temporary profiles in a headless harness. Nine cases passed, including relative paths with spaces, both spellings, and missing input before or after an action flag. I haven't run this revision in the Windows GUI. I’ll rebase the PR onto main after the release as requested. Preview commit
@readmet3xt-lab on GitHub · 2026-12-02 01:48 UTC · original
Thank you, that's exactly the shape we'd like:
--streamlineas the spelling, the old one kept as an alias, and a missing folder keeping the saved path with--playand--preparereturning 1. We can't see those commits yet: the PR still points at yesterday's commit, and none of your fork's branches holds the version onnext. Could you push it to this PR's branch (a force-push of the rebased branch is fine)? We'll review it then and take it into the next release's candidate, with credit.Accept --streamline-dir in the Windows launcherto Validate the launcher’s --streamline folder before preparation or playd025c1c164to53da3c1668@Yoshi-233 on GitHub · 2026-12-02 03:05 UTC · original
Pushed
53da3c1to this PR’s source branch and set the base tonextat2c5a069. The Files changed tab now shows one launcher change and its README update. The canonical flag is--streamline, and--streamline --preparereports the missing folder and exits with code 1. Ready for your review. Two-file diffPull request closed