From f476747aded4a7722f6d9f2ab9b0c673472cc51f Mon Sep 17 00:00:00 2001 From: espeon65536 Date: Thu, 28 Apr 2022 09:44:53 -0500 Subject: [PATCH] OoT: remove early ROM check Will be replaced with an Autoworld class method, can_generate --- worlds/oot/__init__.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/worlds/oot/__init__.py b/worlds/oot/__init__.py index 775718e9..4cccd5e5 100644 --- a/worlds/oot/__init__.py +++ b/worlds/oot/__init__.py @@ -89,13 +89,6 @@ class OOTWorld(World): self.hint_data_available = threading.Event() super(OOTWorld, self).__init__(world, player) - @classmethod - def stage_generate_early(cls, world: MultiWorld): - # Check that an OoT ROM exists at the specified path. Raises exception on failure. - # We don't need the ROM until output, but we want to fail early if no ROM is provided. - rom = Rom(file=get_options()['oot_options']['rom_file']) - del rom - 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: