Repository navigation
Feature/ap web page - #130
Merged
Merged
Conversation
- core ap::build: the ap-build pipeline (register the other players' items, check the world, build with the AP staging hook) as one shared function. The extra items and the loose chest counts are cleared when the build ends, so the long-running app goes back to plain builds; one Archipelago build at a time. - ootrr ap-build calls it. --help now lists ap-export, ap-build and ap-bridge. - web: POST /api/ap/read (slot, seed, preset, counts, default mod name) and POST /api/ap/build (a job like /api/build). The folder checks are the seed build's own, split out of api_build::plan as place(). Plain and Archipelago builds refuse to start while the other is running. The mod folder gets a Spoiler.txt note so Delete all other seeds treats it like a seed. - Archipelago page under Configuration: open the .apootrr, see what it holds, build with the Configuration page's folders, copy the settings string for a player file, and the multiworld steps. Checked in the app with a hand-made patch: it is read, the build starts and the mismatch is reported. No real multiworld patch was built. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page now walks a player through four steps, plus notes for the host. - core ap::world: the app packs ootrr.apworld itself. The Python sources of archipelago/ootrr are built into the exe, the logic bundles come from the same export as ootrr ap-export, and the manifest gets the container version, as tools/build_apworld.py does. Entries are stored (a small zip writer and reader), plus ootrr/built_by.txt with the app version. A test fails when a file of archipelago/ootrr is not listed. - web ap_host: reads and sets ootrr_options.ootrr_exe in host.yaml as text, so comments and the other settings stay as they are. - GET /api/ap/setup: Archipelago found, world installed and current, host.yaml pointing at this app. POST installs the world in custom_worlds and writes host.yaml; only an Archipelago folder is written to. - GET /api/ap/world: the world file, for a host without the app. - POST /api/ap/player: the player file. Settings that match a preset of the world name it; others go in as a settings string, exported once first so settings Archipelago cannot use are refused here. - POST /api/ap/client: starts ArchipelagoLauncher with OOTRR Client, the room address, the player name and this app's path. Refused over LAN. - The page: folder field with Browse and Check again, the three checks, player name, the two save buttons, one button to open the .apootrr and build, room address and Open the OOTRR Client, and Hosting the room. - README and nightly changelog. Checked in the app against a stand-in Archipelago folder: setup writes the world and host.yaml, Python's zipfile and zipimport read the world the same as a Python-made one, both player file forms come back, the build runs and reports a mismatched patch. Not tried with a real Archipelago install: loading the world there and starting the client are untested. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.