Skip to content

Tloz beta ap 0.6.5#92

Open
kkkkkkkkkkkkai wants to merge 3 commits intoRosalie-A:The-Legend-of-Zelda-AP-betafrom
kkkkkkkkkkkkai:tloz-beta-ap-0.6.5
Open

Tloz beta ap 0.6.5#92
kkkkkkkkkkkkai wants to merge 3 commits intoRosalie-A:The-Legend-of-Zelda-AP-betafrom
kkkkkkkkkkkkai:tloz-beta-ap-0.6.5

Conversation

@kkkkkkkkkkkkai
Copy link

Sadly the Tloz V2 Beta breaks on AP 0.6.5, both generating and patching, see errors at the end.

The error during generation probably traces back to ArchipelagoMW#5431 (courtesy of Steele).
The error during patching i cannot explain, but seems to be an easy enough fix

Before merging
There seem to be changes in the latest beta that were not pushed yet (or i have not found yet). So before doing anything i need the missing commits so i can drop the (most likely) superfluous commit first.

Error message when trying to gen

Archipelago (0.6.5) logging initialized on Linux-6.18.2-arch2-1-x86_64-with-glibc2.42 process 98347 running Python 3.12.11 (frozen)
P1 Weights: <other players>
P2 Weights: Kai_A.yaml >> Default The Legend of Zelda Template
P3 Weights: <other players>
P4 Weights: <other players>
P5 Weights: <other players>
P6 Weights: <other players>
P7 Weights: <other players>
P8 Weights: <other players>
P9 Weights: <other players>
Generating for 9 players, 40248304581833166531 Seed 56387565869928782201 with plando: connections, texts, bosses
Invalid or missing manifest file for /opt/Archipelago/0.6.5/custom_worlds/tloz.apworld. This apworld will stop working with Archipelago 0.7.0.
There is no item named 'archipelago.json' in the archive - This might be the incorrect world version for this file
Invalid or missing manifest file for /opt/Archipelago/0.6.5/lib/worlds/rogue_legacy.apworld. This apworld will stop working with Archipelago 0.7.0.
There is no item named 'archipelago.json' in the archive - This might be the incorrect world version for this file
worlds/pokemon_emerald/data.py:12: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
Could not load world WorldSource(/opt/Archipelago/0.6.5/custom_worlds/tloz.apworld, is_zip=True, relative=False):
Traceback (most recent call last):
  File "worlds/__init__.py", line 68, in load
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/opt/Archipelago/0.6.5/custom_worlds/tloz.apworld/tloz/__init__.py", line 15, in <module>
    from .ItemPool import generate_itempool, starting_weapons, dangerous_weapon_locations
  File "/opt/Archipelago/0.6.5/custom_worlds/tloz.apworld/tloz/ItemPool.py", line 4, in <module>
    from .Locations import level_locations, all_level_locations, standard_level_locations, shop_locations
  File "/opt/Archipelago/0.6.5/custom_worlds/tloz.apworld/tloz/Locations.py", line 1, in <module>
    from . import Rom
  File "/opt/Archipelago/0.6.5/custom_worlds/tloz.apworld/tloz/Rom.py", line 276, in <module>
    class TLOZProcedurePatch(APProcedurePatch, APTokenMixin):
  File "worlds/Files.py", line 55, in __new__
worlds.Files.ImproperlyConfiguredAutoPatchError: Two auto patch containers are using the same file extension: <class 'worlds.tloz.Rom.TLOZProcedurePatch'>, <class 'worlds.tloz.Rom.TLoZDeltaPatch'>
Traceback (most recent call last):
  File "worlds/__init__.py", line 68, in load
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/opt/Archipelago/0.6.5/custom_worlds/tloz.apworld/tloz/__init__.py", line 15, in <module>
    from .ItemPool import generate_itempool, starting_weapons, dangerous_weapon_locations
  File "/opt/Archipelago/0.6.5/custom_worlds/tloz.apworld/tloz/ItemPool.py", line 4, in <module>
    from .Locations import level_locations, all_level_locations, standard_level_locations, shop_locations
  File "/opt/Archipelago/0.6.5/custom_worlds/tloz.apworld/tloz/Locations.py", line 1, in <module>
    from . import Rom
  File "/opt/Archipelago/0.6.5/custom_worlds/tloz.apworld/tloz/Rom.py", line 276, in <module>
    class TLOZProcedurePatch(APProcedurePatch, APTokenMixin):
  File "worlds/Files.py", line 55, in __new__
worlds.Files.ImproperlyConfiguredAutoPatchError: Two auto patch containers are using the same file extension: <class 'worlds.tloz.Rom.TLOZProcedurePatch'>, <class 'worlds.tloz.Rom.TLoZDeltaPatch'>

Error message when trying to patch

Archipelago (0.6.5) logging initialized on Linux-6.18.2-arch2-1-x86_64-with-glibc2.42 process 89958 running Python 3.12.11 (frozen)
Patch file was supplied. Creating nes rom..
Traceback (most recent call last):
  File "__startup__.py", line 133, in run
  File "console.py", line 25, in run
  File "Zelda1Client.py", line 393, in <module>
  File "asyncio/runners.py", line 195, in run
  File "asyncio/runners.py", line 118, in run
  File "asyncio/base_events.py", line 691, in run_until_complete
  File "Zelda1Client.py", line 364, in main
  File "Patch.py", line 25, in create_rom_file
  File "worlds/Files.py", line 357, in patch
  File "/opt/Archipelago/0.6.5/custom_worlds/tloz.apworld/tloz/Rom.py", line 213, in apply_randomizer
  File "/opt/Archipelago/0.6.5/custom_worlds/tloz.apworld/tloz/Rom.py", line 158, in apply_base_patch
  File "bsdiff4/format.py", line 95, in patch
TypeError: a bytes-like object is required, not '_io.BufferedReader'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant