Retrieve Archipelago seeds from the server in the Qt launcher #2

Merged
alaric merged 1 commit from codex/server-seed into main 2026-10-18 22:44:54 +00:00
Owner

The Qt Archipelago page previously required a downloaded seed file even when the room could provide the seed. Entering a Server and Player and clicking Get Seed now retrieves the validated request through the bundled backend, saves it locally, and selects it for Randomize and Launch on either shadPS4 or BBPort. Browse remains available for existing files and older rooms.

The page keeps network requests responsive, supports cancellation and protected rooms, rejects stale responses after selection changes, and never persists room passwords. Saved fetched seeds remain bound to their room and player. Get Seed does not require a game installation or start a game.

Validation: all four native CTest suites passed; 47 UI cases passed with no failures or skips, including both runtime build/launch routes, errors, cancellation, stale responses and settings persistence. The production Qt page/backend boundary fetched 16 requests from real AP 0.6.7 rooms across two generated worlds, password/plain rooms, repeated connections and restart, both runtimes, and default/opt-in Workshop door logic. Canonical request bytes and component source hashes were checked. Dark-theme visual inspection passed at 620×460 and 820×620.

The opt-in apfetch_server_test target records source, backend and request hashes for release verification. This PR changes only the eight reviewed launcher/test/documentation files; unrelated local zstd checkout differences are excluded.

The Qt Archipelago page previously required a downloaded seed file even when the room could provide the seed. Entering a Server and Player and clicking Get Seed now retrieves the validated request through the bundled backend, saves it locally, and selects it for Randomize and Launch on either shadPS4 or BBPort. Browse remains available for existing files and older rooms. The page keeps network requests responsive, supports cancellation and protected rooms, rejects stale responses after selection changes, and never persists room passwords. Saved fetched seeds remain bound to their room and player. Get Seed does not require a game installation or start a game. Validation: all four native CTest suites passed; 47 UI cases passed with no failures or skips, including both runtime build/launch routes, errors, cancellation, stale responses and settings persistence. The production Qt page/backend boundary fetched 16 requests from real AP 0.6.7 rooms across two generated worlds, password/plain rooms, repeated connections and restart, both runtimes, and default/opt-in Workshop door logic. Canonical request bytes and component source hashes were checked. Dark-theme visual inspection passed at 620×460 and 820×620. The opt-in apfetch_server_test target records source, backend and request hashes for release verification. This PR changes only the eight reviewed launcher/test/documentation files; unrelated local zstd checkout differences are excluded.
Add server seed retrieval to the Qt Archipelago launcher
Some checks failed
Build and Prerelease / get-info (push) Has been cancelled
Build and Prerelease / clang-format (push) Has been cancelled
Build and Prerelease / build-windows (push) Has been cancelled
Build and Prerelease / build-windows-noUAC (push) Has been cancelled
Build and Prerelease / build-macos (push) Has been cancelled
Build and Prerelease / build-linux (push) Has been cancelled
Build and Prerelease / build-linux-downloader (push) Has been cancelled
Build and Prerelease / pre-release (push) Has been cancelled
Archipelago integration / windows-integration (pull_request) Has been cancelled
2e412c9afe
alaric merged commit f0877ffed7 into main 2026-10-18 22:44:54 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
alaric/BB_Launcher-AP!2
No description provided.