From 7482ca03d4e52cdb3dabf9035d8812ece1af2095 Mon Sep 17 00:00:00 2001 From: Miepee Date: Sat, 21 Feb 2026 00:06:29 +0100 Subject: [PATCH] Prepare for ASM 0.12.0 --- pull-assembly-patches.py | 2 +- src/mars_patcher/mf/auto_generated_types.py | 3 --- src/mars_patcher/mf/data/schema.json | 5 ----- src/mars_patcher/mf/misc_patches.py | 4 ---- src/mars_patcher/mf/patcher.py | 4 ---- 5 files changed, 1 insertion(+), 17 deletions(-) diff --git a/pull-assembly-patches.py b/pull-assembly-patches.py index 6bbd827..07b0ee1 100644 --- a/pull-assembly-patches.py +++ b/pull-assembly-patches.py @@ -6,7 +6,7 @@ import requests -VERSION = "0.11.0" +VERSION = "0.12.0" ASSET_NAME = "Randomizer.Patches.zip" DESTINATION_ASSEMBLY_PATH = ( Path(__file__) diff --git a/src/mars_patcher/mf/auto_generated_types.py b/src/mars_patcher/mf/auto_generated_types.py index f3fdbdb..101bce2 100644 --- a/src/mars_patcher/mf/auto_generated_types.py +++ b/src/mars_patcher/mf/auto_generated_types.py @@ -657,9 +657,6 @@ class Marsschemamf(typ.TypedDict, total=False): UnexploredMap: bool = False """When enabled, starts you with a map where all unexplored items and non-visited tiles have a gray background. This is different from the downloaded map stations where there, the full tile is gray.""" - AccessibilityPatches: bool = False - """Whether to apply patches for better accessibility.""" - LevelEdits: dict[Areaidkey, dict[str, MarsschemamfLeveledits]] """Specifies room edits that should be done. These will be applied last.""" diff --git a/src/mars_patcher/mf/data/schema.json b/src/mars_patcher/mf/data/schema.json index 843d1a0..53f8294 100644 --- a/src/mars_patcher/mf/data/schema.json +++ b/src/mars_patcher/mf/data/schema.json @@ -627,11 +627,6 @@ "description": "When enabled, starts you with a map where all unexplored items and non-visited tiles have a gray background. This is different from the downloaded map stations where there, the full tile is gray.", "default": false }, - "AccessibilityPatches": { - "type": "boolean", - "description": "Whether to apply patches for better accessibility.", - "default": false - }, "LevelEdits": { "type": "object", "description": "Specifies room edits that should be done. These will be applied last.", diff --git a/src/mars_patcher/mf/misc_patches.py b/src/mars_patcher/mf/misc_patches.py index 0201caf..eeaa48b 100644 --- a/src/mars_patcher/mf/misc_patches.py +++ b/src/mars_patcher/mf/misc_patches.py @@ -108,9 +108,5 @@ def apply_reveal_unexplored_doors(rom: Rom) -> None: apply_patch_in_asm_path(rom, "unhidden_map_doors.ips") -def apply_accessibility_patch(rom: Rom) -> None: - apply_patch_in_asm_path(rom, "accessibility.ips") - - def apply_instant_unmorph_patch(rom: Rom) -> None: rom.write_8(rom.read_ptr(ReservedPointersMF.INSTANT_MORPH_FLAG_POINTER_ADDR.value), 1) diff --git a/src/mars_patcher/mf/patcher.py b/src/mars_patcher/mf/patcher.py index 0c4b674..9a1fad3 100644 --- a/src/mars_patcher/mf/patcher.py +++ b/src/mars_patcher/mf/patcher.py @@ -15,7 +15,6 @@ ) from mars_patcher.mf.locations import LocationSettings from mars_patcher.mf.misc_patches import ( - apply_accessibility_patch, apply_alternative_health_layout, apply_base_patch, apply_environmental_damage, @@ -131,9 +130,6 @@ def patch_mf( write_credits(rom, credits_text) # Misc patches - if patch_data.get("AccessibilityPatches"): - apply_accessibility_patch(rom) - if patch_data.get("DisableDemos"): disable_demos(rom)