From d1f0a29a02eebcb42b50bcd9ce4261bf600b3337 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sat, 2 Apr 2022 05:16:10 +0200 Subject: [PATCH] OoT: fix patching deltas when run from another folder --- OoTClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OoTClient.py b/OoTClient.py index 700098ec..a469f225 100644 --- a/OoTClient.py +++ b/OoTClient.py @@ -226,7 +226,7 @@ async def patch_and_run_game(apz5_file): decomp_path = base_name + '-decomp.z64' comp_path = base_name + '.z64' # Load vanilla ROM, patch file, compress ROM - rom = Rom(Utils.get_options()["oot_options"]["rom_file"]) + rom = Rom(Utils.local_path(Utils.get_options()["oot_options"]["rom_file"])) apply_patch_file(rom, apz5_file) rom.write_to_file(decomp_path) os.chdir(data_path("Compress"))