Skip to content

Honor manual setup for games with preparation profiles - #402

Closed
thehobbit85 wants to merge 2 commits into
elripalda:mainfrom
thehobbit85:codex/fix-393-manual-prepare
Closed

thehobbit85 wants to merge 2 commits into
elripalda:mainfrom
thehobbit85:codex/fix-393-manual-prepare

Conversation

@thehobbit85

Copy link
Copy Markdown
Contributor

A game with both prepare and start in its profile refused to play after the player explicitly chose Set Up By Hand. Both the shared setup status and Play forced the player back to Easy Setup, even when the selected executable was already usable outside the launcher.

Honor the manual choice in both paths. Manual launch uses the existing command and availability checks, without requiring automatic setup inputs. Automatic setup, the game's installer rebuild path, and the existing own-build/skip routes retain their behavior.

Validation: synthetic prepare/start manifests reproduce the refusal without game files; five affected assertions fail before the fix. Tests cover successful manual routing, missing and directory-valued programs, inactive manual mode, and shared readiness. Full Rust suite: 960 passed, 1 ignored. Full UI suite: 661 passed, 11 platform skips. git diff --check is clean.

Refs #393. This addresses the explicit manual-setup refusal only; it does not claim to fix the separate Longshot version or inside-install copy reports.

@Xarishark Xarishark left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving: Set Up By Hand now just starts the program the player named, which is what #393 asks for, and the setup_state tests cover it.

Heads-up: #408 removes Set Up By Hand altogether (two setup roads: Easy Setup, or Skip Easy Setup runs the program). If it lands first, this PR isn't needed any more.

Nothing returns "way" any more, so its message, the "Use the Launcher's Way?" dialog, the
Troubleshoot check that said a game set up by hand never gets built (with its fix) and their
texts in every language go.
@Xarishark Xarishark closed this Nov 21, 2026
@Xarishark

Copy link
Copy Markdown
Collaborator

Closing this in favour of #408, thanks @thehobbit85 for the fix and the tests.

While looking into #393 we decided the launcher should have two setup roads only: Easy Setup, or Skip Easy Setup, where Play just runs the game's program (or the one picked under Game Executable). #408 removes Set Up By Hand altogether, so the refusal this PR fixes goes with it, and a hand setup someone already has turns into Skip Easy Setup with its program kept.

@thehobbit85
thehobbit85 deleted the codex/fix-393-manual-prepare branch November 25, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants