Skip to content

Archipelago: skulltula hashes, cosmetics in AP mods, Plandomizer in rooms - #138

Merged
REALAZK merged 2 commits into
nightlyfrom
fix/ap-skull-hashes
Nov 25, 2026
Merged

REALAZK merged 2 commits into
nightlyfrom
fix/ap-skull-hashes

Conversation

@REALAZK

@REALAZK REALAZK commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Three Archipelago fixes found after nightly 0.9.0-nightly.20261125.15.

  • Gold Skulltulas are detected through the hash the build uses. 24 skulltula rows in data/locations.json carry another skulltula's hash, so the client watched the wrong token for them. Detection now takes the hashes from skull_names::hashes, the same source the build writes. Test: every_skulltula_is_seen_through_the_hash_the_build_uses.
  • Cosmetics apply to Archipelago mods. The AP build never ran the cosmetics step and the page never sent the Cosmetics settings, so tunic colours, music and sound effects stayed default. api_build::cosmetics is now shared, and the AP build runs cosmetic::apply when anything is set. Checked with a real AP build: "Changed: Kokiri tunic #FF00FF".
  • The app's Plandomizer reaches rooms. Player files now carry the entries as an ootrr_plando option, and the OOTRR world places them in create_items. This works with the host's Archipelago item plando off (its default). A bad entry stops generation with a clear message. Players need to make the player file again.

Tests: core ap:: 51 passed, web 247 passed, after rebasing on c102b68. Not checked in game.

🤖 Generated with Claude Code

REALAZK and others added 2 commits November 25, 2026 19:43
data/locations.json has 24 Gold Skulltula hashes swapped in cycles (each
row holds another Skulltula's hash, for example Fire Temple GS Boulder Maze
holds Scarecrow Top's). Detect::of took a Skulltula's keys from those
catalog refs, so in 0.9.0-nightly.20261125.14 one kill could send another
spot's check. Detect::shared already dropped them in .15 because two spots
named each one, which kept detection right only by accident.

Detect::of now takes a Skulltula's keys and IsGoldSkullDead flags from
skull_names::hashes, the table the build uses, and no longer reads its
catalog refs. A test checks all 96 Skulltulas keep their hash, unshared.

Found by the bug review of the main bug-reports forum (wave7 bugreview).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Frisson: "the tunic color is still default" and "plandomizer seems to not work".

- api_ap::build drew the title line but never ran cosmetic::apply, and the
  page sent no colours, music or sound effects. The cosmetics parse moves
  out of api_build::plan into api_build::cosmetics, the Archipelago build
  uses it (and loads the sound files when music or sounds shuffle), and the
  page sends the Cosmetics page choices like Generate does.
- The player file carried only the preset or settings string, so the app's
  Plandomizer never reached the room, and Archipelago's plando_items is off
  unless the host enables it. The player file now writes the entries as
  the apworld's own ootrr_plando option, which create_items places as
  locked own items after checking the location is shuffled, the item is in
  the pool and OOTRR allows it there.

Tested: ootrr-web (247), a room with ootrr_plando generates with AP item
plando off and the spoiler shows both entries, a bad entry stops with a
clear message, an app build from a .apootrr with a custom Kokiri tunic
runs the cosmetics step ("Changed: Kokiri tunic #FF00FF"), and the app's
player file includes the entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@REALAZK
REALAZK merged commit 179b6ec into nightly Nov 25, 2026
2 checks passed
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.

1 participant