Ellendar / Z2Randomizer

Fork of the main Zelda 2 Randomizer by Digshake
9 stars 6 forks source link

z2ft Integration #200

Closed TheRealQuantam closed 2 weeks ago

TheRealQuantam commented 2 months ago

Integrate z2ft into the randomizer and add option for randomized music from a library derived from MM2 randomizer's music library.

Basic features of z2ft:

I'll be doing most of this, but there are some executive decisions needed:

  1. The set of uses. Each track in the library must be tagged with 1 or more uses, which determine where the randomizer can use that track in a given seed. A minimal set of uses would be overworld, town, fixed encounter, random encounter, palace; but it can be more fine-grained that than if desired. E.g. in MM2R we have the uses stage select, stage, boss, boss rush, credits.
  2. How many tracks the randomizer should pick each seed for each usage. While it's theoretically possible to have 128 tracks (limited by ROM size), it might be preferable to only have a few different tracks per seed, so each seed feels unique.
Ellendar commented 2 months ago

I think your set of uses is a good start. I'd ideally like to add a couple to it

I do need to try this with the rando at some point. If I don't get around to it bug me sometime.

TheRealQuantam commented 2 months ago

I'm hoping to have this in as a cosmetic option for the 2024 standard tournament. As such I'm hoping to have it done at least 1 month before the tournament for testing as people practice. 3 weeks from now should be plenty given the current state. The romhacking is pretty much done and the work on moving all the music randomization stuff from MM2 randomizer (the parts I wrote) into an independent library that can be shared with other randomizers is coming along; that leaves integrating it into the Z2 randomizer.

For anyone who wants it, here's a patch for vanilla Z2 that is a demo of the z2ft capabilities. z2ftdemo.zip

Ellendar commented 2 weeks ago

We ended up backporting this to 4.3.X because we needed to do a bugfix patch. Might be some refinement/additional options for 4.4 but those can go on separate issues.