From 265578dca5b9fb284d1e517fabd0f443a0bbe6ff Mon Sep 17 00:00:00 2001 From: theclearmouse <105736589+theclearmouse@users.noreply.github.com> Date: Sun, 19 Jan 2025 22:41:55 -0500 Subject: [PATCH 01/26] display mirror scroll icon on start screen if enabled --- InitialSram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InitialSram.py b/InitialSram.py index 742e4fe3..d3c2e6e0 100644 --- a/InitialSram.py +++ b/InitialSram.py @@ -228,7 +228,7 @@ class InitialSram: equip[0x343] = min(starting_bombs, equip[0x370]) equip[0x377] = min(starting_arrows, equip[0x371]) - if not startingstate.has('Magic Mirror', player) and world.doorShuffle[player] != 'vanilla': + if not startingstate.has('Magic Mirror', player) and (world.doorShuffle[player] != 'vanilla' or world.mirrorscroll[player]): equip[0x353] = 1 # Assertion and copy equip to initial_sram_bytes From 2af5aad0788cae853649f47ce92a45f49bbabbbd Mon Sep 17 00:00:00 2001 From: KrisDavie Date: Thu, 6 Mar 2025 17:58:29 +0100 Subject: [PATCH 02/26] Fix cavestate dungeon items in non-keysanity --- Rom.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Rom.py b/Rom.py index e4582388..f1d6879a 100644 --- a/Rom.py +++ b/Rom.py @@ -474,6 +474,12 @@ def patch_rom(world, rom, player, team, is_mystery=False): rom.write_byte(location.player_address, location.item.player) else: itemid = 0x5A + + if not location.locked and ((location.item.smallkey and world.keyshuffle[player] == 'none') or ( + location.item.bigkey and world.bigkeyshuffle[player] == 'none') or ( + location.item.map and world.mapshuffle[player] == 'none') or ( + location.item.compass and world.compassshuffle[player] == 'none')): + itemid = handle_native_dungeon(location, itemid) rom.write_byte(location.address, itemid) for dungeon in [d for d in world.dungeons if d.player == player]: if dungeon.prize: From 7efc23b867fb1b0da87d3745a20e186ecafc89bd Mon Sep 17 00:00:00 2001 From: codemann8 Date: Tue, 11 Mar 2025 08:59:26 -0500 Subject: [PATCH 03/26] Fixed error with prizes in starting inventory --- Fill.py | 23 +++++++++++++++++++++++ Rom.py | 45 ++++++++++++++++++++++++++++++--------------- 2 files changed, 53 insertions(+), 15 deletions(-) diff --git a/Fill.py b/Fill.py index 8ffec2ee..b6b793db 100644 --- a/Fill.py +++ b/Fill.py @@ -657,6 +657,29 @@ def ensure_good_items(world, write_skips=False): if loc.type in [LocationType.Pot, LocationType.Bonk] and loc.item.name in valid_pot_items: loc.skip = True + dungeon_pool = collections.defaultdict(list) + prize_pool = collections.defaultdict(list) + from Dungeons import dungeon_table + from Items import prize_item_table + for dungeon in world.dungeons: + if dungeon_table[dungeon.name].prize: + dungeon_pool[dungeon.player].append(dungeon) + prize_set = set(prize_item_table.keys()) + for p in range(1, world.players + 1): + prize_pool[p] = prize_set.copy() + + for player in dungeon_pool: + dungeons = list(dungeon_pool[player]) + random.shuffle(dungeons) + dungeon_pool[player] = dungeons + for dungeon in world.dungeons: + if dungeon.prize: + dungeon_pool[dungeon.player].remove(dungeon) + prize_pool[dungeon.prize.player].remove(dungeon.prize.name) + for p in range(1, world.players + 1): + for dungeon in dungeon_pool[p]: + dungeon.prize = ItemFactory(prize_pool[p].pop(), p) + invalid_location_replacement = {'Arrows (5)': 'Arrows (10)', 'Nothing': 'Rupees (5)', 'Chicken': 'Rupees (5)', 'Big Magic': 'Small Magic', 'Fairy': 'Small Heart'} diff --git a/Rom.py b/Rom.py index f1d6879a..abea18f4 100644 --- a/Rom.py +++ b/Rom.py @@ -1314,6 +1314,17 @@ def patch_rom(world, rom, player, team, is_mystery=False): rom.write_byte(0x18003C, compass_mode) def get_entrance_coords(ent): + if ent is None: + owid_map = [0x1E, 0x30, 0xFF, 0x7B, 0x5E, 0x70, 0x40, 0x75, 0x03, 0x58, 0x47] + x_map_position_generic = [0x03c0, 0x0740, 0xff00, 0x03c0, 0x01c0, 0x0bc0, 0x05c0, 0x09c0, 0x0ac0, 0x07c0, 0x0dc0] + y_map_position_generic = [0xff00, 0xff00, 0xff00, 0x0fc0, 0x0fc0, 0x0fc0, 0x0fc0, 0x0fc0, 0xff00, 0x0fc0, 0x0fc0] + world_indicator = 0x0000 + idx = int((map_index-2)/2) + owid = owid_map[idx] + if owid != 0xFF: + if (owid < 0x40) == (world.is_tile_swapped(owid, player)): + world_indicator = 0x8000 + return [world_indicator | x_map_position_generic[idx], y_map_position_generic[idx]] if type(ent) is Location: from OverworldShuffle import OWTileRegions if ent.name == 'Hobo': @@ -1346,22 +1357,15 @@ def patch_rom(world, rom, player, team, is_mystery=False): # write out dislocated coords if map_index >= 0x02 and map_index < 0x18 and (world.overworld_map[player] != 'default' or world.prizeshuffle[player] not in ['none', 'dungeon', 'nearby']): - owid_map = [0x1E, 0x30, 0xFF, 0x7B, 0x5E, 0x70, 0x40, 0x75, 0x03, 0x58, 0x47] - x_map_position_generic = [0x03c0, 0x0740, 0xff00, 0x03c0, 0x01c0, 0x0bc0, 0x05c0, 0x09c0, 0x0ac0, 0x07c0, 0x0dc0] - y_map_position_generic = [0xff00, 0xff00, 0xff00, 0x0fc0, 0x0fc0, 0x0fc0, 0x0fc0, 0x0fc0, 0xff00, 0x0fc0, 0x0fc0] - world_indicator = 0x0000 - idx = int((map_index-2)/2) - owid = owid_map[idx] - if owid != 0xFF: - if (owid < 0x40) == (world.is_tile_swapped(owid, player)): - world_indicator = 0x8000 - write_int16(rom, snes_to_pc(0x0ABE2E)+(map_index*6)+4, world_indicator | x_map_position_generic[idx]) - write_int16(rom, snes_to_pc(0x0ABE2E)+(map_index*6)+6, y_map_position_generic[idx]) + coords = get_entrance_coords(None) + write_int16s(rom, snes_to_pc(0x0ABE2E)+(map_index*6)+4, coords) # write out icon coord data if world.prizeshuffle[player] not in ['none', 'dungeon', 'nearby'] and dungeon_table[dungeon].prize: dungeon_obj = world.get_dungeon(dungeon, player) - entrance = dungeon_obj.prize.get_map_location() + entrance = None + if dungeon_obj.prize: + entrance = dungeon_obj.prize.get_map_location() coords = get_entrance_coords(entrance) # prize location write_int16s(rom, snes_to_pc(0x0ABE2E)+(map_index*6)+8, coords) @@ -2334,9 +2338,20 @@ def write_strings(rom, world, player, team): silverarrow_hint = f'Did you find the silver arrows {hint_phrase}?' if progressive_silvers else no_silver_text tt['ganon_phase_3_no_silvers_alt'] = silverarrow_hint - crystal5 = world.find_items('Crystal 5', player)[0] - crystal6 = world.find_items('Crystal 6', player)[0] - greenpendant = world.find_items('Green Pendant', player)[0] + crystal5 = world.find_items('Crystal 5', player) + crystal6 = world.find_items('Crystal 6', player) + greenpendant = world.find_items('Green Pendant', player) + def missing_prize(): + from BaseClasses import Dungeon + d = Dungeon('your pocket', [], None, [], [], player, 0) + i = ItemFactory('Nothing', player) + i.dungeon_object = d + r = Region('Nowhere', RegionType.Menu, 'in your pocket', player) + r.dungeon = d + loc = Location(player, 'Nowhere', parent=r, hint_text='in your pocket') + loc.item = i + return loc + (crystal5, crystal6, greenpendant) = tuple([x[0] if x else missing_prize() for x in [crystal5, crystal6, greenpendant]]) if world.prizeshuffle[player] in ['none', 'dungeon']: (crystal5, crystal6, greenpendant) = tuple([x.parent_region.dungeon.name for x in [crystal5, crystal6, greenpendant]]) tt['bomb_shop'] = 'Big Bomb?\nMy supply is blocked until you clear %s and %s.' % (crystal5, crystal6) From acc802dfdf1639728003eac337b6a6aa2206d622 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Tue, 11 Mar 2025 09:07:57 -0500 Subject: [PATCH 04/26] Fixed errors with starting equipment containing bottles --- ItemList.py | 2 +- Main.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ItemList.py b/ItemList.py index 08be1d62..3c879c9f 100644 --- a/ItemList.py +++ b/ItemList.py @@ -1245,7 +1245,7 @@ def modify_pool_for_start_inventory(start_inventory, world, player): world.itempool.remove(alt_item) i = i-1 elif 'Bottle' in item.name: - bottle_item = next((x for x in world.itempool if 'Bottle' in item.name and x.player == player), None) + bottle_item = next((x for x in world.itempool if 'Bottle' in x.name and x.player == player), None) if bottle_item is not None: world.itempool.remove(bottle_item) if item.dungeon: diff --git a/Main.py b/Main.py index e1af57b1..f668e853 100644 --- a/Main.py +++ b/Main.py @@ -429,6 +429,9 @@ def export_yaml(args, fish): for k,v in {"DR":__version__,"OR":ORVersion}.items(): logger.info((k + ' Version:').ljust(16) + '%s' % v) + for player in range(1, world.players + 1): + world.difficulty_requirements[player] = difficulties[world.difficulty[player]] + set_starting_inventory(world, args) world.settings = CustomSettings() From 7cba411e45522e660226fc098eea2c509b63160c Mon Sep 17 00:00:00 2001 From: Kris Davie Date: Sun, 16 Mar 2025 07:30:41 +0100 Subject: [PATCH 05/26] More glitched fixes --- ItemList.py | 12 +++++++++++- Rom.py | 7 +++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/ItemList.py b/ItemList.py index 5889e4d0..3dce2da3 100644 --- a/ItemList.py +++ b/ItemList.py @@ -368,7 +368,17 @@ def generate_itempool(world, player): or (item.map and world.mapshuffle[player]) or (item.compass and world.compassshuffle[player]))]) - + if world.logic[player] == 'hybridglitches' and world.pottery[player] not in ['none', 'cave']: + keys_to_remove = 2 + to_remove = [] + for wix, wi in enumerate(world.itempool): + if wi.name == 'Small Key (Swamp Palace)' and wi.player == player: + to_remove.append(wix) + if keys_to_remove == len(to_remove): + break + for wix in reversed(to_remove): + del world.itempool[wix] + # logic has some branches where having 4 hearts is one possible requirement (of several alternatives) # rather than making all hearts/heart pieces progression items (which slows down generation considerably) # We mark one random heart container as an advancement item (or 4 heart pieces in expert mode) diff --git a/Rom.py b/Rom.py index 4fd43122..984ac066 100644 --- a/Rom.py +++ b/Rom.py @@ -463,6 +463,13 @@ def patch_rom(world, rom, player, team, is_mystery=False): rom.write_byte(location.player_address, location.item.player) else: itemid = 0x5A + + if not location.locked and ((location.item.smallkey and world.keyshuffle[player] == 'none') or ( + location.item.bigkey and world.bigkeyshuffle[player] == 'none') or ( + location.item.map and world.mapshuffle[player] == 'none') or ( + location.item.compass and world.compassshuffle[player] == 'none')): + itemid = handle_native_dungeon(location, itemid) + rom.write_byte(location.address, itemid) else: # crystals From 966bd8d05e8d830ca28a9026ee91c50693ead0ec Mon Sep 17 00:00:00 2001 From: aerinon Date: Fri, 21 Mar 2025 11:07:09 -0600 Subject: [PATCH 06/26] fix: prevent big key door modification while door shuffle is vanilla --- CHANGELOG.md | 15 +++++++++++++++ Main.py | 2 +- RELEASENOTES.md | 19 ++++--------------- Rom.py | 2 +- 4 files changed, 21 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c9f2520..cb0b711a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,21 @@ Changelog archive +* 1.4.8.1 + - Fixed broken doors generation + - Fixed bomb/arrow upgrade ignoring custom pricing + - Extended `money_balance` to apply to price balancing for non-custom shops. +* 1.4.8 + - New option: Mirror Scroll - to add the item to the starting inventory in non-doors modes (Thanks Telethar!) + - Customizer: Ability to customize shop prices and control money balancing. `money_balance` is a percentage betwen 0 and 100 that attempts to ensure you have that much percentage of money available for purchases. (100 is default, 0 essentially ignores money considerations) + - Fixed a key logic bug with decoupled doors when a big key door leads to a small key door (the small key door was missing appropriate logic) + - Fixed an ER bug where Bonk Fairy could be used for a mandatory connector in standard mode (boots could allow escape to be skipped) + - Fixed an issue with flute activation in rain mode. (thanks Codemann!) + - Fixed an issue with enemies in TR Dark Ride room not requiring Somaria. (Refactored the room for decoupled logic better) + - More HMG fixes by Muffins + - Fixed an issue with multi-player HMG + - Fixed an issue limiting number of items specified in the item pool on the GUI + - Minor documentation fixes (thanks Codemann!) * 1.4.7.2 - Fixed an issue with shuffle_ganon/fix_gtower_exit causing a generation failure - More HMG fixes by Muffins diff --git a/Main.py b/Main.py index be7f74ef..fa45699e 100644 --- a/Main.py +++ b/Main.py @@ -38,7 +38,7 @@ from source.enemizer.DamageTables import DamageTable from source.enemizer.Enemizer import randomize_enemies from source.rom.DataTables import init_data_tables -version_number = '1.4.8.1' +version_number = '1.4.9' version_branch = '-u' __version__ = f'{version_number}{version_branch}' diff --git a/RELEASENOTES.md b/RELEASENOTES.md index b912e4f6..04825999 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,17 +1,6 @@ # Patch Notes -* 1.4.8.1 - - Fixed broken doors generation - - Fixed bomb/arrow upgrade ignoring custom pricing - - Extended `money_balance` to apply to price balancing for non-custom shops. -* 1.4.8 - - New option: Mirror Scroll - to add the item to the starting inventory in non-doors modes (Thanks Telethar!) - - Customizer: Ability to customize shop prices and control money balancing. `money_balance` is a percentage betwen 0 and 100 that attempts to ensure you have that much percentage of money available for purchases. (100 is default, 0 essentially ignores money considerations) - - Fixed a key logic bug with decoupled doors when a big key door leads to a small key door (the small key door was missing appropriate logic) - - Fixed an ER bug where Bonk Fairy could be used for a mandatory connector in standard mode (boots could allow escape to be skipped) - - Fixed an issue with flute activation in rain mode. (thanks Codemann!) - - Fixed an issue with enemies in TR Dark Ride room not requiring Somaria. (Refactored the room for decoupled logic better) - - More HMG fixes by Muffins - - Fixed an issue with multi-player HMG - - Fixed an issue limiting number of items specified in the item pool on the GUI - - Minor documentation fixes (thanks Codemann!) +* 1.4.9 + * Mirror scroll will show up on file start screen if enabled (thanks Clearmouse!) + * Fixes for HMG by Muffins + * Vanilla door shuffle prevents big key doors changes from door_type_mode diff --git a/Rom.py b/Rom.py index 984ac066..04b08fb2 100644 --- a/Rom.py +++ b/Rom.py @@ -583,7 +583,7 @@ def patch_rom(world, rom, player, team, is_mystery=False): dr_flags |= DROptions.DarkWorld_Spawns # no longer experimental if world.logic[player] not in ['owglitches', 'hybridglitches', 'nologic']: dr_flags |= DROptions.Fix_EG - if world.door_type_mode[player] in ['big', 'all', 'chaos']: + if world.door_type_mode[player] in ['big', 'all', 'chaos'] and world.doorShuffle[player] != 'vanilla': dr_flags |= DROptions.BigKeyDoor_Shuffle if world.dropshuffle[player] in ['underworld']: dr_flags |= DROptions.EnemyDropIndicator From 58baa412f5cabef6ff61b353175977ed6c9a3c67 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Thu, 27 Mar 2025 02:28:03 -0500 Subject: [PATCH 07/26] Fix extra junk added to pool for some prize shuffles --- ItemList.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ItemList.py b/ItemList.py index 3c879c9f..788ecb48 100644 --- a/ItemList.py +++ b/ItemList.py @@ -459,7 +459,8 @@ def generate_itempool(world, player): world.itempool = [beemizer(item) for item in world.itempool] # increase pool if not enough items - ttl_locations = sum(1 for x in world.get_unfilled_locations(player) if world.prizeshuffle[player] != 'none' or not x.prize) + ttl_locations = sum(1 for x in world.get_unfilled_locations(player) if not x.prize and not x.event) + ttl_locations -= 10 if world.prize_shuffle[player] in ['dungeon', 'nearby'] else 0 # TODO: Fix item pool to include prizes for these modes pool_size = count_player_dungeon_item_pool(world, player) pool_size += sum(1 for x in world.itempool if x.player == player) From fad9c06b056656612fcffb61f53ba9be5dd8d217 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Sat, 5 Apr 2025 07:34:56 -0500 Subject: [PATCH 08/26] Remove invalid OW IDs from sprite sheets --- source/enemizer/SpriteSheets.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source/enemizer/SpriteSheets.py b/source/enemizer/SpriteSheets.py index bb021088..08f3cdd8 100644 --- a/source/enemizer/SpriteSheets.py +++ b/source/enemizer/SpriteSheets.py @@ -701,17 +701,17 @@ def setup_required_overworld_groups(sheets): sheets[6].add_sprite_to_sheet([0x4F, 0x49, 0x4A, 0x50], {0x18, 0x22, 0x28, 0xA8, 0xB2, 0xB8}) sheets[8].add_sprite_to_sheet([None, None, 18, None], {0x30, 0xC0}) # Desert (pre/post-Aga) sheets[10].add_sprite_to_sheet([None, None, None, 17], {0x3A, 0xCA}) # M-rock (pre/post-Aga) - sheets[22].add_sprite_to_sheet([None, None, 24, None], {0x4F, 0xDF}) # Catfish (pre/post-Aga) - sheets[21].add_sprite_to_sheet([21, None, None, 21], {0x62, 0xF2}) # Smith DW (pre/post-Aga) - sheets[27].add_sprite_to_sheet([None, 42, None, None], {0x68, 0xF8}) # Dig Game (pre/post-Aga) + sheets[22].add_sprite_to_sheet([None, None, 24, None], {0x4F}) # Catfish + sheets[21].add_sprite_to_sheet([21, None, None, 21], {0x62}) # Smith DW + sheets[27].add_sprite_to_sheet([None, 42, None, None], {0x68}) # Dig Game sheets[13].add_sprite_to_sheet([None, None, 76, None], {0x16, 0xA6}) # Witch hut (pre/post-Aga) - sheets[29].add_sprite_to_sheet([None, 77, None, 21], {0x69, 0xF9}) # VoO South (pre/post-Aga) + sheets[29].add_sprite_to_sheet([None, 77, None, 21], {0x69}) # VoO South sheets[15].add_sprite_to_sheet([None, None, 78, None], {0x2A, 0xBA}) # Haunted Grove (pre/post-Aga) - sheets[17].add_sprite_to_sheet([None, None, None, 76], {0x6A, 0xFA}) # Stumpy (pre/post-Aga) - sheets[12].add_sprite_to_sheet([None, None, 55, 54], {0x80, 0x110}) # Specials (pre/post-Aga) - sheets[14].add_sprite_to_sheet([None, None, 12, 68], {0x81, 0x111}) # Zora's Domain (pre/post-Aga) + sheets[17].add_sprite_to_sheet([None, None, None, 76], {0x6A}) # Stumpy + sheets[12].add_sprite_to_sheet([None, None, 55, 54], {0x80}) # Specials + sheets[14].add_sprite_to_sheet([None, None, 12, 68], {0x81}) # Zora's Domain sheets[26].add_sprite_to_sheet([15, None, None, None], {0x92}) # Lumberjacks post-Aga - sheets[23].add_sprite_to_sheet([None, None, None, 25], {0x5E, 0xEE}) # PoD pre/post-Aga + sheets[23].add_sprite_to_sheet([None, None, None, 25], {0x5E}) # PoD free_sheet_reqs = [ [None, None, None, 0x14], # bully+pink ball needs this From 4b02a2d5a2c7a4eb42815acc8937eab60ba6ca48 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Sat, 5 Apr 2025 08:00:09 -0500 Subject: [PATCH 09/26] Remove unused subgroups and consolidate purple chest/frog sprite sheets --- source/enemizer/SpriteSheets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/enemizer/SpriteSheets.py b/source/enemizer/SpriteSheets.py index 08f3cdd8..e2342993 100644 --- a/source/enemizer/SpriteSheets.py +++ b/source/enemizer/SpriteSheets.py @@ -702,10 +702,10 @@ def setup_required_overworld_groups(sheets): sheets[8].add_sprite_to_sheet([None, None, 18, None], {0x30, 0xC0}) # Desert (pre/post-Aga) sheets[10].add_sprite_to_sheet([None, None, None, 17], {0x3A, 0xCA}) # M-rock (pre/post-Aga) sheets[22].add_sprite_to_sheet([None, None, 24, None], {0x4F}) # Catfish - sheets[21].add_sprite_to_sheet([21, None, None, 21], {0x62}) # Smith DW + sheets[21].add_sprite_to_sheet([None, None, None, 21], {0x62, 0x69}) # Smith DW/VoO South sheets[27].add_sprite_to_sheet([None, 42, None, None], {0x68}) # Dig Game sheets[13].add_sprite_to_sheet([None, None, 76, None], {0x16, 0xA6}) # Witch hut (pre/post-Aga) - sheets[29].add_sprite_to_sheet([None, 77, None, 21], {0x69}) # VoO South + #sheets[29].add_sprite_to_sheet([None, 77, None, 21], {0x69}) # VoO South sheets[15].add_sprite_to_sheet([None, None, 78, None], {0x2A, 0xBA}) # Haunted Grove (pre/post-Aga) sheets[17].add_sprite_to_sheet([None, None, None, 76], {0x6A}) # Stumpy sheets[12].add_sprite_to_sheet([None, None, 55, 54], {0x80}) # Specials From b6ea50584381abd87e25b7fb2f9f594bee849ac9 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Sat, 5 Apr 2025 08:00:40 -0500 Subject: [PATCH 10/26] Fix bat crash sprite gfx in enemizer --- source/enemizer/SpriteSheets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source/enemizer/SpriteSheets.py b/source/enemizer/SpriteSheets.py index e2342993..08f6152e 100644 --- a/source/enemizer/SpriteSheets.py +++ b/source/enemizer/SpriteSheets.py @@ -712,6 +712,7 @@ def setup_required_overworld_groups(sheets): sheets[14].add_sprite_to_sheet([None, None, 12, 68], {0x81}) # Zora's Domain sheets[26].add_sprite_to_sheet([15, None, None, None], {0x92}) # Lumberjacks post-Aga sheets[23].add_sprite_to_sheet([None, None, None, 25], {0x5E}) # PoD + sheets[19].add_sprite_to_sheet([None, 26, None, None], {0x5B}) # Pyramid post-Aga2 bat crash free_sheet_reqs = [ [None, None, None, 0x14], # bully+pink ball needs this From 9d0404af3947cf3fa3d9f6ee5a56e8a536a2f887 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Sat, 5 Apr 2025 08:02:30 -0500 Subject: [PATCH 11/26] Fix swamp drain gfx in enemizer --- source/enemizer/SpriteSheets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/enemizer/SpriteSheets.py b/source/enemizer/SpriteSheets.py index 08f6152e..1a4cbec6 100644 --- a/source/enemizer/SpriteSheets.py +++ b/source/enemizer/SpriteSheets.py @@ -550,7 +550,7 @@ def setup_required_dungeon_groups(sheets, data_tables): ([None, 77, None, 21], [0x121]), # smithy ([None, None, None, 80], [0x108]), # chicken house ([14, 30, None, None], [0x123]), # mini moldorm (shutter door) - ([None, None, 34, None], [0x36, 0x46, 0x66, 0x76]), # pirogusu spawners + ([None, None, 34, None], [0x36, 0x46, 0x66]), # pirogusu spawners ([None, 32, None, None], [0x9f]), # babasu spawners ([31, None, None, None], [0x7f]), # force baris ([None, None, 35, None], [0x39, 0x49]), # wallmasters @@ -570,7 +570,7 @@ def setup_required_dungeon_groups(sheets, data_tables): ([None, None, (28, 36), 82], [0x2, 0x64]), # pull switches (snakes) ([None, None, None, 82], [0x1a, 0x3d, 0x44, 0x5e, 0x7c, 0x95, 0xc3]), # collapsing bridges ([None, None, None, 83], [0x3f, 0xce]), # pull tongue - ([None, None, None, 83], [0x35, 0x37, 0x76]), # swamp drains + ([None, None, None, 83], [0x35, 0x37]), # swamp drains ([None, None, 34, None], [0x28]), # tektike forced? - spawn chest ([None, None, 37, None], [0x97]), # wizzrobe spawner - in middle of room... From f365267201cb9466186402bc1740e3c51e8e41f2 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Sat, 5 Apr 2025 08:03:23 -0500 Subject: [PATCH 12/26] Fix paradox cave and kakariko shop gfx in enemizer --- source/enemizer/SpriteSheets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/enemizer/SpriteSheets.py b/source/enemizer/SpriteSheets.py index 1a4cbec6..2eec5781 100644 --- a/source/enemizer/SpriteSheets.py +++ b/source/enemizer/SpriteSheets.py @@ -527,7 +527,7 @@ def setup_required_dungeon_groups(sheets, data_tables): sheets[did(1)].add_sprite_to_sheet([70, 73, 28, 82], {0xe4, 0xf0}) # old man # various npcs - sheets[did(5)].add_sprite_to_sheet([75, 77, 74, 90], {0xf3, 0x109, 0x10e, 0x10f, 0x110, 0x111, 0x112, + sheets[did(5)].add_sprite_to_sheet([75, 77, 74, 90], {0xf3, 0xff, 0x109, 0x10e, 0x10f, 0x110, 0x111, 0x112, 0x11a, 0x11c, 0x11f, 0x122}) sheets[did(7)].add_sprite_to_sheet([75, 77, 57, 54], {0x8, 0x2c, 0x114, 0x115, 0x116}) # big fairies sheets[did(13)].add_sprite_to_sheet([81, None, None, None], {0x55, 0x102, 0x104}) # uncle, sick kid @@ -546,7 +546,6 @@ def setup_required_dungeon_groups(sheets, data_tables): # not sure 31 is needed above free_sheet_reqs = [ - ([75, None, None, None], [0xff, 0x11f]), # shopkeepers ([None, 77, None, 21], [0x121]), # smithy ([None, None, None, 80], [0x108]), # chicken house ([14, 30, None, None], [0x123]), # mini moldorm (shutter door) From 5c5e5e5428a9383bed0db43b29d2abe54ef1adfa Mon Sep 17 00:00:00 2001 From: codemann8 Date: Sat, 5 Apr 2025 08:04:50 -0500 Subject: [PATCH 13/26] Freeing up unnecessary sprite sheet subgroups for old man screens --- source/enemizer/SpriteSheets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/enemizer/SpriteSheets.py b/source/enemizer/SpriteSheets.py index 2eec5781..15b339b9 100644 --- a/source/enemizer/SpriteSheets.py +++ b/source/enemizer/SpriteSheets.py @@ -325,7 +325,7 @@ def init_sprite_requirements(): SpriteRequirement(EnemySprite.BlueZirro).no_drop().sub_group(3, 0x1b).exclude(NoFlyingRooms), SpriteRequirement(EnemySprite.Pikit).sub_group(3, 0x1b), SpriteRequirement(EnemySprite.CrystalMaiden).affix(), - SpriteRequirement(EnemySprite.OldMan).affix().sub_group(0, 0x46).sub_group(1, 0x49).sub_group(2, 0x1c), + SpriteRequirement(EnemySprite.OldMan).affix().sub_group(2, 0x1c), SpriteRequirement(EnemySprite.PipeDown).affix(), SpriteRequirement(EnemySprite.PipeUp).affix(), SpriteRequirement(EnemySprite.PipeRight).affix(), @@ -525,7 +525,7 @@ def init_sprite_sheets(requirements): def setup_required_dungeon_groups(sheets, data_tables): - sheets[did(1)].add_sprite_to_sheet([70, 73, 28, 82], {0xe4, 0xf0}) # old man + sheets[did(1)].add_sprite_to_sheet([None, None, 28, None], {0xe4, 0xf0}) # old man # various npcs sheets[did(5)].add_sprite_to_sheet([75, 77, 74, 90], {0xf3, 0xff, 0x109, 0x10e, 0x10f, 0x110, 0x111, 0x112, 0x11a, 0x11c, 0x11f, 0x122}) From d423193aa6bc531bba437af7e7c77ece09372b0f Mon Sep 17 00:00:00 2001 From: codemann8 Date: Sat, 5 Apr 2025 08:10:32 -0500 Subject: [PATCH 14/26] Remove unnecessary sprite sheet subgroup for somaria platforms --- source/enemizer/SpriteSheets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/enemizer/SpriteSheets.py b/source/enemizer/SpriteSheets.py index 15b339b9..e59dd8ae 100644 --- a/source/enemizer/SpriteSheets.py +++ b/source/enemizer/SpriteSheets.py @@ -542,8 +542,7 @@ def setup_required_dungeon_groups(sheets, data_tables): sheets[did(3)].add_sprite_to_sheet([93, None, None, None], {0x51}) # mantle sheets[did(42)].add_sprite_to_sheet([21, None, None, None], {0x11e}) # hype cave sheets[did(10)].add_sprite_to_sheet([47, None, 46, None], {0x5c, 0x75, 0xb9, 0xd9}) # cannonballs - sheets[did(37)].add_sprite_to_sheet([31, None, 39, 82], {0x24, 0xb4, 0xb5, 0xc6, 0xc7, 0xd6}) # somaria platforms - # not sure 31 is needed above + sheets[did(37)].add_sprite_to_sheet([None, None, 39, 82], {0x24, 0xb4, 0xb5, 0xc6, 0xc7, 0xd6}) # somaria platforms free_sheet_reqs = [ ([None, 77, None, 21], [0x121]), # smithy From 813caa894ef0083132b5be85e6c76b9cd82fdf45 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Sat, 5 Apr 2025 08:12:30 -0500 Subject: [PATCH 15/26] Fixed enemizer sprite gfx for soldier enemies falling down pits --- source/enemizer/SpriteSheets.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/source/enemizer/SpriteSheets.py b/source/enemizer/SpriteSheets.py index e59dd8ae..3dd8cb29 100644 --- a/source/enemizer/SpriteSheets.py +++ b/source/enemizer/SpriteSheets.py @@ -123,6 +123,9 @@ LenientTrapsForTesting = {0x16, 0x26, 0x3f, 0x40, 0x42, 0x46, 0x49, 0x4e, 0x57, 0x65, 0x6a, 0x74, 0x76, 0x7d, 0x98, 0x9e, 0xaf, 0xba, 0xc6, 0xcb, 0xce, 0xd2, 0xd5, 0xd8, 0xdf, 0xe4, 0xe7, 0xee, 0xfd, 0x10c} +PitRooms = {0x17, 0x1a, 0x2a, 0x31, 0x3c, 0x3d, 0x40, 0x44, 0x49, 0x4e, 0x56, 0x58, 0x5c, 0x67, 0x72, + 0x7b, 0x7c, 0x7d, 0x7f, 0x82, 0x8b, 0x8d, 0x95, 0x96, 0x9b, 0x9c, 0x9d, 0x9e, 0xa0, 0xa5, + 0xaf, 0xbc, 0xc0, 0xc5, 0xc6, 0xd1, 0xd5, 0xe7, 0xe8, 0xee, 0xf0, 0xf1, 0xfb, 0x123} # wallmasters must not be on tiles near spiral staircases. Unknown if other stairs have issues WallmasterInvalidRooms = { @@ -222,9 +225,12 @@ def init_sprite_requirements(): SpriteRequirement(EnemySprite.Hoarder2).sub_group(3, 0x11).exclude({0x10c}), SpriteRequirement(EnemySprite.TutorialGuard).affix(), SpriteRequirement(EnemySprite.LightningGate).affix().sub_group(3, 0x3f), - SpriteRequirement(EnemySprite.BlueGuard).aquaphobia().sub_group(1, [0xd, 0x49]), - SpriteRequirement(EnemySprite.GreenGuard).aquaphobia().sub_group(1, 0x49), - SpriteRequirement(EnemySprite.RedSpearGuard).aquaphobia().sub_group(1, [0xd, 0x49]), + SpriteRequirement(EnemySprite.BlueGuard).aquaphobia().sub_group(1, [0xd, 0x49]).exclude(PitRooms), + SpriteRequirement(EnemySprite.BlueGuard).aquaphobia().sub_group(1, [0xd, 0x49]).sub_group(2, [0x29, 0x13]), + SpriteRequirement(EnemySprite.GreenGuard).aquaphobia().sub_group(1, 0x49).exclude(PitRooms), + SpriteRequirement(EnemySprite.GreenGuard).aquaphobia().sub_group(1, 0x49).sub_group(2, 0x13), + SpriteRequirement(EnemySprite.RedSpearGuard).aquaphobia().sub_group(1, [0xd, 0x49]).exclude(PitRooms), + SpriteRequirement(EnemySprite.RedSpearGuard).aquaphobia().sub_group(1, [0xd, 0x49]).sub_group(2, [0x29, 0x13]), SpriteRequirement(EnemySprite.BluesainBolt).aquaphobia().sub_group(0, 0x46).sub_group(1, [0xd, 0x49]), SpriteRequirement(EnemySprite.UsainBolt).aquaphobia().sub_group(1, [0xd, 0x49]), SpriteRequirement(EnemySprite.BlueArcher).sub_group(0, 0x48).sub_group(1, 0x49), From 65f84a1c55806a2b67d24f7bc28e24ea66a2d319 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 16 Apr 2025 01:01:27 -0500 Subject: [PATCH 16/26] Added documentation for little-known start_inventory items --- docs/Customizer.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/Customizer.md b/docs/Customizer.md index 5173fccb..e7c5738c 100644 --- a/docs/Customizer.md +++ b/docs/Customizer.md @@ -289,6 +289,12 @@ start_inventory: To start with multiple copies of progressive items, list them more than once. +There are some additional non-standard keywords available that can be added as starting inventory: + +* `RandomWeapon` - This grants the player with the same random weapon options that Uncle gives in standard starts, including ammo for that weapon. +* `Beat Agahnim 1` - This enables post-Agahnim world state by default and flags Agahnim 1 as defeated. +* `Return Old Man` - This enables the Mountain Cave starting location by default. This also removes one item location from the game. + ##### Known Issue This conflicts with the mystery yaml, if specified. These start inventory items will be added after those are added. From bce49b9e76eea2ca9f60295689bb7c928572fd7f Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 16 Apr 2025 01:18:58 -0500 Subject: [PATCH 17/26] Minor documentation and error fixes --- InitialSram.py | 2 +- ItemList.py | 2 +- README.md | 10 ++++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/InitialSram.py b/InitialSram.py index 7fbb0b3b..0aa25bc2 100644 --- a/InitialSram.py +++ b/InitialSram.py @@ -124,7 +124,7 @@ class InitialSram: if startingstate.has('Beat Agahnim 1', player): self.pre_open_lumberjack() if world.mode[player] == 'standard': - self.set_progress_indicator(0x80) # todo: probably missing some code rom side for this + self.set_progress_indicator(0x80) else: self.set_progress_indicator(0x03) diff --git a/ItemList.py b/ItemList.py index 788ecb48..45c1df2d 100644 --- a/ItemList.py +++ b/ItemList.py @@ -460,7 +460,7 @@ def generate_itempool(world, player): # increase pool if not enough items ttl_locations = sum(1 for x in world.get_unfilled_locations(player) if not x.prize and not x.event) - ttl_locations -= 10 if world.prize_shuffle[player] in ['dungeon', 'nearby'] else 0 # TODO: Fix item pool to include prizes for these modes + ttl_locations -= 10 if world.prizeshuffle[player] in ['dungeon', 'nearby'] else 0 # TODO: Fix item pool to include prizes for these modes pool_size = count_player_dungeon_item_pool(world, player) pool_size += sum(1 for x in world.itempool if x.player == player) diff --git a/README.md b/README.md index a332ce01..707b7b75 100644 --- a/README.md +++ b/README.md @@ -272,7 +272,7 @@ As far as map trackers, Bonk Locations are supported on `CodeTracker` when the B This is a new option in addition to the traditional wild vs non-wild (keysanity/non-keysanity) options for all the dungeon item types (maps, compasses, small keys, big keys, prizes). This new option shuffles dungeon items into locations somewhere either within the dungeon that it is assigned to or within the surrounding district of that dungeon. -## Prize Shuffle +## Prize Shuffle (--prizeshuffle) A new option has been added to shuffle the 10 dungeon prizes in ways that they haven't been shuffled before. This means that dungeon prizes can be found in other item locations, such as chests or free-standing item locations. This also means that bosses are able to drop a 2nd item in place of the shuffled prize. @@ -292,7 +292,7 @@ This option shuffles the prize into a location somewhere either within the dunge This option freely shuffles the prizes throughout the world. While the dungeon prizes can end up anywhere, they still are assigned to a specific dungeon. When you defeat the boss of a certain dungeon, checking the map on the overworld will reveal the location WHERE you can find the prize, an example shown [here](https://zelda.codemann8.com/images/shared/prizemap-all.gif). Finding the map will still reveal WHAT the prize is. If you defeated a boss but haven't collected the map for that dungeon, the prize will be indicated by a red X, example shown [here](https://zelda.codemann8.com/images/shared/prizemap-boss.gif). If you collected a map but haven't defeated the boss yet, the icon indicator on the map will be shown on the top edge (for LW dungeons) or the bottom edge (for DW dungeons), but it will show you WHAT the prize is for that dungeon, an example of that is shown [here](https://zelda.codemann8.com/images/shared/prizemap-map.gif). -- It is important to note that the overworld map check has changed: the numbered icons that are displayed are NO LONGER indicating the crystal number like they have in the past. They are now indicating the dungeon that it belongs to; a blue 1-3 indicates the 3 LW dungeons (EP, DP, and ToH) and a red 1-7 indicate the 7 DW dungeons +- It is important to note that the overworld map check has changed: the numbered icons that are displayed are NO LONGER indicating the crystal number like they have in the past. They are now indicating the dungeon that it belongs to; a blue E/D/T indicates the 3 LW dungeons (EP, DP, and ToH) and a red 1-7 indicate the 7 DW dungeons ## New Goal Options (--goal) @@ -408,3 +408,9 @@ For randomizing the flute spots around the overworld ``` This extends the item pool to bonk locations and makes them additional item locations + +``` +--prizeshuffle +``` + +This allows prizes (crystals/pendants) to shuffle outside their usual boss location. From 63f39c5c0580b6d53707c9523d5010cd3cee9c08 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 16 Apr 2025 01:19:51 -0500 Subject: [PATCH 18/26] Possibly fix false positive error message for python package requirements --- source/meta/check_requirements.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/meta/check_requirements.py b/source/meta/check_requirements.py index 6976f707..4a93be72 100644 --- a/source/meta/check_requirements.py +++ b/source/meta/check_requirements.py @@ -11,8 +11,9 @@ def check_requirements(console=False): 'pyyaml': 'yaml'} missing = [] for package, import_name in check_packages.items(): - spec = importlib.util.find_spec(import_name) - if spec is None: + try: + __import__(import_name) + except ImportError: missing.append(package) if len(missing) > 0: packages = ','.join(missing) From 267552bfeed139ede754815dd078a9a7b4fa2aa1 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 16 Apr 2025 01:24:59 -0500 Subject: [PATCH 19/26] Improved Retro button in GUI --- resources/app/gui/lang/en.json | 2 +- resources/app/gui/randomize/item/widgets.json | 17 ++++---- source/gui/bottom.py | 2 +- source/gui/randomize/item.py | 40 +++++++++++++++++-- 4 files changed, 47 insertions(+), 14 deletions(-) diff --git a/resources/app/gui/lang/en.json b/resources/app/gui/lang/en.json index bf4dfa93..8affe105 100644 --- a/resources/app/gui/lang/en.json +++ b/resources/app/gui/lang/en.json @@ -294,7 +294,7 @@ "randomizer.item.worldstate.open": "Open", "randomizer.item.worldstate.inverted": "Inverted", "randomizer.item.worldstate.retro": "Retro", - "randomizer.item.retro": "Enable Retro", + "randomizer.item.retro": "Retro", "randomizer.item.logiclevel": "Logic Level", "randomizer.item.logiclevel.noglitches": "No Glitches", diff --git a/resources/app/gui/randomize/item/widgets.json b/resources/app/gui/randomize/item/widgets.json index 8531cf75..402fde7c 100644 --- a/resources/app/gui/randomize/item/widgets.json +++ b/resources/app/gui/randomize/item/widgets.json @@ -6,7 +6,7 @@ "collection_rate": {"type": "checkbox"}, "race": { "type": "checkbox" } }, - "leftItemFrame": { + "worldstateFrame": { "worldstate": { "type": "selectbox", "default": "open", @@ -14,8 +14,13 @@ "standard", "open", "inverted" - ] - }, + ], + "config": { + "width": 13 + } + } + }, + "leftItemFrame": { "logiclevel": { "type": "selectbox", "options": [ @@ -64,12 +69,6 @@ } }, "rightItemFrame": { - "retro": { - "type": "button", - "config": { - "command": "retro" - } - }, "sortingalgo": { "type": "selectbox", "default": "balanced", diff --git a/source/gui/bottom.py b/source/gui/bottom.py index 1cd99e0a..7faf3402 100644 --- a/source/gui/bottom.py +++ b/source/gui/bottom.py @@ -272,7 +272,7 @@ def create_guiargs(parent): arg = options[mainpage][subpage][widget] if subpage != "" else options[mainpage][widget] page = parent.pages[mainpage].pages[subpage] if subpage != "" else parent.pages[mainpage] pagewidgets = page.content.customWidgets if mainpage == "custom" else page.content.startingWidgets if mainpage == "startinventory" else page.widgets - if hasattr(pagewidgets[widget], 'storageVar'): + if widget in pagewidgets and hasattr(pagewidgets[widget], 'storageVar'): setattr(guiargs, arg, pagewidgets[widget].storageVar.get()) # Get Multiworld Worlds count diff --git a/source/gui/randomize/item.py b/source/gui/randomize/item.py index 63a96997..bdb47747 100644 --- a/source/gui/randomize/item.py +++ b/source/gui/randomize/item.py @@ -1,5 +1,6 @@ -from tkinter import ttk, font, Frame, E, W, NW, TOP, LEFT, RIGHT, Y, Label +from tkinter import messagebox, ttk, font, Button, Frame, E, W, TOP, LEFT, RIGHT, X, Y, Label import source.gui.widgets as widgets +from source.classes.Empty import Empty import json import os @@ -28,6 +29,16 @@ def item_page(parent): self.frames["leftItemFrame"] = Frame(self.frames["mainFrame"]) self.frames["leftItemFrame"].pack(side=LEFT) + self.frames["worldstateFrame"] = Frame(self.frames["leftItemFrame"]) + self.frames["worldstateFrame"].pack(side=TOP, fill=X) + + ## Retro Button + widget = Empty() + widget.pieces = {} + widget.type = "button" + widget.pieces["button"] = Button(self.frames["worldstateFrame"], text="Retro", command=lambda: retro(widget)) + widget.pieces["button"].pack(side=RIGHT, padx=(1, 2)) + self.frames["rightItemFrame"] = Frame(self.frames["mainFrame"]) self.frames["rightItemFrame"].pack(side=RIGHT) @@ -65,8 +76,6 @@ def item_page(parent): for key in dictWidgets: self.widgets[key] = dictWidgets[key] packAttrs = {"anchor":E} - if key == "retro": - packAttrs["side"] = RIGHT if self.widgets[key].type == "checkbox" or framename.startswith("leftPoolFrame"): packAttrs["anchor"] = W if framename == "checkboxes": @@ -75,7 +84,32 @@ def item_page(parent): elif framename == "leftPoolHeader": packAttrs["side"] = LEFT packAttrs["padx"] = (0, 20) + elif framename == "rightItemFrame" and self.widgets[key].type == "checkbox": + packAttrs["side"] = LEFT + packAttrs["padx"] = (118, 0) packAttrs = widgets.add_padding_from_config(packAttrs, theseWidgets[key]) self.widgets[key].pack(packAttrs) return self + +def retro(baseWidget): + widget = baseWidget.pieces['button'] + root = widget.winfo_toplevel() + text_output = "" + temp_widget = root.pages["randomizer"].pages["dungeon"].widgets["smallkeyshuffle"] + text_output += f'\n {temp_widget.label.cget("text")}' + temp_widget.storageVar.set('universal') + + temp_widget = root.pages["randomizer"].pages["item"].widgets["bow_mode"] + text_output += f'\n {temp_widget.label.cget("text")}' + if temp_widget.storageVar.get() == 'progressive': + temp_widget.storageVar.set('retro') + elif temp_widget.storageVar.get() == 'silvers': + temp_widget.storageVar.set('retro_silvers') + + temp_widget = root.pages["randomizer"].pages["item"].widgets["take_any"] + text_output += f'\n {temp_widget.label.cget("text")}' + if temp_widget.storageVar.get() == 'none': + temp_widget.storageVar.set('random') + + messagebox.showinfo('', f'The following settings were changed:{text_output}') From fe0cfe8b3aac9b27a41f1a8276432bef34fa6147 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Sat, 5 Apr 2025 07:34:56 -0500 Subject: [PATCH 20/26] fix: various Enemizer fixes Fixed enemizer sprite gfx for soldier enemies falling down pits Remove unnecessary sprite sheet subgroup for somaria platforms Freeing up unnecessary sprite sheet subgroups for old man screens Fix paradox cave and kakariko shop gfx in enemizer Fix swamp drain gfx in enemizer Fix bat crash sprite gfx in enemizer Remove unused subgroups and consolidate purple chest/frog sprite sheets Remove invalid OW IDs from sprite sheets --- RELEASENOTES.md | 1 + source/enemizer/SpriteSheets.py | 43 ++++++++++++++++++--------------- 2 files changed, 25 insertions(+), 19 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 04825999..02cfeef6 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -3,4 +3,5 @@ * 1.4.9 * Mirror scroll will show up on file start screen if enabled (thanks Clearmouse!) * Fixes for HMG by Muffins + * Various fixes for Enemizer by Codemann (gfx fixes, more randomization options) * Vanilla door shuffle prevents big key doors changes from door_type_mode diff --git a/source/enemizer/SpriteSheets.py b/source/enemizer/SpriteSheets.py index bb021088..3dd8cb29 100644 --- a/source/enemizer/SpriteSheets.py +++ b/source/enemizer/SpriteSheets.py @@ -123,6 +123,9 @@ LenientTrapsForTesting = {0x16, 0x26, 0x3f, 0x40, 0x42, 0x46, 0x49, 0x4e, 0x57, 0x65, 0x6a, 0x74, 0x76, 0x7d, 0x98, 0x9e, 0xaf, 0xba, 0xc6, 0xcb, 0xce, 0xd2, 0xd5, 0xd8, 0xdf, 0xe4, 0xe7, 0xee, 0xfd, 0x10c} +PitRooms = {0x17, 0x1a, 0x2a, 0x31, 0x3c, 0x3d, 0x40, 0x44, 0x49, 0x4e, 0x56, 0x58, 0x5c, 0x67, 0x72, + 0x7b, 0x7c, 0x7d, 0x7f, 0x82, 0x8b, 0x8d, 0x95, 0x96, 0x9b, 0x9c, 0x9d, 0x9e, 0xa0, 0xa5, + 0xaf, 0xbc, 0xc0, 0xc5, 0xc6, 0xd1, 0xd5, 0xe7, 0xe8, 0xee, 0xf0, 0xf1, 0xfb, 0x123} # wallmasters must not be on tiles near spiral staircases. Unknown if other stairs have issues WallmasterInvalidRooms = { @@ -222,9 +225,12 @@ def init_sprite_requirements(): SpriteRequirement(EnemySprite.Hoarder2).sub_group(3, 0x11).exclude({0x10c}), SpriteRequirement(EnemySprite.TutorialGuard).affix(), SpriteRequirement(EnemySprite.LightningGate).affix().sub_group(3, 0x3f), - SpriteRequirement(EnemySprite.BlueGuard).aquaphobia().sub_group(1, [0xd, 0x49]), - SpriteRequirement(EnemySprite.GreenGuard).aquaphobia().sub_group(1, 0x49), - SpriteRequirement(EnemySprite.RedSpearGuard).aquaphobia().sub_group(1, [0xd, 0x49]), + SpriteRequirement(EnemySprite.BlueGuard).aquaphobia().sub_group(1, [0xd, 0x49]).exclude(PitRooms), + SpriteRequirement(EnemySprite.BlueGuard).aquaphobia().sub_group(1, [0xd, 0x49]).sub_group(2, [0x29, 0x13]), + SpriteRequirement(EnemySprite.GreenGuard).aquaphobia().sub_group(1, 0x49).exclude(PitRooms), + SpriteRequirement(EnemySprite.GreenGuard).aquaphobia().sub_group(1, 0x49).sub_group(2, 0x13), + SpriteRequirement(EnemySprite.RedSpearGuard).aquaphobia().sub_group(1, [0xd, 0x49]).exclude(PitRooms), + SpriteRequirement(EnemySprite.RedSpearGuard).aquaphobia().sub_group(1, [0xd, 0x49]).sub_group(2, [0x29, 0x13]), SpriteRequirement(EnemySprite.BluesainBolt).aquaphobia().sub_group(0, 0x46).sub_group(1, [0xd, 0x49]), SpriteRequirement(EnemySprite.UsainBolt).aquaphobia().sub_group(1, [0xd, 0x49]), SpriteRequirement(EnemySprite.BlueArcher).sub_group(0, 0x48).sub_group(1, 0x49), @@ -325,7 +331,7 @@ def init_sprite_requirements(): SpriteRequirement(EnemySprite.BlueZirro).no_drop().sub_group(3, 0x1b).exclude(NoFlyingRooms), SpriteRequirement(EnemySprite.Pikit).sub_group(3, 0x1b), SpriteRequirement(EnemySprite.CrystalMaiden).affix(), - SpriteRequirement(EnemySprite.OldMan).affix().sub_group(0, 0x46).sub_group(1, 0x49).sub_group(2, 0x1c), + SpriteRequirement(EnemySprite.OldMan).affix().sub_group(2, 0x1c), SpriteRequirement(EnemySprite.PipeDown).affix(), SpriteRequirement(EnemySprite.PipeUp).affix(), SpriteRequirement(EnemySprite.PipeRight).affix(), @@ -525,9 +531,9 @@ def init_sprite_sheets(requirements): def setup_required_dungeon_groups(sheets, data_tables): - sheets[did(1)].add_sprite_to_sheet([70, 73, 28, 82], {0xe4, 0xf0}) # old man + sheets[did(1)].add_sprite_to_sheet([None, None, 28, None], {0xe4, 0xf0}) # old man # various npcs - sheets[did(5)].add_sprite_to_sheet([75, 77, 74, 90], {0xf3, 0x109, 0x10e, 0x10f, 0x110, 0x111, 0x112, + sheets[did(5)].add_sprite_to_sheet([75, 77, 74, 90], {0xf3, 0xff, 0x109, 0x10e, 0x10f, 0x110, 0x111, 0x112, 0x11a, 0x11c, 0x11f, 0x122}) sheets[did(7)].add_sprite_to_sheet([75, 77, 57, 54], {0x8, 0x2c, 0x114, 0x115, 0x116}) # big fairies sheets[did(13)].add_sprite_to_sheet([81, None, None, None], {0x55, 0x102, 0x104}) # uncle, sick kid @@ -542,15 +548,13 @@ def setup_required_dungeon_groups(sheets, data_tables): sheets[did(3)].add_sprite_to_sheet([93, None, None, None], {0x51}) # mantle sheets[did(42)].add_sprite_to_sheet([21, None, None, None], {0x11e}) # hype cave sheets[did(10)].add_sprite_to_sheet([47, None, 46, None], {0x5c, 0x75, 0xb9, 0xd9}) # cannonballs - sheets[did(37)].add_sprite_to_sheet([31, None, 39, 82], {0x24, 0xb4, 0xb5, 0xc6, 0xc7, 0xd6}) # somaria platforms - # not sure 31 is needed above + sheets[did(37)].add_sprite_to_sheet([None, None, 39, 82], {0x24, 0xb4, 0xb5, 0xc6, 0xc7, 0xd6}) # somaria platforms free_sheet_reqs = [ - ([75, None, None, None], [0xff, 0x11f]), # shopkeepers ([None, 77, None, 21], [0x121]), # smithy ([None, None, None, 80], [0x108]), # chicken house ([14, 30, None, None], [0x123]), # mini moldorm (shutter door) - ([None, None, 34, None], [0x36, 0x46, 0x66, 0x76]), # pirogusu spawners + ([None, None, 34, None], [0x36, 0x46, 0x66]), # pirogusu spawners ([None, 32, None, None], [0x9f]), # babasu spawners ([31, None, None, None], [0x7f]), # force baris ([None, None, 35, None], [0x39, 0x49]), # wallmasters @@ -570,7 +574,7 @@ def setup_required_dungeon_groups(sheets, data_tables): ([None, None, (28, 36), 82], [0x2, 0x64]), # pull switches (snakes) ([None, None, None, 82], [0x1a, 0x3d, 0x44, 0x5e, 0x7c, 0x95, 0xc3]), # collapsing bridges ([None, None, None, 83], [0x3f, 0xce]), # pull tongue - ([None, None, None, 83], [0x35, 0x37, 0x76]), # swamp drains + ([None, None, None, 83], [0x35, 0x37]), # swamp drains ([None, None, 34, None], [0x28]), # tektike forced? - spawn chest ([None, None, 37, None], [0x97]), # wizzrobe spawner - in middle of room... @@ -701,17 +705,18 @@ def setup_required_overworld_groups(sheets): sheets[6].add_sprite_to_sheet([0x4F, 0x49, 0x4A, 0x50], {0x18, 0x22, 0x28, 0xA8, 0xB2, 0xB8}) sheets[8].add_sprite_to_sheet([None, None, 18, None], {0x30, 0xC0}) # Desert (pre/post-Aga) sheets[10].add_sprite_to_sheet([None, None, None, 17], {0x3A, 0xCA}) # M-rock (pre/post-Aga) - sheets[22].add_sprite_to_sheet([None, None, 24, None], {0x4F, 0xDF}) # Catfish (pre/post-Aga) - sheets[21].add_sprite_to_sheet([21, None, None, 21], {0x62, 0xF2}) # Smith DW (pre/post-Aga) - sheets[27].add_sprite_to_sheet([None, 42, None, None], {0x68, 0xF8}) # Dig Game (pre/post-Aga) + sheets[22].add_sprite_to_sheet([None, None, 24, None], {0x4F}) # Catfish + sheets[21].add_sprite_to_sheet([None, None, None, 21], {0x62, 0x69}) # Smith DW/VoO South + sheets[27].add_sprite_to_sheet([None, 42, None, None], {0x68}) # Dig Game sheets[13].add_sprite_to_sheet([None, None, 76, None], {0x16, 0xA6}) # Witch hut (pre/post-Aga) - sheets[29].add_sprite_to_sheet([None, 77, None, 21], {0x69, 0xF9}) # VoO South (pre/post-Aga) + #sheets[29].add_sprite_to_sheet([None, 77, None, 21], {0x69}) # VoO South sheets[15].add_sprite_to_sheet([None, None, 78, None], {0x2A, 0xBA}) # Haunted Grove (pre/post-Aga) - sheets[17].add_sprite_to_sheet([None, None, None, 76], {0x6A, 0xFA}) # Stumpy (pre/post-Aga) - sheets[12].add_sprite_to_sheet([None, None, 55, 54], {0x80, 0x110}) # Specials (pre/post-Aga) - sheets[14].add_sprite_to_sheet([None, None, 12, 68], {0x81, 0x111}) # Zora's Domain (pre/post-Aga) + sheets[17].add_sprite_to_sheet([None, None, None, 76], {0x6A}) # Stumpy + sheets[12].add_sprite_to_sheet([None, None, 55, 54], {0x80}) # Specials + sheets[14].add_sprite_to_sheet([None, None, 12, 68], {0x81}) # Zora's Domain sheets[26].add_sprite_to_sheet([15, None, None, None], {0x92}) # Lumberjacks post-Aga - sheets[23].add_sprite_to_sheet([None, None, None, 25], {0x5E, 0xEE}) # PoD pre/post-Aga + sheets[23].add_sprite_to_sheet([None, None, None, 25], {0x5E}) # PoD + sheets[19].add_sprite_to_sheet([None, 26, None, None], {0x5B}) # Pyramid post-Aga2 bat crash free_sheet_reqs = [ [None, None, None, 0x14], # bully+pink ball needs this From 2c1ecd70ff101efc86138162a0f048e508e6d945 Mon Sep 17 00:00:00 2001 From: aerinon Date: Fri, 18 Apr 2025 12:51:00 -0600 Subject: [PATCH 21/26] fix: various Enemizer fixes --- RELEASENOTES.md | 1 + source/enemizer/enemy_deny.yaml | 58 ++++++++++++++++++--------------- 2 files changed, 32 insertions(+), 27 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 02cfeef6..3fbbb257 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -5,3 +5,4 @@ * Fixes for HMG by Muffins * Various fixes for Enemizer by Codemann (gfx fixes, more randomization options) * Vanilla door shuffle prevents big key doors changes from door_type_mode + * Various enemizer bans for blocked paths (thanks to all the reports, Q1 2025) diff --git a/source/enemizer/enemy_deny.yaml b/source/enemizer/enemy_deny.yaml index 069bb668..ea92264d 100644 --- a/source/enemizer/enemy_deny.yaml +++ b/source/enemizer/enemy_deny.yaml @@ -31,8 +31,8 @@ UwGeneralDeny: - [ 0x001a, 7, [ "RollerHorizontalRight", "RollerHorizontalLeft" ]] # Too long - [ 0x001b, 3, [ "Beamos", "AntiFairyCircle", "Bumper" ] ] #"Palace of Darkness - Mimics 2 - Red Eyegore" - [ 0x001b, 4, [ "RollerVerticalUp" ] ] #"Palace of Darkness - Mimics 2 - Green Eyegore L" - - [ 0x001e, 3, [ "RollerVerticalDown", "RollerVerticalUp", "RollerHorizontalRight", "RollerHorizontalLeft", "BigSpike", "Bumper" ] ] #"Ice Palace - Blob Ambush - Red Bari 3" - - [ 0x001e, 4, [ "RollerVerticalDown", "RollerVerticalUp", "RollerHorizontalRight", "RollerHorizontalLeft", "BigSpike", "Bumper" ] ] #"Ice Palace - Blob Ambush - Red Bari 4" + - [ 0x001e, 3, [ "RollerVerticalDown", "RollerVerticalUp", "RollerHorizontalRight", "RollerHorizontalLeft", "BigSpike", "Bumper", "AntiFairyCircle" ] ] #"Ice Palace - Blob Ambush - Red Bari 3" + - [ 0x001e, 4, [ "RollerVerticalDown", "RollerVerticalUp", "RollerHorizontalRight", "RollerHorizontalLeft", "BigSpike", "Bumper", "AntiFairyCircle" ] ] #"Ice Palace - Blob Ambush - Red Bari 4" - [ 0x001e, 5, [ "SparkCW", "SparkCCW", "RollerVerticalDown", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Ice Palace - Blob Ambush - Zol 1" - [ 0x001e, 6, [ "SparkCW", "SparkCCW", "RollerVerticalDown", "RollerVerticalUp", "RollerHorizontalRight", "RollerHorizontalLeft", "Beamos", "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Ice Palace - Blob Ambush - Zol 2" - [0x001f, 0, ["RollerHorizontalRight", "RollerHorizontalLeft"]] #"Ice Palace - Big Key View - Pengator 1" @@ -82,10 +82,10 @@ UwGeneralDeny: - [ 0x0038, 4, [ "RollerHorizontalRight" ] ] #"Swamp Palace - Long Hall - Kyameron 2" - [ 0x0039, 3, [ "RollerVerticalUp", "RollerHorizontalLeft" ] ] #"Skull Woods - Play Pen - Mini Helmasaur" - [ 0x0039, 4, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "RollerHorizontalRight", "FirebarCW", "FirebarCCW" ] ] #"Skull Woods - Play Pen - Spike Trap 1" - - [0x0039, 5, ["RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "Bumper"]] #"Skull Woods - Play Pen - Hardhat Beetle" + - [0x0039, 5, ["RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "Bumper", "AntiFairyCircle"]] #"Skull Woods - Play Pen - Hardhat Beetle" - [ 0x0039, 6, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "RollerHorizontalRight", "FirebarCW", "FirebarCCW" ] ] #"Skull Woods - Play Pen - Spike Trap 2" - [0x003a, 1, ["RollerVerticalUp"]] - - [ 0x003b, 1, [ "Bumper" ]] + - [ 0x003b, 1, [ "Bumper", "AntiFairyCircle" ]] - [ 0x003b, 4, ["RollerVerticalUp", "RollerVerticalDown"]] - [ 0x003c, 0, ["BigSpike"]] - [ 0x003c, 1, [ "SparkCW", "SparkCCW", "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Hookshot Cave - Blue Bari 1" @@ -129,8 +129,8 @@ UwGeneralDeny: - [0x004b, 0, ["Beamos", "AntiFairyCircle", "Bumper", "BigSpike"]] #"Palace of Darkness - Mimics 1 - Red Eyegore" - [ 0x004b, 1, [ "RollerHorizontalRight" ] ] #"Palace of Darkness - Warp Hint - Antifairy 1" - [ 0x004b, 5, [ "RollerHorizontalLeft", "RollerHorizontalRight", "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Palace of Darkness - Jelly Hall - Blue Bari 1" - - [ 0x004b, 6, [ "AntiFairyCircle", "BigSpike" ] ] #"Palace of Darkness - Jelly Hall - Blue Bari 2" - - [ 0x004b, 7, [ "AntiFairyCircle", "BigSpike" ] ] #"Palace of Darkness - Jelly Hall - Blue Bari 3" + - [ 0x004b, 6, [ "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Palace of Darkness - Jelly Hall - Blue Bari 2" + - [ 0x004b, 7, [ "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Palace of Darkness - Jelly Hall - Blue Bari 3" - [ 0x004e, 0, [ "RollerHorizontalLeft", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Ice Palace - Blob Alley - Zol 1" - [ 0x004e, 1, [ "RollerHorizontalLeft", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Ice Palace - Blob Alley - Zol 2" - [ 0x004e, 2, [ "RollerHorizontalLeft", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Ice Palace - Blob Alley - Zol 3" @@ -138,9 +138,9 @@ UwGeneralDeny: - [ 0x0050, 1, [ "RollerVerticalUp", "RollerVerticalDown" ] ] #"Hyrule Castle - North West Passage - Green Knife Guard 1" - [ 0x0050, 2, [ "RollerVerticalUp", "RollerVerticalDown" ] ] #"Hyrule Castle - North West Passage - Green Knife Guard 2" - [0x0051, 2, ["Zoro"]] # Zoro clips off and doesn't return - - [ 0x0052, 0, [ "RollerVerticalUp", "RollerVerticalDown", "AntiFairyCircle", "Bumper" ] ] #"Hyrule Castle - North East Passage - Green Guard" - - [ 0x0052, 1, [ "RollerVerticalUp", "RollerVerticalDown", "AntiFairyCircle", "Bumper" ] ] #"Hyrule Castle - North East Passage - Green Knife Guard 1" - - [ 0x0052, 2, [ "RollerVerticalUp", "RollerVerticalDown", "AntiFairyCircle", "Bumper" ] ] #"Hyrule Castle - North East Passage - Green Knife Guard 2" + - [ 0x0052, 0, [ "RollerVerticalUp", "RollerVerticalDown", "AntiFairyCircle", "Bumper", "Zoro"]] #"Hyrule Castle - North East Passage - Green Guard" + - [ 0x0052, 1, [ "RollerVerticalUp", "RollerVerticalDown", "AntiFairyCircle", "Bumper", "Zoro"]] #"Hyrule Castle - North East Passage - Green Knife Guard 1" + - [ 0x0052, 2, [ "RollerVerticalUp", "RollerVerticalDown", "AntiFairyCircle", "Bumper", "Zoro"]] #"Hyrule Castle - North East Passage - Green Knife Guard 2" - [ 0x0053, 1, [ "AntiFairyCircle", "Bumper" ] ] #"Desert Palace - Bridge - Beamos 1" - [ 0x0053, 5, [ "RollerVerticalDown" ] ] #"Desert Palace - Popo Genocide - Popo TL" - [ 0x0053, 7, ["Beamos", "AntiFairyCircle", "Bumper", "RollerVerticalUp", "RollerVerticalDown"]] #"Desert Palace - Bridge - Popo 5" @@ -166,7 +166,7 @@ UwGeneralDeny: - [ 0x0058, 4, ["Statue"]] - [ 0x0058, 6, ["Statue"]] - [ 0x0058, 7, [ "RollerHorizontalLeft", "Statue" ] ] #"Skull Woods - Lever Room - Hardhat Beetle 2" - - [ 0x0058, 8, ["Statue"]] + - [ 0x0058, 8, ["Statue", "AntiFairyCircle", "Bumper"]] - [ 0x0059, 0, [ "RollerVerticalUp", "RollerVerticalDown", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Skull Woods - Bridge Room - Mini Moldorm 1" - [ 0x0059, 1, [ "RollerVerticalUp", "RollerVerticalDown", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Skull Woods - Bridge Room - Mini Moldorm 2" - [0x0059, 5, ["RollerVerticalUp", "RollerVerticalDown", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper"]] @@ -177,7 +177,7 @@ UwGeneralDeny: - [ 0x005f, 1, [ "RollerVerticalDown", "RollerHorizontalRight" ] ] #"Ice Palace - Bari University - Blue Bari 2" - [ 0x0060, 0, [ "RollerVerticalUp", "RollerHorizontalLeft", "AntiFairyCircle", "BigSpike", "Bumper", "Beamos", "SpikeBlock" ] ] #"Hyrule Castle - West - Blue Guard" - [ 0x0062, 0, [ "RollerVerticalUp", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Hyrule Castle - East - Blue Guard" - - [ 0x0064, 2, [ "Bumper" , "Beamos" ] ] #"Thieves' Town - Attic Hall Left - Keese 2" + - [ 0x0064, 2, [ "Bumper", "AntiFairyCircle", "Beamos" ] ] #"Thieves' Town - Attic Hall Left - Keese 2" - [ 0x0064, 3, [ "Wizzrobe", "Statue" ] ] # Wizzrobes can't spawn on pots - [ 0x0064, 4, [ "RollerHorizontalLeft", "RollerHorizontalRight" ] ] #"Thieves' Town - Attic Hall Left - Rat 1" - [ 0x0065, 0, [ "RollerVerticalUp", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Thieves' Town - Attic Window - Rat 1" @@ -186,9 +186,9 @@ UwGeneralDeny: - [ 0x0066, 0, [ "Beamos", "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Swamp Palace - Waterfall Room - Hover 1" - [ 0x0066, 2, [ "AntiFairyCircle", "Bumper"]] - [ 0x0067, 1, [ "RollerVerticalUp", "RollerVerticalDown", "AntiFairyCircle", "Bumper"]] #"Skull Woods - Firebar Pits - Blue Bari 1" - - [ 0x0067, 2, ["Bumper"]] #"Skull Woods - Firebar Pits - Blue Bari 2" + - [ 0x0067, 2, ["Bumper", "AntiFairyCircle"]] #"Skull Woods - Firebar Pits - Blue Bari 2" - [ 0x0067, 3, [ "RollerVerticalUp", "RollerVerticalDown" ] ] #"Skull Woods - Firebar Pits - Hardhat Beetle 1" - - [ 0x0067, 4, [ "AntiFairyCircle", "Bumper" ]] + - [0x0067, 4, [ "AntiFairyCircle", "Bumper", "RollerVerticalUp"]] - [ 0x0067, 5, ["RollerVerticalDown", "Beamos"]] #"Skull Woods - Firebar Pits - Hardhat Beetle 3" - [ 0x0067, 6, [ "RollerVerticalDown" ] ] #"Skull Woods - Firebar Pits - Hardhat Beetle 4" - [ 0x0067, 7, [ "Beamos", "AntiFairyCircle", "Bumper", "BunnyBeam" ] ] #"Skull Woods - Firebar Pits - Fire Bar (Clockwise)" @@ -209,6 +209,7 @@ UwGeneralDeny: - [ 0x0076, 3, [ "RollerVerticalUp", "RollerVerticalDown", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Swamp Palace - Toilet Left - Hover 2" - [ 0x0076, 4, [ "RollerVerticalUp", "RollerVerticalDown", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Swamp Palace - Toilet Left - Zol" - [ 0x0076, 6, [ "RollerVerticalDown", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Swamp Palace - Toilet Left - Blue Bari" + - [0x0077, 0, [ "AntiFairyCircle", "Bumper"]] - [ 0x007b, 0, [ "RollerHorizontalLeft", "RollerHorizontalRight", "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Ganon's Tower - DMs Room - Blue Bari 1" - [ 0x007b, 1, [ "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Ganon's Tower - DMs Room - Blue Bari 2" - [ 0x007b, 6, [ "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Ganon's Tower - DMs Room - Statue" @@ -239,6 +240,7 @@ UwGeneralDeny: - [ 0x0084, 1, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalRight", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Desert Palace - Main Room - Left - Leever 2" - [ 0x0085, 2, [ "RollerHorizontalRight" ] ] #"Desert Palace - Compass Room - Popo TL" - [ 0x0085, 7, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Desert Palace - Right Hallway - Leever 2" + - [0x0087, 0, ["RollerHorizontalLeft"]] # First moldorm in Tri-dorm room - [ 0x008b, 3, ["RollerHorizontalRight"]] - [ 0x008b, 4, [ "Statue", "RollerVerticalUp", "RollerVerticalDown", "Beamos", "AntiFairyCircle", "Bumper", "BigSpike"]] #"Ganon's Tower - Map Room - Spike Trap" - [ 0x008b, 6, [ "Beamos", "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Ganon's Tower - Map Room - Fire Bar (Clockwise)" @@ -254,10 +256,10 @@ UwGeneralDeny: - [ 0x0092, 8, [ "RollerVerticalUp", "Beamos", "AntiFairyCircle", "Bumper" ] ] #"Misery Mire - Dark Weave - Spike Trap" - [ 0x0092, 9, [ "RollerHorizontalRight" ] ] #"Misery Mire - Dark Weave - Antifairy 3" - [ 0x0092, 10, [ "RollerHorizontalLeft" ] ] #"Misery Mire - Dark Weave - Stalfos" - - [ 0x0095, 0, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalRight", "AntiFairyCircle", "BigSpike", "SpikeBlock" ] ] #"Ganon's Tower - Conveyer Falling Bridge - Red Spear Guard 1" + - [ 0x0095, 0, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalRight", "AntiFairyCircle", "Bumper", "BigSpike", "SpikeBlock" ] ] #"Ganon's Tower - Conveyer Falling Bridge - Red Spear Guard 1" - [ 0x0095, 1, [ "Statue", "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Ganon's Tower - Conveyer Falling Bridge - Red Spear Guard 2" - [ 0x0095, 2, [ "Statue", "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Ganon's Tower - Conveyer Falling Bridge - Red Spear Guard 3" - - [ 0x0095, 3, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "AntiFairyCircle", "BigSpike", "SpikeBlock" ] ] #"Ganon's Tower - Conveyer Falling Bridge - Red Spear Guard 4" + - [ 0x0095, 3, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "AntiFairyCircle", "Bumper", "BigSpike", "SpikeBlock" ] ] #"Ganon's Tower - Conveyer Falling Bridge - Red Spear Guard 4" - [ 0x0096, 0, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Ganon's Tower - Torches 1 - Fire Bar (Clockwise)" - [ 0x0098, 0, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Misery Mire - Entrance - Zol 1" - [ 0x0098, 1, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Misery Mire - Entrance - Zol 2" @@ -278,7 +280,7 @@ UwGeneralDeny: - [ 0x009c, 4, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "RollerHorizontalRight", "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Ganon's Tower - Invisible Floor Maze - Hardhat Beetle 4" - [ 0x009c, 5, [ "RollerVerticalUp", "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Ganon's Tower - Invisible Floor Maze - Hardhat Beetle 5" - [0x009c, 6, ["AntiFairyCircle", "Bumper"]] - - [0x009d, 2, ["AntiFairyCircle"]] + - [0x009d, 2, ["AntiFairyCircle", "Bumper"]] - [ 0x009d, 3, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "RollerHorizontalRight", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Ganon's Tower - Compass Room - Gibdo 2" - [ 0x009d, 6, [ "RollerHorizontalLeft", "RollerHorizontalRight" ] ] #"Ganon's Tower - Compass Room - Blue Bari 1" - [ 0x009d, 7, [ "RollerHorizontalLeft", "RollerHorizontalRight", "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Ganon's Tower - Compass Room - Blue Bari 2" @@ -305,7 +307,7 @@ UwGeneralDeny: - [0x00b0, 8, [ "StalfosKnight", "Blob", "Stal", "Wizzrobe"]] # blocked, but Geldmen are probably okay - [ 0x00b1, 2, [ "RollerVerticalUp", "RollerVerticalDown" ] ] #"Misery Mire - Hourglass - Spike Trap 1" - [ 0x00b1, 3, [ "RollerVerticalUp", "RollerVerticalDown" ] ] #"Misery Mire - Hourglass - Spike Trap 2" - - [ 0x00b1, 4, ["Bumper", "BigSpike", "AntiFairyCircle" ]] + - [0x00b1, 4, ["Bumper", "BigSpike", "AntiFairyCircle", "Statue"]] # Wizzrobe near door - [ 0x00b2, 1, [ "Wizzrobe", "Statue" ] ] # Wizzrobes can't spawn on pots - [ 0x00b2, 3, [ "Wizzrobe", "Statue" ] ] # Wizzrobes can't spawn on pots - [ 0x00b2, 6, [ "RollerVerticalUp", "RollerHorizontalLeft" ] ] #"Misery Mire - Sluggula Cross - Sluggula TR" @@ -332,12 +334,12 @@ UwGeneralDeny: - [ 0x00bc, 7, [ "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Thieves' Town - Toilet - Stalfos 3" - [ 0x00bc, 8, [ "RollerVerticalUp", "RollerVerticalDown" ] ] #"Thieves' Town - Toilet - Stalfos 4" - [ 0x00bf, 0, [ "Wizzrobe", "Statue" ] ] # Wizzrobes can't spawn on collision - - [ 0x00c1, 3, [ "RollerVerticalUp", "RollerHorizontalLeft", "Bumper" ] ] #"Misery Mire - 4 Rails - Stalfos 1" + - [ 0x00c1, 3, [ "RollerVerticalUp", "RollerHorizontalLeft", "Bumper", "AntiFairyCircle" ] ] #"Misery Mire - 4 Rails - Stalfos 1" - [ 0x00c2, 0, [ "RollerHorizontalLeft", "RollerHorizontalRight" ] ] #"Misery Mire - Main Lobby - blue - Fire Snake 1" - [ 0x00c2, 5, [ "Wizzrobe", "Statue" ] ] # Wizzrobes can't spawn on pots - [ 0x00c5, 6, [ "RollerVerticalUp", "RollerVerticalDown", "RollerHorizontalLeft", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Turtle Rock - Catwalk - Mini Helmasaur" - [ 0x00c5, 7, [ "Statue" ] ] #"Turtle Rock - Catwalk - Laser Eye (Left) 4" - - [0x00c6, 5, ["Bumper"]] + - [0x00c6, 5, ["Bumper", "AntiFairyCircle"]] - [ 0x00cb, 0, [ "Wizzrobe", "Statue" ] ] # Wizzrobes can't spawn on pots - [ 0x00cb, 3, [ "RollerVerticalUp", "RollerVerticalDown", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Thieves' Town - Grand Room NW - Zol 1" - [ 0x00cb, 5, [ "RollerVerticalUp", "RollerVerticalDown", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Thieves' Town - Grand Room NW - Zol 2" @@ -385,11 +387,11 @@ UwGeneralDeny: - [ 0x00d8, 8, [ "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Eastern Palace - Kill Room 1 - Red Eyegore" - [ 0x00d9, 1, [ "RollerHorizontalRight" ] ] #"Eastern Palace - Dodgeball - Green Eyegore 1" - [ 0x00db, 0, [ "Wizzrobe", "Statue" ] ] # Wizzrobes can't spawn on pots - - [ 0x00db, 3, [ "Bumper" ] ] # Okay in vanilla + - [ 0x00db, 3, [ "Bumper", "AntiFairyCircle" ] ] # Okay in vanilla - [ 0x00dc, 2, [ "AntiFairyCircle", "BigSpike", "Bumper" ] ] - [ 0x00dc, 9, [ "RollerVerticalDown", "RollerHorizontalLeft", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "Bumper" ] ] #"Thieves' Town - Grand Room SE - Fire Snake 2" - [ 0x00df, 0, [ "RollerVerticalDown", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Paradox Cave - Top - Mini Moldorm 1" - - [ 0x00df, 1, [ "RollerVerticalDown", "RollerHorizontalRight", "AntiFairyCircle" ] ] #"Paradox Cave - Top - Mini Moldorm 2" + - [ 0x00df, 1, [ "RollerVerticalDown", "RollerHorizontalRight", "AntiFairyCircle", "Bumper" ] ] #"Paradox Cave - Top - Mini Moldorm 2" - [ 0x00e4, 0, [ "RollerHorizontalLeft", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Old Man Home - Keese 1" - [ 0x00e4, 1, [ "RollerHorizontalLeft", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Old Man Home - Keese 2" - [ 0x00e4, 2, [ "RollerHorizontalLeft", "RollerHorizontalRight", "Beamos", "AntiFairyCircle", "BigSpike", "SpikeBlock", "Bumper" ] ] #"Old Man Home - Keese 3" @@ -420,8 +422,8 @@ UwGeneralDeny: - [0x0107, 1, ["Beamos", "Bumper", "BigSpike", "AntiFairyCircle"]] - [0x0107, 2, ["Beamos", "Bumper", "BigSpike", "AntiFairyCircle"]] - [0x010b, 6, ["RollerHorizontalRight"]] - - [0x010c, 4, ["AntiFairyCircle"]] - - [0x010c, 5, ["AntiFairyCircle"]] + - [0x010c, 4, ["AntiFairyCircle", "Bumper"]] + - [0x010c, 5, ["AntiFairyCircle", "Bumper"]] - [0x010c, 6, ["StalfosKnight", "Geldman", "Blob", "Stal", "Wizzrobe"]] - [0x010c, 7, ["StalfosKnight", "Geldman", "Blob", "Stal", "Wizzrobe"]] - [0x011e, 0, ["RollerVerticalDown"]] @@ -450,6 +452,7 @@ OwGeneralDeny: - [0x40, 16, ["RollerVerticalUp", "RollerVerticalDown"]] # Ropa near back hole is really large as a roller - [0x55, 6, ["BigSpike"]] - [0x57, 5, ["RollerVerticalUp", "RollerVerticalDown"]] + - [0x5b, 0, ["AntiFairyCircle", "Bumper"]] # ropa on pyramid - [0x5e, 0, ["Gibo"]] # kiki eating Gibo - [0x5e, 1, ["Gibo", "RollerVerticalUp", "RollerVerticalDown"]] # kiki eating Gibo - [0x5e, 2, ["Gibo"]] # kiki eating Gibo @@ -473,9 +476,9 @@ OwGeneralDeny: - [0x5e, 20, ["Gibo"]] # kiki eating Gibo - [0x62, 1, ["RollerVerticalUp", "RollerVerticalDown"]] # hard to avoid roller around hammer pegs - [0x62, 3, ["RollerVerticalUp", "RollerVerticalDown"]] # hard to avoid roller around hammer pegs - - [0x6d, 3, ["Bumper"]] # can block path with multiple bumpers - - [0x77, 1, ["Bumper"]] # soft-lock potential near ladder - - [0x7f, 1, ["Bumper"]] # soft-lock potential near ladder + - [0x6d, 3, ["Bumper", "AntiFairyCircle"]] # can block path with multiple bumpers + - [0x77, 1, ["Bumper", "AntiFairyCircle"]] # soft-lock potential near ladder + - [0x7f, 1, ["Bumper", "AntiFairyCircle"]] # soft-lock potential near ladder UwEnemyDrop: - [0x0085, 9, ["Babasu"]] # ran off the edge and didn't return - [0x00cb, 3, ["Zoro"]] # layer issues @@ -576,7 +579,7 @@ UwEnemyDrop: "BombGuard", "GreenKnifeGuard", "Stal", "GreenMimic", "RedMimic", "StalfosKnight", "Geldman", "Blob"]] - [0x00c6, 5, ["HardhatBeetle", "Wizzrobe", "MiniHelmasaur", "BlueGuard", "GreenGuard", "RedSpearGuard", "Hover", "BluesainBolt", "UsainBolt", "BlueArcher", "GreenBushGuard", "RedJavelinGuard", "RedBushGuard", - "BombGuard", "GreenKnifeGuard", "Bumper", "Stal", "GreenMimic", "RedMimic", "StalfosKnight", "Geldman", "Blob"]] + "BombGuard", "GreenKnifeGuard", "Bumper", "AntiFairyCircle", "Stal", "GreenMimic", "RedMimic", "StalfosKnight", "Geldman", "Blob"]] - [0x00c6, 6, ["HardhatBeetle", "Wizzrobe", "MiniHelmasaur", "BlueGuard", "GreenGuard", "RedSpearGuard", "Hover", "BluesainBolt", "UsainBolt", "BlueArcher", "GreenBushGuard", "RedJavelinGuard", "RedBushGuard", "BombGuard", "GreenKnifeGuard", "Stal", "GreenMimic", "RedMimic", "StalfosKnight", "Geldman", "Blob"]] @@ -621,6 +624,7 @@ UwEnemyDrop: - [0x0067, 6, ["Wizzrobe"]] - [0x0067, 7, ["Wizzrobe", "Stal"]] - [0x0067, 8, ["Wizzrobe", "Stal"]] + - [0x006b, 4, ["Wizzrobe"]] # crystal switch interaction? - [0x0074, 5, ["Wizzrobe"]] - [0x007c, 1, ["Wizzrobe", "Stal"]] - [0x007c, 3, ["Wizzrobe", "Stal"]] From f3b774ad7f67411fe6781da9c184f39119651433 Mon Sep 17 00:00:00 2001 From: aerinon Date: Mon, 28 Apr 2025 12:34:19 -0600 Subject: [PATCH 22/26] fix: attempt at fixing moth conveyor room timing --- RELEASENOTES.md | 1 + Rom.py | 2 +- data/base2current.bps | Bin 117954 -> 117959 bytes source/enemizer/Bossmizer.py | 4 ++-- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 3fbbb257..fc754596 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,6 +1,7 @@ # Patch Notes * 1.4.9 + * Attempted fix for Moth conveyor room timing. THank for many people's input. Unsure if Helmacopter is still acceptable. * Mirror scroll will show up on file start screen if enabled (thanks Clearmouse!) * Fixes for HMG by Muffins * Various fixes for Enemizer by Codemann (gfx fixes, more randomization options) diff --git a/Rom.py b/Rom.py index 04b08fb2..0961df7c 100644 --- a/Rom.py +++ b/Rom.py @@ -42,7 +42,7 @@ from source.enemizer.Enemizer import write_enemy_shuffle_settings JAP10HASH = '03a63945398191337e896e5771f77173' -RANDOMIZERBASEHASH = '403d349584246fd845c3a9c78a55b3d4' +RANDOMIZERBASEHASH = '54eaa40cc69c54b9d790b9c4ea107f4d' class JsonRom(object): diff --git a/data/base2current.bps b/data/base2current.bps index 0292d6f7bd5188d22f912d6816b65e3388782b64..d0cdd7d679a902d0d1b30607297ef54cbdf0ebed 100644 GIT binary patch delta 1291 zcmWNNYfO`87>1t*YALqVic~7dp$Nh_h?Q9nsKA(rb0```L;_53tH-MI00GAP0Ts&p z5cpPK0in?{h*pBJLC`9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~n__A#N;=A~al`L6_FLnEtsOMuRJ5Lgf{cNaYHQv-^N!D+~QTD1d z34hhiN;N$6*L{E7myg}Ld#A4RFseMSup_S!_s8NJ`tU9uTkt2ChBf?hWeS>>j=QQ@ z15GiY_jctTG~F2YP+d@JkqMg?wCwx3y6Me~pzJM}EcL%D{LwU_p$a*eu4?8KmS|d} z47=kA9BPU)(o( z#>;Ex6`y0m)nAfED|(?HGpveNIFVSAPUreDT)4{3nW%D(-5#v&h{(RJ4yDoe@Sgjb z%$LnJF5j>LQXf)P)o-6QpU{}>cdZxLWa>459=M%G4xq>~ydar0?xU##=!aWr$p8l7 zQhI#=4=+#6=#m3OHRfEY%P-Pa3Iuhfxwo6wxohjP9T-W~DWv69hUiA792789b zxsblu*`w2Qb5}k-TJagd+~zC2SNR`>)#~l^pCJsj@eUl5i(!KTiUsK*Fy!DN~>f-C*(EJZ|~ z4x9zEWv44K1_V{rt~+jGX4s$}ML(2-s&onM8o}c1O~H=DSgm*e`J(VzTMZkR=1NrJ zut9|g+@WW8wqCWv+q~-;_yE7bB=qbu6SX{IOX?P{(knkf5xk$PixB_ScrwS9G@cTf z51xQ}uwo-fv(v$=7yZxG%G4N^Xb#cuMsXP~ruRp2ZCp}LCsWEwiKggE>t%J(o|Q!L z+5BX>GpzpBw`_@n3%Tg8rwJ9z$5GLys*b?Os!D(!+bnxRT{G-SvrlGu!`|soy5&Be Pv|j!E)~3fT`40aB&|e%t diff --git a/source/enemizer/Bossmizer.py b/source/enemizer/Bossmizer.py index 85b8a3c2..6c262e38 100644 --- a/source/enemizer/Bossmizer.py +++ b/source/enemizer/Bossmizer.py @@ -110,8 +110,8 @@ def add_kholdstare_to_list(sprite_list, room_id): def add_vitreous_to_list(sprite_list, room_id): - sprite_list.clear() # vitreous does not play nice which other sprites on the tile, just kill them - sprite_list.append(create_sprite(room_id, EnemySprite.Vitreous, 0x00, 0, 0x07, 0x05)) + sprite_list[:] = [x for x in sprite_list if x.sub_type == SpriteType.Overlord] # vitreous does not play nice which other sprites on the tile, just kill them + sprite_list.insert(0, create_sprite(room_id, EnemySprite.Vitreous, 0x00, 0, 0x07, 0x05)) def add_trinexx_to_list(sprite_list, room_id): From 4657aaf0b68e92a464bbc916083b2f188d957d06 Mon Sep 17 00:00:00 2001 From: aerinon Date: Mon, 28 Apr 2025 14:16:31 -0600 Subject: [PATCH 23/26] fix: some customizer generation issues --- DoorShuffle.py | 5 ++++- DungeonGenerator.py | 9 +++++---- RELEASENOTES.md | 1 + 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/DoorShuffle.py b/DoorShuffle.py index 0369ff5c..e2e25390 100644 --- a/DoorShuffle.py +++ b/DoorShuffle.py @@ -1062,8 +1062,11 @@ def handle_split_dungeons(dungeon_builders, recombinant_builders, entrances_map, for name, split_list in split_dungeon_entrances.items(): builder = dungeon_builders.pop(name) - recombinant_builders[name] = builder + if all(len(sector.outstanding_doors) <= 0 for sector in builder.sectors): + dungeon_builders[name] = builder + continue + recombinant_builders[name] = builder split_builders = split_dungeon_builder(builder, split_list, builder_info) dungeon_builders.update(split_builders) for sub_name, split_entrances in split_list.items(): diff --git a/DungeonGenerator.py b/DungeonGenerator.py index 2cae4254..58b86adf 100644 --- a/DungeonGenerator.py +++ b/DungeonGenerator.py @@ -1342,10 +1342,6 @@ def create_dungeon_builders(all_sectors, connections_tuple, world, player, dunge if not sector: sector = find_sector(r_name, all_sectors) reverse_d_map[sector] = key - if world.mode[player] == 'standard': - if 'Hyrule Castle' in dungeon_map: - current_dungeon = dungeon_map['Hyrule Castle'] - standard_stair_check(dungeon_map, current_dungeon, candidate_sectors, global_pole) complete_dungeons = {x: y for x, y in dungeon_map.items() if sum(len(sector.outstanding_doors) for sector in y.sectors) <= 0} [dungeon_map.pop(key) for key in complete_dungeons.keys()] @@ -1354,6 +1350,11 @@ def create_dungeon_builders(all_sectors, connections_tuple, world, player, dunge dungeon_map.update(complete_dungeons) return dungeon_map + if world.mode[player] == 'standard': + if 'Hyrule Castle' in dungeon_map: + current_dungeon = dungeon_map['Hyrule Castle'] + standard_stair_check(dungeon_map, current_dungeon, candidate_sectors, global_pole) + # categorize sectors identify_destination_sectors(accessible_sectors, reverse_d_map, dungeon_map, connections, dungeon_entrances, split_dungeon_entrances) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index fc754596..a0e3ee1c 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -6,4 +6,5 @@ * Fixes for HMG by Muffins * Various fixes for Enemizer by Codemann (gfx fixes, more randomization options) * Vanilla door shuffle prevents big key doors changes from door_type_mode + * Couple of minor fixes to custom generation. Deals with a complete specification of all dungeons * Various enemizer bans for blocked paths (thanks to all the reports, Q1 2025) From fcaaab30a4a3c7569920ab9ea6a334224ab49186 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 30 Apr 2025 06:41:43 -0500 Subject: [PATCH 24/26] Initial Follower Shuffle Implementation --- BaseClasses.py | 25 +++-- CLI.py | 3 +- Doors.py | 2 +- DungeonGenerator.py | 6 +- InitialSram.py | 23 +++- ItemList.py | 104 +++++++++++++++--- Items.py | 3 + Main.py | 14 ++- OWEdges.py | 2 + OverworldShuffle.py | 1 + README.md | 27 +++++ Regions.py | 16 ++- Rom.py | 47 ++++++-- Rules.py | 8 +- data/base2current.bps | Bin 133998 -> 136345 bytes docs/Customizer.md | 10 ++ docs/customizer_example.yaml | 1 + resources/app/cli/args.json | 4 + resources/app/cli/lang/en.json | 3 + resources/app/gui/lang/en.json | 5 +- resources/app/gui/randomize/item/widgets.json | 4 + source/classes/CustomSettings.py | 2 + source/classes/constants.py | 1 + source/dungeon/DungeonStitcher.py | 3 +- source/dungeon/RoomHeader.py | 1 + source/enemizer/Bossmizer.py | 5 +- source/enemizer/Enemizer.py | 17 ++- source/enemizer/SpriteSheets.py | 28 +++++ source/tools/MysteryUtils.py | 1 + 29 files changed, 316 insertions(+), 50 deletions(-) diff --git a/BaseClasses.py b/BaseClasses.py index 4691ef4b..a82f3093 100644 --- a/BaseClasses.py +++ b/BaseClasses.py @@ -1662,18 +1662,21 @@ class Entrance(object): self.temp_path = [] def can_reach(self, state): - # Destination Pickup OW Only No Ledges Can S&Q Allow Mirror - multi_step_locations = { 'Pyramid Crack': ('Big Bomb', True, True, False, True), - 'Missing Smith': ('Frog', True, False, True, True), - 'Middle Aged Man': ('Dark Blacksmith Ruins', True, False, True, True), - 'Old Man Drop Off': ('Lost Old Man', True, False, False, False), - 'Revealing Light': ('Suspicious Maiden', False, False, False, False) + # Destination Pickup OW Only No Ledges Can S&Q Allow Mirror + multi_step_locations = { 'Pyramid Crack': ('Big Bomb', True, True, False, True), + 'Missing Smith': ('Frog', True, False, True, True), + 'Middle Aged Man': ('Dark Blacksmith Ruins', True, False, True, True), + 'Dark Palace Button':('Kiki', True, False, False, False), + 'Old Man Drop Off': ('Lost Old Man', True, False, False, False), + 'Revealing Light': ('Suspicious Maiden', False, False, False, False) } if self.name in multi_step_locations: if self not in state.path: world = self.parent_region.world multi_step_loc = multi_step_locations[self.name] + if world.shuffle_followers[self.player]: + multi_step_loc = (multi_step_loc[0], self.name == 'Pyramid Crack', multi_step_loc[2], True, True) step_location = world.get_location(multi_step_loc[0], self.player) if step_location.can_reach(state) and self.can_reach_thru(state, step_location, multi_step_loc[1], multi_step_loc[2], multi_step_loc[3], multi_step_loc[4]) and self.access_rule(state): if not self in state.path: @@ -2952,7 +2955,7 @@ class Spoiler(object): self.settings = {} - self.suppress_spoiler_locations = ['Big Bomb', 'Frog', 'Dark Blacksmith Ruins', 'Middle Aged Man', 'Lost Old Man', 'Old Man Drop Off'] + self.suppress_spoiler_locations = ['Lost Old Man', 'Big Bomb', 'Frog', 'Dark Blacksmith Ruins', 'Middle Aged Man', 'Kiki'] def set_overworld(self, entrance, exit, direction, player): if self.world.players == 1: @@ -3018,6 +3021,7 @@ class Spoiler(object): 'ow_whirlpool': self.world.owWhirlpoolShuffle, 'ow_fluteshuffle': self.world.owFluteShuffle, 'bonk_drops': self.world.shuffle_bonk_drops, + 'shuffle_followers': self.world.shuffle_followers, 'shuffle': self.world.shuffle, 'shuffleganon': self.world.shuffle_ganon, 'shufflelinks': self.world.shufflelinks, @@ -3259,6 +3263,7 @@ class Spoiler(object): outfile.write('\n') outfile.write('Shopsanity:'.ljust(line_width) + '%s\n' % yn(self.metadata['shopsanity'][player])) outfile.write('Bonk Drops:'.ljust(line_width) + '%s\n' % yn(self.metadata['bonk_drops'][player])) + outfile.write('Followers:'.ljust(line_width) + '%s\n' % yn(self.metadata['shuffle_followers'][player])) outfile.write('Pottery Mode:'.ljust(line_width) + '%s\n' % self.metadata['pottery'][player]) outfile.write('Pot Shuffle (Legacy):'.ljust(line_width) + '%s\n' % yn(self.metadata['potshuffle'][player])) outfile.write('Enemy Drop Shuffle:'.ljust(line_width) + '%s\n' % self.metadata['dropshuffle'][player]) @@ -3670,7 +3675,7 @@ boss_mode = {"none": 0, "simple": 1, "full": 2, "chaos": 3, 'random': 3, 'unique or_mode = {"vanilla": 0, "parallel": 1, "full": 2} orcrossed_mode = {"none": 0, "polar": 1, "grouped": 2, "unrestricted": 4} -# byte 12: KMB? FF?? (keep similar, mixed/tile flip, bonk drops, flute spots) +# byte 12: KMBQ FF?? (keep similar, mixed/tile flip, bonk drops, follower quests, flute spots) flutespot_mode = {"vanilla": 0, "balanced": 1, "random": 2} # byte 13: FBBB TTPP (flute_mode, bow_mode, take_any, prize shuffle) @@ -3737,7 +3742,8 @@ class Settings(object): | (0x08 if w.owWhirlpoolShuffle[p] else 0) | orcrossed_mode[w.owCrossed[p]], (0x80 if w.owKeepSimilar[p] else 0) | (0x40 if w.owMixed[p] else 0) - | (0x20 if w.shuffle_bonk_drops[p] else 0) | (flutespot_mode[w.owFluteShuffle[p]] << 4), + | (0x20 if w.shuffle_bonk_drops[p] else 0) | (0x10 if w.shuffle_followers[p] else 0) + | (flutespot_mode[w.owFluteShuffle[p]] << 4), (flute_mode[w.flute_mode[p]] << 7 | bow_mode[w.bow_mode[p]] << 4 | take_any_mode[w.take_any[p]] << 2 | prizeshuffle_mode[w.prizeshuffle[p]]), @@ -3822,6 +3828,7 @@ class Settings(object): args.ow_keepsimilar[p] = True if settings[12] & 0x80 else False args.ow_mixed[p] = True if settings[12] & 0x40 else False args.bonk_drops[p] = True if settings[12] & 0x20 else False + args.shuffle_followers[p] = True if settings[12] & 0x10 else False args.ow_fluteshuffle[p] = r(flutespot_mode)[(settings[12] & 0x0C) >> 2] if len(settings) > 13: diff --git a/CLI.py b/CLI.py index 8fc7263e..c6ae7d9f 100644 --- a/CLI.py +++ b/CLI.py @@ -132,7 +132,7 @@ def parse_cli(argv, no_defaults=False): for name in ['logic', 'mode', 'swords', 'goal', 'difficulty', 'item_functionality', 'ow_shuffle', 'ow_terrain', 'ow_crossed', 'ow_keepsimilar', 'ow_mixed', 'ow_whirlpool', 'ow_fluteshuffle', - 'flute_mode', 'bow_mode', 'take_any', 'boots_hint', + 'flute_mode', 'bow_mode', 'take_any', 'boots_hint', 'shuffle_followers', 'shuffle', 'door_shuffle', 'intensity', 'crystals_ganon', 'crystals_gt', 'openpyramid', 'mapshuffle', 'compassshuffle', 'keyshuffle', 'bigkeyshuffle', 'prizeshuffle', 'startinventory', 'usestartinventory', 'bombbag', 'shuffleganon', 'overworld_map', 'restrict_boss_items', @@ -200,6 +200,7 @@ def parse_settings(): "ow_mixed": False, "ow_whirlpool": False, "ow_fluteshuffle": "vanilla", + "shuffle_followers": False, "bonk_drops": False, "shuffle": "vanilla", "shufflelinks": False, diff --git a/Doors.py b/Doors.py index af83f6fc..aa55cf0c 100644 --- a/Doors.py +++ b/Doors.py @@ -1301,7 +1301,7 @@ def create_doors(world, player): world.get_door('Swamp Drain Right Switch', player).event('Swamp Drain') world.get_door('Swamp Flooded Room Ladder', player).event('Swamp Drain') - if world.mode[player] == 'standard': + if world.mode[player] == 'standard' and 'Zelda Herself' not in [i.name for i in world.precollected_items if i.player == player]: world.get_door('Hyrule Castle Throne Room Tapestry', player).event('Zelda Pickup') world.get_door('Hyrule Castle Tapestry Backwards', player).event('Zelda Pickup') diff --git a/DungeonGenerator.py b/DungeonGenerator.py index f8297aff..d5c65621 100644 --- a/DungeonGenerator.py +++ b/DungeonGenerator.py @@ -602,7 +602,8 @@ def determine_paths_for_dungeon(world, player, all_regions, name): paths.append(boss) if 'Thieves Boss' in all_r_names: paths.append('Thieves Boss') - if world.get_dungeon("Thieves Town", player).boss.enemizer_name == 'Blind': + if world.get_dungeon("Thieves Town", player).boss.enemizer_name == 'Blind' \ + and not world.shuffle_followers[player]: paths.append(('Thieves Blind\'s Cell', 'Thieves Boss')) for drop_check in drop_path_checks: if drop_check in all_r_names: @@ -1324,7 +1325,8 @@ def create_dungeon_builders(all_sectors, connections_tuple, world, player, dunge for r_name in ['Hyrule Dungeon Cellblock', 'Sanctuary', 'Hyrule Castle Throne Room']: # need to deliver zelda assign_sector(find_sector(r_name, candidate_sectors), current_dungeon, candidate_sectors, global_pole) - if key == 'Thieves Town' and world.get_dungeon("Thieves Town", player).boss.enemizer_name == 'Blind': + if key == 'Thieves Town' and (world.get_dungeon("Thieves Town", player).boss.enemizer_name == 'Blind' + and not world.shuffle_followers[player]): assign_sector(find_sector("Thieves Blind's Cell", candidate_sectors), current_dungeon, candidate_sectors, global_pole) entrances_map, potentials, connections = connections_tuple diff --git a/InitialSram.py b/InitialSram.py index 0aa25bc2..f360236a 100644 --- a/InitialSram.py +++ b/InitialSram.py @@ -128,6 +128,25 @@ class InitialSram: else: self.set_progress_indicator(0x03) + if startingstate.has('Zelda Herself', player): + self._initial_sram_bytes[0x3CC] = 0x01 + elif startingstate.has('Escort Old Man', player): + self._initial_sram_bytes[0x3CC] = 0x04 + elif startingstate.has('Maiden Rescued', player): + self._initial_sram_bytes[0x3CC] = 0x06 + elif startingstate.has('Get Frog', player): + self._initial_sram_bytes[0x3CC] = 0x07 + elif startingstate.has('Sign Vandalized', player): + self._initial_sram_bytes[0x3CC] = 0x09 + elif startingstate.has('Pick Up Kiki', player): + self._initial_sram_bytes[0x3CC] = 0x0A + elif startingstate.has('Pick Up Purple Chest', player): + self._initial_sram_bytes[0x3CC] = 0x0C + elif startingstate.has('Pick Up Big Bomb', player): + self._initial_sram_bytes[0x3CC] = 0x0D + if self._initial_sram_bytes[0x3CC] > 0x01 and world.mode[player] == 'standard': + self._initial_sram_bytes[0x3D3] = 0x80 + for item in world.precollected_items: if item.player != player: continue @@ -138,7 +157,9 @@ class InitialSram: 'Mirror Shield', 'Red Shield', 'Blue Shield', 'Progressive Shield', 'Red Mail', 'Blue Mail', 'Progressive Armor', 'Magic Upgrade (1/4)', 'Magic Upgrade (1/2)', - 'Return Old Man', 'Beat Agahnim 1']: + 'Return Old Man', 'Beat Agahnim 1', 'Zelda Herself', 'Escort Old Man', + 'Maiden Rescued', 'Get Frog', 'Sign Vandalized', 'Pick Up Kiki', + 'Pick Up Purple Chest', 'Pick Up Big Bomb']: continue set_table = {'Book of Mudora': (0x34E, 1), 'Hammer': (0x34B, 1), 'Bug Catching Net': (0x34D, 1), 'Hookshot': (0x342, 1), 'Magic Mirror': (0x353, 2), diff --git a/ItemList.py b/ItemList.py index 45c1df2d..e690d83a 100644 --- a/ItemList.py +++ b/ItemList.py @@ -129,6 +129,40 @@ difficulties = { ), } + +follower_quests = { + 'Zelda Pickup': ['Zelda Herself', 'Zelda Drop Off', 'Zelda Delivered'], + 'Lost Old Man': ['Escort Old Man', 'Old Man Drop Off', 'Return Old Man'], + 'Locksmith': ['Sign Vandalized', None, None], + 'Kiki': ['Pick Up Kiki', 'Kiki Assistance', 'Dark Palace Opened'], + 'Suspicious Maiden': ['Maiden Rescued', 'Revealing Light', 'Maiden Unmasked'], + 'Frog': ['Get Frog', 'Missing Smith', 'Return Smith'], + 'Dark Blacksmith Ruins': ['Pick Up Purple Chest', 'Middle Aged Man', 'Deliver Purple Chest'], + 'Big Bomb': ['Pick Up Big Bomb', 'Pyramid Crack', 'Detonate Big Bomb'], +} + +follower_locations = { + 'Zelda Pickup': 0x1802C0, + 'Lost Old Man': 0x1802C3, + 'Suspicious Maiden': 0x1802C6, + 'Frog': 0x1802C9, + 'Locksmith': 0x1802CC, + 'Kiki': 0x1802CF, + 'Dark Blacksmith Ruins': 0x1802D2, + 'Big Bomb': 0x1802D5, +} + +follower_pickups = { + 'Zelda Herself': 0x01, + 'Escort Old Man': 0x04, + 'Maiden Rescued': 0x06, + 'Get Frog': 0x07, + 'Sign Vandalized': 0x09, + 'Pick Up Kiki': 0x0A, + 'Pick Up Purple Chest': 0x0C, + 'Pick Up Big Bomb': 0x0D, +} + # Translate between Mike's label array and YAML/JSON keys def get_custom_array_key(item): label_switcher = { @@ -194,17 +228,10 @@ def generate_itempool(world, player): if world.timer in ['ohko', 'timed-ohko']: world.can_take_damage = False - def set_event_item(location_name, item_name=None): - location = world.get_location(location_name, player) - if item_name: - world.push_item(location, ItemFactory(item_name, player), False) - location.event = True - location.locked = True - if world.goal[player] in ['pedestal', 'triforcehunt']: - set_event_item('Ganon', 'Nothing') + set_event_item(world, player, 'Ganon', 'Nothing') else: - set_event_item('Ganon', 'Triforce') + set_event_item(world, player, 'Ganon', 'Triforce') if world.goal[player] in ['triforcehunt', 'trinity']: region = world.get_region('Hyrule Castle Courtyard', player) @@ -241,12 +268,17 @@ def generate_itempool(world, player): old_man.skip = True for loc, item in location_events.items(): - if item: - set_event_item(loc, item) - + if loc in follower_quests and world.shuffle_followers[player]: + item = None + set_event_item(world, player, loc, item) + + zelda_pickup, zelda_dropoff = None, None if world.mode[player] == 'standard': - set_event_item('Zelda Pickup', 'Zelda Herself') - set_event_item('Zelda Drop Off', 'Zelda Delivered') + if not world.shuffle_followers[player]: + zelda_pickup = 'Zelda Herself' + zelda_dropoff = 'Zelda Delivered' + set_event_item(world, player, 'Zelda Pickup', zelda_pickup) + set_event_item(world, player, 'Zelda Drop Off', zelda_dropoff) # set up item pool skip_pool_adjustments = False @@ -1642,6 +1674,50 @@ def fill_specific_items(world): world.item_pool_config.verify_target += len(placement['locations']) +def set_event_item(world, player, location_name, item_name=None): + location = world.get_location(location_name, player) + if item_name: + world.push_item(location, ItemFactory(item_name, player), False) + location.event = True + if location_name not in follower_quests or not world.shuffle_followers[player]: + location.locked = True + + +def shuffle_event_items(world, player): + if (world.shuffle_followers[player]): + available_quests = follower_quests.copy() + available_pickups = [quests[0] for quests in available_quests.values()] + + for loc_name in follower_quests.keys(): + loc = world.get_location(loc_name, player) + if loc.item: + set_event_item(world, player, loc_name) + available_quests.pop(loc_name) + available_pickups.remove(loc.item.name) + + + if world.mode[player] == 'standard': + if 'Zelda Herself' in available_pickups: + zelda_pickup = available_quests.pop('Zelda Pickup')[0] + available_pickups.remove(zelda_pickup) + set_event_item(world, player, 'Zelda Pickup', zelda_pickup) + + random.shuffle(available_pickups) + + restricted_pickups = { 'Get Frog': 'Dark Blacksmith Ruins'} + for pickup in restricted_pickups: + restricted_quests = [q for q in available_quests.keys() if q not in restricted_pickups[pickup]] + random.shuffle(restricted_quests) + quest = restricted_quests.pop() + available_quests.pop(quest) + available_pickups.remove(pickup) + set_event_item(world, player, quest, pickup) + + for pickup in available_pickups: + quest, _ = available_quests.popitem() + set_event_item(world, player, quest, pickup) + + def get_item_and_event_flag(item, world, player, dungeon_pool, prize_set, prize_pool): item_parts = item.split('#') item_player = player if len(item_parts) < 2 else int(item_parts[1]) diff --git a/Items.py b/Items.py index 5b24b17a..ec6a18b8 100644 --- a/Items.py +++ b/Items.py @@ -180,6 +180,8 @@ item_table = {'Bow': (True, False, None, 0x0B, 200, 'Bow!\nJoin the archer class 'Beat Boss': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), 'Beat Agahnim 1': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), 'Beat Agahnim 2': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), + 'Pick Up Kiki': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), + 'Dark Palace Opened': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), 'Get Frog': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), 'Return Smith': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), 'Pick Up Purple Chest': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), @@ -198,6 +200,7 @@ item_table = {'Bow': (True, False, None, 0x0B, 200, 'Bow!\nJoin the archer class 'Hidden Pits': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), 'Zelda Herself': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), 'Zelda Delivered': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), + 'Sign Vandalized': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), 'Escort Old Man': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), 'Return Old Man': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), 'Farmable Bombs': (True, False, 'Event', 999, None, None, None, None, None, None, None, None), diff --git a/Main.py b/Main.py index f668e853..6029ee30 100644 --- a/Main.py +++ b/Main.py @@ -27,7 +27,7 @@ from Dungeons import create_dungeons from Fill import distribute_items_restrictive, promote_dungeon_items, fill_dungeons_restrictive, ensure_good_items from Fill import dungeon_tracking from Fill import sell_potions, sell_keys, balance_multiworld_progression, balance_money_progression, lock_shop_locations, set_prize_drops -from ItemList import generate_itempool, difficulties, fill_prizes, customize_shops, fill_specific_items, create_farm_locations +from ItemList import generate_itempool, difficulties, fill_prizes, customize_shops, fill_specific_items, create_farm_locations, shuffle_event_items, follower_pickups from UnderworldGlitchRules import connect_hmg_entrances_regions, create_hmg_entrances_regions from Utils import output_path, parse_player_names @@ -35,6 +35,7 @@ from source.item.District import init_districts from source.item.FillUtil import create_item_pool_config, massage_item_pool, district_item_pool_config, verify_item_pool_config from source.overworld.EntranceShuffle2 import link_entrances_new from source.tools.BPS import create_bps_from_data +from source.tools.GraphExporter import GephiStreamer from source.classes.CustomSettings import CustomSettings from source.enemizer.DamageTables import DamageTable from source.enemizer.Enemizer import randomize_enemies @@ -244,6 +245,7 @@ def main(args, seed=None, fish=None): sell_keys(world, player) else: lock_shop_locations(world, player) + shuffle_event_items(world, player) massage_item_pool(world) logger.info(world.fish.translate("cli", "cli", "placing.dungeon.prizes")) @@ -476,6 +478,7 @@ def init_world(args, fish): world.owKeepSimilar = args.ow_keepsimilar.copy() world.owWhirlpoolShuffle = args.ow_whirlpool.copy() world.owFluteShuffle = args.ow_fluteshuffle.copy() + world.shuffle_followers = args.shuffle_followers.copy() world.shuffle_bonk_drops = args.bonk_drops.copy() world.open_pyramid = args.openpyramid.copy() world.boss_shuffle = args.shufflebosses.copy() @@ -530,6 +533,7 @@ def set_starting_inventory(world, args): if world.customizer and world.customizer.get_start_inventory(): for p, inv_list in world.customizer.get_start_inventory().items(): if inv_list: + follower_added = False for inv_item in inv_list: name = inv_item.strip() if inv_item == 'RandomWeapon': @@ -543,7 +547,13 @@ def set_starting_inventory(world, args): item = ItemFactory(e, p) if item: world.push_precollected(item) + elif inv_item == 'RandomFollower': + name = random.choice([f for f in follower_pickups if f != 'Zelda Herself' or world.mode[p] == 'standard']) name = name if name != 'Ocarina' or world.flute_mode[p] != 'active' else 'Ocarina (Activated)' + if name in follower_pickups: + if not world.shuffle_followers[p] or follower_added: + continue + follower_added = True item = ItemFactory(name, p) if item: world.push_precollected(item) @@ -591,6 +601,7 @@ def copy_world(world): ret.owKeepSimilar = world.owKeepSimilar.copy() ret.owWhirlpoolShuffle = world.owWhirlpoolShuffle.copy() ret.owFluteShuffle = world.owFluteShuffle.copy() + ret.shuffle_followers = world.shuffle_followers.copy() ret.shuffle_bonk_drops = world.shuffle_bonk_drops.copy() ret.open_pyramid = world.open_pyramid.copy() ret.shufflelinks = world.shufflelinks.copy() @@ -811,6 +822,7 @@ def copy_world_premature(world, player): ret.owKeepSimilar = world.owKeepSimilar.copy() ret.owWhirlpoolShuffle = world.owWhirlpoolShuffle.copy() ret.owFluteShuffle = world.owFluteShuffle.copy() + ret.shuffle_followers = world.shuffle_followers.copy() ret.shuffle_bonk_drops = world.shuffle_bonk_drops.copy() ret.open_pyramid = world.open_pyramid.copy() ret.shufflelinks = world.shufflelinks.copy() diff --git a/OWEdges.py b/OWEdges.py index ef9c9182..645e05ad 100644 --- a/OWEdges.py +++ b/OWEdges.py @@ -1241,6 +1241,7 @@ OWTileRegions = bidict({ 'Broken Bridge Water': 0x5d, 'Palace of Darkness Area': 0x5e, + 'Dark Palace Button': 0x5e, 'Hammer Pegs Area': 0x62, 'Hammer Pegs Entry': 0x62, @@ -1580,6 +1581,7 @@ OWExitTypes = { 'Middle Aged Man', 'Desert Pass Ladder (South)', 'Desert Pass Ladder (North)', + 'Kiki Assistance', 'GT Approach', 'GT Leave', ], diff --git a/OverworldShuffle.py b/OverworldShuffle.py index 6934829e..6118b731 100644 --- a/OverworldShuffle.py +++ b/OverworldShuffle.py @@ -1833,6 +1833,7 @@ mandatory_connections = [ ('Broken Bridge Water Drop', 'Broken Bridge Water'), #flippers ('Broken Bridge Northeast Water Drop', 'Broken Bridge Water'), #flippers ('Broken Bridge West Water Drop', 'Broken Bridge Water'), #flippers + ('Kiki Assistance', 'Dark Palace Button'), ('Peg Area Rocks (West)', 'Hammer Pegs Area'), #mitts ('Peg Area Rocks (East)', 'Hammer Pegs Entry'), #mitts ('Dig Game To Ledge Drop', 'Dig Game Ledge'), #mitts diff --git a/README.md b/README.md index 707b7b75..f5c6572a 100644 --- a/README.md +++ b/README.md @@ -234,6 +234,27 @@ New flute spots are chosen at random, with restrictions that limit the promixity New flute spots are chosen at random with minimum bias. +## Follower Shuffle (--shuffle_followers) + +This shuffles the follower companions throughout the world. Here is a full list of followers in the game: + +- Princess Zelda +- Old Man +- Blind Maiden +- Frog/Blacksmith +- Locksmith (Guy who unlocks Purple Chest) +- Kiki the Monkey +- Purple Chest +- Super Bomb + +When followers are shuffled, you must still fulfill the original requirements of the follower location. For example, if the Super Bomb Shop now contains the Frog, you must have crystals 5 and 6 and 100 rupees to unlock the Frog. It is also important to note that Purple Chest still needs to be delivered to the usual spot. Also, since it isn't useful normally, many people might not know that the Locksmith (the Purple Chest unlocking guy) can follow you, you must remove his sign to get him to follow. + +Most of the limitations of followers in the vanilla game have been lifted for this shuffle to work. For instance, you are able to mirror, flute, die, collect a crystal, and save/quit in most situations and still retain the follower. You are also able to enter caves/dungeons and complete dig game while you have a follower. + +In the scenario where you are forced down a narrow path and a follower is in your way and you already have a different follower. Running into that follower will switch the followers rather than overwriting, this gives you the opportunity to proceed with either one of the followers. Note that if you leave the screen, you lose this option to switch and you will need to go back to the original place you found the first follower. + +Optionally, thru the customizer, you can add a follower to your starting inventory, and you will be given that follower and it will stay with you until you complete their quest. + ## Bonk Drop Shuffle (--bonk_drops) This adds 42 new item locations to the game. These bonk locations are limited to the ones that drop a static item in the vanilla game. @@ -403,6 +424,12 @@ This gives each OW tile a random chance to be flipped to the opposite world For randomizing the flute spots around the overworld +``` +--shuffle_followers +``` + +This shuffles the follower companion locations, ie. Purple Chest, Old Man, etc. + ``` --bonk_drops ``` diff --git a/Regions.py b/Regions.py index 7068f0f6..d539cb86 100644 --- a/Regions.py +++ b/Regions.py @@ -133,7 +133,7 @@ def create_regions(world, player): create_lw_region(player, 'Ice Cave Area', None, ['Ice Rod Cave', 'Good Bee Cave', '20 Rupee Cave', 'Ice Cave Water Drop', 'Ice Cave SE']), create_lw_region(player, 'Ice Cave Water', None, ['Ice Cave Pier', 'Ice Cave SW'], 'Light World', Terrain.Water), create_lw_region(player, 'Desert Pass Area', ['Middle Aged Man'], ['Desert Fairy', '50 Rupee Cave', 'Middle Aged Man', 'Desert Pass Ladder (South)', 'Desert Pass Rocks (North)', 'Desert Pass WS', 'Desert Pass EC']), - create_lw_region(player, 'Middle Aged Man', ['Purple Chest'], None), + create_lw_region(player, 'Middle Aged Man', ['Purple Chest', 'Locksmith'], None), create_lw_region(player, 'Desert Pass Southeast', None, ['Desert Pass Rocks (South)', 'Desert Pass ES']), create_lw_region(player, 'Desert Pass Ledge', None, ['Desert Pass Ladder (North)', 'Desert Pass Ledge Drop', 'Desert Pass WC']), create_lw_region(player, 'Dam Area', ['Sunken Treasure'], ['Dam', 'Dam WC', 'Dam WS', 'Dam NC', 'Dam EC']), @@ -197,7 +197,8 @@ def create_regions(world, player): create_dw_region(player, 'Broken Bridge Northeast', None, ['Broken Bridge Hammer Rock (North)', 'Broken Bridge Hookshot Gap', 'Broken Bridge Northeast Water Drop', 'Broken Bridge NE']), create_dw_region(player, 'Broken Bridge West', None, ['Broken Bridge West Water Drop', 'Broken Bridge NW']), create_dw_region(player, 'Broken Bridge Water', None, ['Broken Bridge NC'], 'Dark World', Terrain.Water), - create_dw_region(player, 'Palace of Darkness Area', None, ['Palace of Darkness Hint', 'Palace of Darkness', 'Palace of Darkness SW', 'Palace of Darkness SE']), + create_dw_region(player, 'Palace of Darkness Area', ['Kiki'], ['Palace of Darkness Hint', 'Palace of Darkness', 'Kiki Assistance', 'Palace of Darkness SW', 'Palace of Darkness SE']), + create_dw_region(player, 'Dark Palace Button', ['Kiki Assistance'], None), create_dw_region(player, 'Darkness Cliff', None, ['Dark Dunes Cliff Ledge Drop', 'Hammer Bridge North Cliff Ledge Drop', 'Dark Tree Line Cliff Ledge Drop', 'Palace of Darkness Cliff Ledge Drop']), create_dw_region(player, 'Hammer Pegs Area', ['Dark Blacksmith Ruins'], ['Hammer Peg Cave', 'Peg Area Rocks (East)']), create_dw_region(player, 'Hammer Pegs Entry', None, ['Peg Area Rocks (West)', 'Hammer Pegs WS']), @@ -436,7 +437,6 @@ def create_dungeon_regions(world, player): create_dungeon_region(player, 'Hyrule Dungeon Staircase', 'Hyrule Castle', None, ['Hyrule Dungeon Staircase Up Stairs', 'Hyrule Dungeon Staircase Down Stairs']), create_dungeon_region(player, 'Hyrule Dungeon Cellblock', 'Hyrule Castle', ['Hyrule Castle - Big Key Drop'], ['Hyrule Dungeon Cellblock Up Stairs', 'Hyrule Dungeon Cellblock Door']), create_dungeon_region(player, 'Hyrule Dungeon Cell', 'Hyrule Castle', - ["Hyrule Castle - Zelda's Chest"] if not std_flag else ["Hyrule Castle - Zelda's Chest", 'Zelda Pickup'], ['Hyrule Dungeon Cell Exit']), @@ -1255,7 +1255,9 @@ def adjust_locations(world, player): location.type = LocationType.Logical location.real = False if l not in ['Ganon', 'Agahnim 1', 'Agahnim 2']: - location.skip = True + from ItemList import follower_quests + if not world.shuffle_followers[player] or l not in follower_quests: + location.skip = True def valid_pot_location(pot, pot_set, world, player): @@ -1413,9 +1415,12 @@ location_events = { 'Ice Palace - Boss Kill': 'Beat Boss', 'Misery Mire - Boss Kill': 'Beat Boss', 'Turtle Rock - Boss Kill': 'Beat Boss', + 'Locksmith': 'Sign Vandalized', 'Lost Old Man': 'Escort Old Man', 'Old Man Drop Off': 'Return Old Man', 'Floodgate': 'Open Floodgate', + 'Kiki': 'Pick Up Kiki', + 'Kiki Assistance': 'Dark Palace Opened', 'Big Bomb': 'Pick Up Big Bomb', 'Pyramid Crack': 'Detonate Big Bomb', 'Frog': 'Get Frog', @@ -1671,9 +1676,12 @@ location_table = {'Mushroom': (0x180013, 0x186df8, False, 'in the woods'), 'Ice Palace - Boss Kill': (None, None, False, None), 'Misery Mire - Boss Kill': (None, None, False, None), 'Turtle Rock - Boss Kill': (None, None, False, None), + 'Locksmith': (None, None, False, None), 'Lost Old Man': (None, None, False, None), 'Old Man Drop Off': (None, None, False, None), 'Floodgate': (None, None, False, None), + 'Kiki': (None, None, False, None), + 'Kiki Assistance': (None, None, False, None), 'Frog': (None, None, False, None), 'Missing Smith': (None, None, False, None), 'Dark Blacksmith Ruins': (None, None, False, None), diff --git a/Rom.py b/Rom.py index abea18f4..c102dfec 100644 --- a/Rom.py +++ b/Rom.py @@ -43,7 +43,7 @@ from source.enemizer.Enemizer import write_enemy_shuffle_settings JAP10HASH = '03a63945398191337e896e5771f77173' -RANDOMIZERBASEHASH = '80e0a4f8bd5cc6f83ac9f7f46c01bf4f' +RANDOMIZERBASEHASH = '7ce0f9fc9db08644ff77fb41993d9e34' class JsonRom(object): @@ -638,10 +638,6 @@ def patch_rom(world, rom, player, team, is_mystery=False): write_int16(rom, 0x150002, owMode) write_int16(rom, 0x150004, owFlags) - from OverworldShuffle import can_reach_smith - if not can_reach_smith(world, player): - rom.write_byte(0x180043, 0x01) # patch for deleting smith on S+Q - # patch entrance/exits/holes for region in world.regions: for exit in region.exits: @@ -1545,9 +1541,44 @@ def patch_rom(world, rom, player, team, is_mystery=False): rom.write_byte(snes_to_pc(0x0DB810), 0x8A) # allows heart pieces to travel across water # rom.write_byte(snes_to_pc(0x0DB730), 0x08) # allows chickens to travel across water - # allow smith into multi-entrance caves in appropriate shuffles - if world.shuffle[player] in ['restricted', 'simple', 'full', 'lite', 'lean', 'district', 'swapped', 'crossed', 'insanity']: - rom.write_byte(0x18004C, 0x01) + + if world.shuffle_followers[player]: + from ItemList import follower_locations, follower_pickups + + for loc_name, address in follower_locations.items(): + loc = world.get_location(loc_name, player) + rom.write_byte(address, follower_pickups[loc.item.name]) + + rom.write_byte(0x18004C, 0x02) # enable follower shuffle + rom.write_byte(snes_to_pc(0x1BBD3A), 0x80) # allow all followers thru entrances + rom.write_bytes(snes_to_pc(0x1DFC70), [0xEA, 0xEA]) # allow followers at dig game + rom.write_byte(snes_to_pc(0x02823B), 0x80) # allow super bomb indoors + rom.write_byte(snes_to_pc(0x0283FB), 0x80) # allow maiden to go outside + rom.write_bytes(snes_to_pc(0x02D6F2), [0xEA, 0xEA]) # disable old man checkpoint + rom.write_byte(snes_to_pc(0x05DEFA), 0xAF) # no follower despawn at uncle + rom.write_byte(snes_to_pc(0x05DF3C), 0xAF) # no follower despawn at uncle + rom.write_bytes(snes_to_pc(0x079448), [0xEA, 0xEA]) # dont draw super bomb while falling into holes + rom.write_byte(snes_to_pc(0x079595), 0x80) # allow super bomb to follow into OW holes + rom.write_bytes(snes_to_pc(0x07A132), [0xEA, 0xEA]) # allow bomb use with super bomb + rom.write_byte(snes_to_pc(0x07A4B4), 0x80) # allow ether use with super bomb + rom.write_byte(snes_to_pc(0x07A589), 0x80) # allow bombos use with super bomb + rom.write_byte(snes_to_pc(0x07A66B), 0x80) # allow quake use with super bomb + rom.write_byte(snes_to_pc(0x07A919), 0x80) # disable kiki dialogue during mirror + rom.write_byte(snes_to_pc(0x07AAC5), 0xAF) # keep all followers after mirroring + rom.write_byte(snes_to_pc(0x08DED6), 0x80) # allow locksmith to follow with flute + rom.write_bytes(snes_to_pc(0x09A045), [0xEA, 0xEA]) # allow super bomb to follow into UW holes + rom.write_byte(snes_to_pc(0x09ACDF), 0x6B) # allow kiki/locksmith to follow after screen transition + + if world.enemy_shuffle[player] != 'none': + # informs zelda and maiden to draw over gfx slots that are guaranteed unused + rom.write_bytes(0x1802C1, world.data_tables[player].room_headers[0x80].free_gfx[0:2]) + rom.write_bytes(0x1802C7, world.data_tables[player].room_headers[0x45].free_gfx[0:2]) + else: + from OverworldShuffle import can_reach_smith + if not can_reach_smith(world, player): + rom.write_byte(0x180043, 0x01) # patch for deleting smith on S+Q + if world.shuffle[player] in ['restricted', 'simple', 'full', 'lite', 'lean', 'district', 'swapped', 'crossed', 'insanity']: + rom.write_byte(0x18004C, 0x01) # allow smith into multi-entrance caves in appropriate shuffles # set correct flag for hera basement item hera_basement = world.get_location('Tower of Hera - Basement Cage', player) diff --git a/Rules.py b/Rules.py index 29c95a9b..68dfda95 100644 --- a/Rules.py +++ b/Rules.py @@ -252,6 +252,7 @@ def global_rules(world, player): set_rule(world.get_location('Zora\'s Ledge', player), lambda state: state.has('Flippers', player)) set_rule(world.get_location('Flute Spot', player), lambda state: state.has('Shovel', player)) set_rule(world.get_location('Bombos Tablet', player), lambda state: state.has('Book of Mudora', player) and state.has_beam_sword(player)) + set_rule(world.get_location('Kiki Assistance', player), lambda state: state.has('Pick Up Kiki', player)) # Can S&Q with chest set_rule(world.get_location('Middle Aged Man', player), lambda state: state.has('Pick Up Purple Chest', player)) # Can S&Q with chest set_rule(world.get_location('Purple Chest', player), lambda state: state.has('Deliver Purple Chest', player)) # Can S&Q with chest set_rule(world.get_location('Sunken Treasure', player), lambda state: state.has('Open Floodgate', player)) @@ -406,6 +407,7 @@ def global_rules(world, player): set_rule(world.get_entrance('Bonk Fairy (Dark)', player), lambda state: state.has_Boots(player)) set_rule(world.get_entrance('Dark Lake Hylia Ledge Spike Cave', player), lambda state: state.can_lift_rocks(player)) + set_rule(world.get_entrance('Palace of Darkness', player), lambda state: state.has('Dark Palace Opened', player)) set_rule(world.get_entrance('Skull Woods Final Section', player), lambda state: state.has('Fire Rod', player)) set_rule(world.get_entrance('Misery Mire', player), lambda state: state.has_sword(player) and state.has_misery_mire_medallion(player)) # sword required to cast magic (!) set_rule(world.get_entrance('Turtle Rock', player), lambda state: state.has('Turtle Opened', player)) @@ -1128,6 +1130,8 @@ def ow_bunny_rules(world, player): add_bunny_rule(world.get_location('Maze Race', player), player) add_bunny_rule(world.get_location('Flute Spot', player), player) add_bunny_rule(world.get_location('Catfish', player), player) + add_bunny_rule(world.get_location('Kiki', player), player) + add_bunny_rule(world.get_location('Locksmith', player), player) # entrances add_bunny_rule(world.get_entrance('Lost Woods Hideout Drop', player), player) @@ -1148,7 +1152,6 @@ def ow_bunny_rules(world, player): add_bunny_rule(world.get_entrance('Skull Woods Final Section', player), player) # bunny cannot use fire rod add_bunny_rule(world.get_entrance('Hookshot Cave', player), player) add_bunny_rule(world.get_entrance('Thieves Town', player), player) # bunny cannot pull - add_bunny_rule(world.get_entrance('Palace of Darkness', player), player) # kiki needs pearl add_bunny_rule(world.get_entrance('Hammer Peg Cave', player), player) add_bunny_rule(world.get_entrance('Bonk Fairy (Dark)', player), player) add_bunny_rule(world.get_entrance('Misery Mire', player), player) @@ -1639,7 +1642,6 @@ def standard_rules(world, player): else: add_rule(loc, lambda state: standard_escape_rule(state)) - set_rule(world.get_location('Zelda Pickup', player), lambda state: state.has('Big Key (Escape)', player)) set_rule(world.get_entrance('Hyrule Castle Tapestry Backwards', player), lambda state: state.has('Zelda Herself', player)) def check_rule_list(state, r_list): @@ -1702,7 +1704,7 @@ def set_bunny_rules(world, player, inverted): bunny_accessible_locations = ['Link\'s Uncle', 'Sahasrahla', 'Sick Kid', 'Lost Woods Hideout', 'Lumberjack Tree', 'Checkerboard Cave', 'Potion Shop', 'Spectacle Rock Cave', 'Pyramid', 'Old Man', 'Hype Cave - Generous Guy', 'Peg Cave', 'Bumper Cave Ledge', 'Dark Blacksmith Ruins', - 'Spectacle Rock', 'Bombos Tablet', 'Ether Tablet', 'Purple Chest', 'Blacksmith', + 'Spectacle Rock', 'Bombos Tablet', 'Ether Tablet', 'Kiki Assistance', 'Purple Chest', 'Blacksmith', 'Missing Smith', 'Master Sword Pedestal', 'Bottle Merchant', 'Sunken Treasure', 'Desert Ledge', 'Pyramid Crack', 'Big Bomb', 'Stumpy', 'Lost Old Man', 'Old Man Drop Off', 'Murahdahla', 'Kakariko Shop - Left', 'Kakariko Shop - Middle', 'Kakariko Shop - Right', diff --git a/data/base2current.bps b/data/base2current.bps index db46c22a6aaf24c4317e0d06e25a5acb3590b983..84b14dd60ee8f4971aa260ec8bde9ec35c33c7ce 100644 GIT binary patch delta 18728 zcmX^-c|a4#*V!b5aEJSbWjO>y#T##`sHmu@*easp4MwZAo~UFt5FkKE!bp~|ge(Ds zfS4#Mq9S-z(`uVv>xl=57ofFi#cFA--=u$h((Icz_sqU|^RDe%6<@9AE57&0c%hpL zl*D8)Gq6!X7AEE^i9Y3%BEg-XbzE?Qxc-Z7;Ie?Ieg+RP_AVT24P)#J0eKC+~Y@TjOC7?_$zlKTs#5zv_%5IRA?`ZWaY=2MFt%0p#N*#K&^(D_gY6349SkJ zV3BQ+a33$;?hwk^^H7#{0Cw_XLmrgWAECe9DwZ_^#(b6(Cjt@(09nFR17blANSh8_ zZBN^7e5)&$5fr>->y5pFFKoACkKr=@B)R8l_`t;q*; ze4Wb$C0M~R8S!s#EgwyZ{}`^bd*xpvVNQ|aVv;nHU>q6_{qihi{wXC90yo%?v-^0F zxeeVPOVyCE&vtTu!~pI9`lpZ){cyO$IQ9^L>m0VQSH6bdJ50jHK(1o~+wKvZ?h zW(kpY5S(HGQhY;3&@j!}9~%w#J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aZ6cl<7#%2f=8B#+^<=>0 z8gS4is(33xa<;Q(1*NYM_Qg63{OyF3x`1J14l{X}i6gF12FKG;+V^6XP*-q!A!3b895t_3rxpl!H7 z3-Ulhi|c-10@Q`a_>>OxA2NB;a}=FWRree3Y!?mJ_Si(&F;obv(~`)kqObqZWi->w zbIr7M1!{+i6larPbGj0HRDmLXytf`#SAlr`>I517xeDl9_N=Va*#xOy6*Lq|j5Awu z^gvF5aoE{Fw#3?&SOee#Fbc=lfM~D=uc{$CDl-M+8loHo_-YN<678A!K#^vklFqK^ zTPn}!Y{31dDs??C(|Xcmc48wvXI}+B9D?vVJHv_>cnRK63*zIRk>l(Z$-%#cHo=v@ zg_4Kc&q*cemUM1^kI?_}SQov1!+iG6uFW2>an8JbmFYueEq7``9_=qX^0SuWbL?HB zqC3g;3%Tx*NVOvgHte|wjCS5R&dEAF`8)8P$LRjGraoZk=h?zJpXUna%{{yGN(+4n z9N^mp56MLXTYmT+M2Z~(*4N9K&pz6@+gd(f2NMOtRZC9RI1Xt^x&w|pVr``tz_5oY!*&ux~{}k@L50E2oalInwbI@n~ zu0<_7AAnmxn6k1S$1HA{`v{BxZYv^ARX_Rs?(+-sd#z@49NzyJY<8YG`hoiM=R2R# zXY6C&;@<@-Y2lj0JpC7rEvG4Jpa4YU7eXr8@vRxKUy#@YIdqQ4iYOlv0z2EXNJLGi zNJgj5o(ct_E#KQyyMV*MKJ8_W+vI58h?W_S)OyOb?}QJ>_o;aaBv)CWb(`Jty)$)5 PD88n1`7 Date: Wed, 30 Apr 2025 06:49:42 -0500 Subject: [PATCH 25/26] Fixed incorrect bunny music issue --- Rom.py | 2 +- data/base2current.bps | Bin 136345 -> 136347 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Rom.py b/Rom.py index c102dfec..7309db3c 100644 --- a/Rom.py +++ b/Rom.py @@ -43,7 +43,7 @@ from source.enemizer.Enemizer import write_enemy_shuffle_settings JAP10HASH = '03a63945398191337e896e5771f77173' -RANDOMIZERBASEHASH = '7ce0f9fc9db08644ff77fb41993d9e34' +RANDOMIZERBASEHASH = '2ccee3f731044db154e0608f2a4e32a9' class JsonRom(object): diff --git a/data/base2current.bps b/data/base2current.bps index 84b14dd60ee8f4971aa260ec8bde9ec35c33c7ce..c343873dfcdd2ca320c1be257de450657397c602 100644 GIT binary patch delta 2100 zcmW+#YgALm8a;FJ4v$2Pzy-x{0EL2rKt)k0FIyCRYprcWYL%uQuS+djsSjqN0n=*; zVT1z&$U#I+5n+*PY8ALr3q(-UYF%ot%G*Gdn=a|X)>`l3uKDrJe6#mj``fdp+#)tv z#7%bqXvKFyELdZekTU`QMU8u=HG;R81QpiL1QR59fIk*56w4m5qZvpSiBE~+z;ygj zi~--eOQPk0D|p=f1lVsy9vT25t$dkK3Yx8M|2Ra(mkqI_qkkc&MyM(Z=@t*O^;1me z5Og4TPS-KSMnI&k&XFSB=;)|}*(XMo43UH?>!?2KHGeTbjTq+mMOrEhQ}7!jq@2~d zZ&B4%R5cyysT3!B(y*zPNj+T>ZUN;*qF`vL{+o5nqS~HvG}pyC|7C!y-qbr-u1q4+ zFkYt&mHg`DF3;S!1T9u2_vBdkw7AQ`>NG&~54Y z5w-{A-!Gvi@arI@B5;(gG-altGNi3!7Hvo8^;EWXUU0S?xU6NdPgB8TE6lwooYw!8 zZK~Nf#1=^?Zzo&2`|Za@Y8Iwpg2>`zi*!^EZi4=cRZh0oyfv=sG=hl;>7Su|l?K6Y zb;1$07iqhYHVW3K?fgCi;s6aNS}}5EYVLoFjQK@VsX#13^L;o^Pfh~$XAdVmK*QgQ z7xdn*qQ1lH(Hsz9)u1LR7{xIs^1!IodZI6G#{0#UNMZ8ch#I2oOI;E6_gtZ;B(P8f z3xjhZzHq%WB4TF$XON}_ud!5o0cw|@VcU35*nT-xSpe5PV%I-n2OhC|AG6>IOX8Xz zvR0J};9Gvr+vY^~ zyo*$GS}*=v>JT-!^X*LL;Ke1NqBho|~i%Tc9dfGe5|$$*{z|IRTc6GwKX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n}pW(qs;H*qbB)l=n)|xok}RGn3hm88(j4S~8EKAS{76?Ana{&^V~G0#+RlQKI<+)9=w%PDf2q z-RJP>R9TOX>ZDeJ(782V(zZaQ<*l;2WuwCBs!??ipwiKqEB2yY(h@`By*5aeH6bplG~QDMsP73Gw&z3Ri%6tyGJAPW&Co+2FL%lHD&W^4{$$S9)YoZ3X6S z?~kKk99o2Z5W5$D*ZW35Ix}pY8Y}na9&L+VQR?0_F*B>o9Y5@yaQj;%OpfTDX?o8# zcwOQjynk!QxujdAf8AEzFpZ#zS;Q)09nraGTRCQIx?>ii)fs2 z0P3w@tZPhRuV;aIAclXD1(Hbl^0m(mjsf_@lF6^k1}gyY<#jn=%?z-Rzi|kJfdFyL zt4nK+oucCgxMndtGnaHJnlsE&R-O-rKoUEV5Bz~AFM%MN^lE5n5ubE}%6oS=W8*(b^2*>*7|GLh&X0bcicZGT7T1-p2A5qKt*r-VPdpqc)4C=B4cOTZWa!F;O;h=36Fn^Mpv0$;MILda+(f3^ag z2EdEWs02H}U)c6aP(`_YSfkq}W7qK6Rp2Ke$qc?@&fw$BV222#vURl}4k-CMwZJKn zhQvent~mb6DL~Ga9Ev`Q*YmyIV3C)^bISm`iWl{Pg!zDCm&wRr5YKOxk%=DEBfoRm IY_hEPe<%v9H~;_u From 3f930c095c6ec6148c077f0e6f20fbcd27c88859 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 30 Apr 2025 13:47:49 -0500 Subject: [PATCH 26/26] Version bump 0.6.0.0 --- CHANGELOG.md | 9 +++++++++ OverworldShuffle.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9e21869..4b1a10a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.6.0.0 +- New Follower Shuffle option (See Readme) +- HMG fixes for key pickup behavior +- Fixed some errors with starting equipment +- Added documentation for some unknown/obscure starting inventory options +- Possible fix for ignorable error message for EXE users +- \~Merged in DR v1.4.9~ + - Fixed Moth conveyor issue + ## 0.5.1.5 - Fixed rare overworld map check VRAM crash - Fixed cavestate dark room hidden item issue diff --git a/OverworldShuffle.py b/OverworldShuffle.py index 6118b731..f0ab938e 100644 --- a/OverworldShuffle.py +++ b/OverworldShuffle.py @@ -8,7 +8,7 @@ from OWEdges import OWTileRegions, OWEdgeGroups, OWEdgeGroupsTerrain, OWExitType from OverworldGlitchRules import create_owg_connections from Utils import bidict -version_number = '0.5.1.5' +version_number = '0.6.0.0' # branch indicator is intentionally different across branches version_branch = '-u'