Skip to content

Update for dev_tanjo3.1.10.6#1430

Merged
wooferzfg merged 12 commits intowooferzfg:wwrando-dev-tanjo3from
tanjo3:update-1.10.6
Apr 13, 2026
Merged

Update for dev_tanjo3.1.10.6#1430
wooferzfg merged 12 commits intowooferzfg:wwrando-dev-tanjo3from
tanjo3:update-1.10.6

Conversation

@tanjo3
Copy link
Copy Markdown
Contributor

@tanjo3 tanjo3 commented Apr 13, 2026

This PR updates the wwrando-dev-tanjo3 branch of the tracker to support the new features in the dev build:

  • Update default permalink to the default in the dev build.
  • Replace trick difficulty with trick list
  • Add new progression locations to launcher page, and support rupeesanity
  • Add logic-changing dev options to launcher page
  • Support boss souls by adding a dungeon item icon for it when enabled. The icon reuses the boss images for the dungeon tracker. This can be changed to something else in the future.
  • Support Blue ChuChu shuffle by removing the Sea Chart jelly icons when Blue ChuChus are shuffled. The player can instead track Jellies by manually clicking on the icon in the item table.

@wooferzfg
Copy link
Copy Markdown
Owner

wooferzfg commented Apr 13, 2026

Is it possible to update the tests too? I'd like to have them passing on this branch since it's not just a temporary branch. Feel free to message me if you run into any issues.

@wooferzfg
Copy link
Copy Markdown
Owner

Looks like some test coverage is missing

@tanjo3
Copy link
Copy Markdown
Contributor Author

tanjo3 commented Apr 13, 2026

Just to expand on the permalink encode test, I found that the tracker's zlib encodes differently than the randomizer's zlib library. However, I verified that when removing all the zlib stuff from the permalink, the encode test passes as it was previously written. But, to account for this zlib difference, I modified the encode test.

If you want to test for yourself, the non-zlib-compressed permalink for default settings is ZGV2X3RhbmpvMy4xLjEwLjZfYjdkYjk0MABCAEkQUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAEgYAAAAAAIB9AQS6BAAAAAAAAQAAAAgQAABAAAAAAAAAAAAAAA==.

Comment thread src/services/logic-helper.js Outdated
{
regex: /^Option "([^"]+)" Enabled$/,
value: (optionValue) => optionValue,
value: (optionValue) => !!optionValue,
Copy link
Copy Markdown
Owner

@wooferzfg wooferzfg Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this change needed? (Could be helpful to add a comment?)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, this is a leftover patch from when some tests were failing for me previously due to the test files in the data\ folder not being updated. I'll remove them.

},
{
regex: /^Option "([^"]+)" Contains "([^"]+)"$/,
value: (optionValue, expectedValue) => _.get(optionValue, expectedValue),
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, why is this needed?

Comment thread src/services/permalink.test.js Outdated
test('encodes a permalink', () => {
// Python's zlib and Node's zlib produce different compressed bytes for the same uncompressed input.
// For this test permalink, I've confirmed that the uncompressed payload is byte-identical on both sides.
// So, for this test, simply check that the options are identical after an encode-decode round-trip.
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe rename the test to match the new behavior?

Comment thread src/services/logic-helper.js Outdated

// All rupeesanity locations have both the Rupee flag and its progression flags (Dungeon, Puzzle Secret Cave, etc.).
// So, we need special logic to distinguish between overworld and dungeon rupees.
if (_.includes(locationTypesList, Settings.FLAGS.RUPEE)) {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a way to do this that's more consistent with the existing codebase would be to update the types flag in LogicTweaks, similar to updateSunkenTriforceTypes

Code to reference:

@wooferzfg wooferzfg merged commit 2aba45a into wooferzfg:wwrando-dev-tanjo3 Apr 13, 2026
1 check passed
@tanjo3 tanjo3 deleted the update-1.10.6 branch April 13, 2026 15:22
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.

2 participants