mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
SM and SMZ3 apworld support (#1677)
This commit is contained in:
@@ -5,6 +5,7 @@ import json
|
||||
import Utils
|
||||
from Utils import read_snes_rom
|
||||
from worlds.Files import APDeltaPatch
|
||||
from .variaRandomizer.utils.utils import openFile
|
||||
|
||||
SMJUHASH = '21f3e98df4780ee1c667b84e57d88675'
|
||||
SM_ROM_MAX_PLAYERID = 65535
|
||||
@@ -43,7 +44,7 @@ def get_base_rom_path(file_name: str = "") -> str:
|
||||
return file_name
|
||||
|
||||
def get_sm_symbols(sym_json_path) -> dict:
|
||||
with open(sym_json_path, "r") as stream:
|
||||
with openFile(sym_json_path, "r") as stream:
|
||||
symbols = json.load(stream)
|
||||
symboltable = {}
|
||||
for name, sixdigitaddr in symbols.items():
|
||||
|
||||
Reference in New Issue
Block a user