Merge branch 'main' into oot

This commit is contained in:
Fabian Dill
2022-05-02 11:54:00 +02:00
committed by GitHub
34 changed files with 2406 additions and 69 deletions

View File

@@ -89,6 +89,10 @@ class OOTWorld(World):
self.hint_data_available = threading.Event()
super(OOTWorld, self).__init__(world, player)
@classmethod
def stage_assert_generate(cls, world: MultiWorld):
rom = Rom(file=get_options()['oot_options']['rom_file'])
def generate_early(self):
# Player name MUST be at most 16 bytes ascii-encoded, otherwise won't write to ROM correctly
if len(bytes(self.world.get_player_name(self.player), 'ascii')) > 16: