Skip to content

fix: take three of SoH's logic corrections since the import - #177

Merged
PixelHabits merged 3 commits into
mainfrom
fix/soh-logic-corrections
Nov 29, 2026
Merged

PixelHabits merged 3 commits into
mainfrom
fix/soh-logic-corrections

Conversation

@PixelHabits

@PixelHabits PixelHabits commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Kaepora carries Ship of Harkinian's logic as imported at 051e497. SoH has corrected four of its rules since, in files Kaepora carries, and Kaepora still had the old line of each. This pull request takes three of them, one commit each, as SoH wrote them. Kaepora had changed none of those lines for the remake, so nothing of its own gives way. None of the three changes what a shuffled place asks: the trials stand before the tower's boss key chest, which holds Ganon's boss key by default and joins the fill with "Ganon's boss key" at "Anywhere in the castle", and what reaching it asks is the same.

The fourth, SoH's line from the shadow trial's torch to the Golden Gauntlets chest's platform (HarbourMasters/Shipwright@f44583b7c, HarbourMasters/Shipwright#7559), follows the game in a pull request of its own. The room's fire is not SoH's in the remake, and the lines that turn on it are being played.

What changed

SoH's commit What it corrects Kaepora's file
HarbourMasters/Shipwright@0c9609066 (HarbourMasters/Shipwright#7505) Thieves' Hideout: removes the way from the double cell to the fortress outskirts, which SoH's game does not have (the remake's is not seen) thieves_hideout.cpp
HarbourMasters/Shipwright@380197938 (HarbourMasters/Shipwright#7546) Ganon's Castle: moves the six trials' condition from the two ways into the tower's entryway to the entryway's way up the first stairs ganons_castle.cpp
HarbourMasters/Shipwright@ddb24006c (HarbourMasters/Shipwright#7548) Kakariko: Granny's shop checks the wallet against the price on both branches, the Odd Mushroom's too kakariko.cpp

Each was applied with tools/upstream.py apply. Two applied cleanly. The trials' move met Kaepora's own line beside it, the Deku Scrubs' way in without the Lens of Truth, which stays. The comment on bunny megajumps moves with the condition, where SoH's develop has it. shipwright/UPSTREAM.json keeps reviewed at the import. Moving it past these commits would hide SoH's rename of the Sleeping Waterfall's key (HarbourMasters/Shipwright@d923dd3a4), which is not taken here. Taking that rename touches settings.cpp, RandomizerSettingKey.h, RandomizerOptions.h, en_US.json and zoras_river.cpp under shipwright/, and Kaepora's own pin in generator/setup.cpp.

What each one decides

  • The hideout. The double cell is entered only from above the Training Ground and from the top of the lower vines, and each of those leads on to the outskirts. So with entrances in place the line changes nothing a Link can reach (read).
  • The trials. With entrances in place the rule asks the same as before. Read side by side: the entryway is entered from the castle's two halls, and back down from the first stairs, which is no first way in. The first stairs are entered only from the entryway and from the tower's first floor above them. The entryway holds no place and no event, and the trials' clears are events of their own rooms. So every Link on the stairs came first through a hall and the entryway, and meets the condition at one door or the other. It can still move plans, by search order alone: the search reaches the empty entryway before the trials are done, and the fill draws its places in another order (inferred). At the defaults it moves none: Ganon's boss key stays in the tower's chest. With that key left to the fill ("Anywhere in the castle") it moves 34 of 100 plans, and 19 of 50 with every shuffle. For each of those 53 seeds, each build's spoiler log was asked under the other build's rules, one process per log so that no program is shared. All 7,738 route steps are in reach in their spheres both ways, and the tower's boss key chest and Ganon get the same answer from both builds at every sphere, in 5,250 comparisons (424 yes, 4,826 no) (measured).
  • Granny. Merchants are not shuffled, so Granny charges her vanilla 100 rupees, and every Link starts with the 200 rupee wallet. So the check holds whenever she sells (read).

Tests

  • No new test, and no pinned test moves. None of the three changes what a seed can meet today. The two pinned tests the trials' search order moved on 19897d88 (Epona before Malon's lesson, and the foolish forest) hold at this branch's commits on the seeds f33e5e1b gave them, 43 and 74.
  • Builds and test runs. Each commit builds with GCC, with 0 warnings from our files, and passes all 429 tests on its own.

Measured

On f33e5e1b, against each commit before:

Commit Seeds 1 to 100, defaults Seeds 1 to 100, Ganon's boss key anywhere in the castle Seeds 1 to 50, every shuffle
The hideout 0 move not run 0 move
The trials 0 move 34 move 19 move
Granny 0 move not run 0 move

At the tip, every seed of the defaults and of every shuffle generates, patches, has every route step in reach in its sphere, has a route whose last step is Ganon, and gives only true hints. "Every shuffle" is every gift group, all Gold Skulltulas, dungeon rewards, loose items and the Kokiri Sword shuffled, Ganon's boss key anywhere in the castle, and four goods per shop.

Unknown

  • RANDOMIZED.md needs no change: no sentence there speaks of these rules.

@PixelHabits
PixelHabits force-pushed the fix/soh-logic-corrections branch from a01c320 to 83d1787 Compare November 29, 2026 21:21
@PixelHabits PixelHabits changed the title fix: take SoH's four logic corrections since the import fix: take three of SoH's logic corrections since the import Nov 29, 2026
Ship of Harkinian removed the way from the Thieves' Hideout double cell
to the fortress outskirts in HarbourMasters/Shipwright@0c9609066
(HarbourMasters/Shipwright#7505), as a way its game does not have.
Kaepora carried the line unchanged and takes SoH's correction as
written. Whether the remake's double cell has that way is not seen.

The cell's only ways in are from above the Training Ground and from the
top of the lower vines, and each of those leads on to the outskirts. So
with entrances in place no Link reaches anything new or loses anything
by the line (read from the rules).

Measured on f33e5e1, against the commit before, over seeds 1 to 100 at
the defaults and 1 to 50 with every shuffle: no plan or spoiler log
moves.
Ship of Harkinian moved the six trials' condition from the two ways
into Ganon's Tower's entryway, from the castle's hall and from its
Master Quest hall, to the entryway's own way up the first stairs in
HarbourMasters/Shipwright@380197938 (HarbourMasters/Shipwright#7546).
With decoupled entrances a Link who came in by the entryway could
otherwise climb the tower with the barrier up. The comment on bunny
megajumps moves with the condition, where SoH's develop branch has it.
Kaepora's own line beside it, the Deku Scrubs' way in without the Lens
of Truth, stays.

With entrances in place the rule asks the same as before. Read side by
side: the entryway is entered from the two halls, and back down from the
first stairs, which is no first way in. The first stairs are entered
only from the entryway and from the tower's first floor above them. The
entryway holds no place and no event, and the trials' clears are events
of their own rooms. So every Link on the stairs came first through a
hall and the entryway, and meets the condition at one door or the
other.

It can still move plans, by search order alone: the search now reaches
the empty entryway before the trials are done, and the fill draws its
places in another order (inferred). Measured on f33e5e1, against the
commit before: no plan moves over seeds 1 to 100 at the defaults, where
Ganon's boss key stays in the tower's chest. Plans move for 34 of 1 to
100 with that key left to the fill among the castle's chests ("Anywhere
in the castle"), and for 19 of 1 to 50 with every shuffle. For each of
those 53 seeds, each build's spoiler log was asked under the other
build's rules, one process per log so that no program is shared: all
7,738 route steps are in reach in their spheres both ways, and the
tower's boss key chest and Ganon get the same answer from both builds at
every sphere, in 5,250 comparisons (424 yes, 4,826 no). No pinned test
moves.
Ship of Harkinian made Granny's shop check the wallet against the price
on both of its branches, the Odd Mushroom's as well as the Claim
Check's, in HarbourMasters/Shipwright@ddb24006c
(HarbourMasters/Shipwright#7548). Kaepora carried the line unchanged and
takes the correction as SoH wrote it.

Merchants are not shuffled, so Granny charges her vanilla 100 rupees,
and every Link starts with the 200 rupee wallet, so the check holds
whenever she sells (read from the rules).

Measured on f33e5e1, against the commit before, over seeds 1 to 100 at
the defaults and 1 to 50 with every shuffle: no plan or spoiler log
moves.
@PixelHabits
PixelHabits force-pushed the fix/soh-logic-corrections branch from 83d1787 to 9133653 Compare November 29, 2026 23:01
@PixelHabits
PixelHabits merged commit 9133653 into main Nov 29, 2026
12 checks passed
@PixelHabits
PixelHabits deleted the fix/soh-logic-corrections branch November 29, 2026 23:13
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