Skip to content

Archipelago: reward spots fill, upgrades avoid fixed tiers, shared checks, Linux client - #137

Merged
REALAZK merged 2 commits into
nightlyfrom
fix/ap-shared-detection
Nov 25, 2026
Merged

REALAZK merged 2 commits into
nightlyfrom
fix/ap-shared-detection

Conversation

@REALAZK

@REALAZK REALAZK commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Archipelago fixes from player reports on 0.9.0-nightly.20261125.14. Details per fix are in CHANGELOG-nightly-since-20261125.14.md.

Generation and builds

  • Rooms with Dungeon Rewards at the end of dungeons failed with "No more spots to place". Archipelago: songs no longer send their own spot, keys can go to other worlds #135 made the boss and Rauru spots own items only, but they take only Stones and Medallions. fill_own_only now fills spots that refuse every filler item first, with the slot's own items that fit.
  • "places key items at pickup spots out of upgrade tier order" when building a slot (mostly OOTRR-only rooms). Song from Royal Familys Tomb is a sale spot without the tier wrapper, so an upgrade there gets one fixed tier. tier_order::give_of now holds the build's per-spot rule, slots uses it, and the export denies an upgrade wherever it is not Give::Flow.

Checks sent for the wrong spot (an audit for the same cause as the Song of Time report)

  • Pots sharing a map hash (KF House of Twins Pot 1 with the Know it All House pots, Barinade Pots 1 to 5): Detect::shared drops any flag or key that more than one location would use.
  • Gerudo jail key flags are set by the key actors themselves, so they no longer count as detection.
  • The client drops both from older rooms too.

Linux

  • The client always said "game not running": ootrr-mem was a stub off Windows. mem/src/linux.rs reads /proc/<pid>/mem and /proc/<pid>/maps (procmaps.rs, tested on every platform) and finds Longshot natively or under Wine/Proton. When kernel.yama.ptrace_scope blocks the read, the error names sudo sysctl kernel.yama.ptrace_scope=0.

Tested

  • ap:: (50), tier_order (11) and ootrr-mem tests, plus a Linux target check of ootrr-mem and the CLI.
  • Rooms with rewards at the end of dungeons: 5 of 5 generate, and both slots build.
  • 6 solo rooms build. The 15-room preset sweep generates.
  • Not checked on a real Linux game, and nothing here is checked in game.

🤖 Generated with Claude Code

REALAZK and others added 2 commits November 25, 2026 16:49
An audit for the Song of Time cause in other kinds of checks found two more:

- Pots that share a map hash (KF House of Twins Pot 1 with the Know it All
  House pots, Barinade Pots 1 to 5). The client counts a location as found
  when any of its flags or keys is set, so breaking one sent the others.
  Detect::shared drops every flag or key that more than one catalog or
  tracker location names, shuffled or not. 7 Full shuffle pots become own
  items only, other presets are unchanged.
- The Gerudo jail key flags IsGet_SmallKey_GerudoFortress.SmallKeyNN are only
  read by the hideout logic graphs, so the key actors set them themselves.
  They no longer count, like HavePlayedGetEvent.

The client drops both kinds, and signals shared inside a room's own detect
table, for rooms generated before this.

Checked: chest, skulltula and freestanding key signals stay (one spot each,
set by the spot's own hash). ap:: tests 49 pass, two full shuffle rooms
generate, e2e 5 of 5 on a new room and 6 of 6 on an older one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Three fixes from player reports.

- Dungeon Rewards at the end of dungeons: the boss and Rauru spots became
  own items only in .14 but take only Stones and Medallions, so the fill left
  them empty. fill_own_only now fills spots that refuse every filler item
  first, with the slot's own items that fit, through fill_restrictive.
- "places key items at pickup spots out of upgrade tier order": Song from
  Royal Familys Tomb is a sale spot without the tier wrapper, so an upgrade
  there gets one fixed tier. The export only kept upgrades off fixed_spot.
  tier_order::give_of now holds the build's per spot rule (slots uses it),
  and the export denies an upgrade wherever it is not Give::Flow.
- Linux: the game reader was a stub off Windows, so the bridge always said
  "game not running". mem/src/linux.rs reads /proc/<pid>/mem and maps
  (procmaps.rs, tested on every platform) and finds Longshot natively or
  under Wine. When the kernel blocks the read (ptrace_scope), the error
  names the sysctl to run.

Tested: ap:: (50), tier_order (11), ootrr-mem, a Linux target check of
mem and the CLI, rooms with rewards at the end of dungeons (5 of 5
generate, both slots build), 6 solo rooms build, 15 preset rooms generate.
Not checked on a real Linux game.

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