mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
MLSS: General bugfixes + Add patch extension to inno_setup.iss (#3286)
* Remove outdated header change for ROM verification * Update Connections to be compatible with python ver. 3.8 * Update inno_setup.iss * Update inno_setup.iss
This commit is contained in:
@@ -47,19 +47,10 @@ class MLSSClient(BizHawkClient):
|
||||
# Check ROM name/patch version
|
||||
rom_name_bytes = await bizhawk.read(ctx.bizhawk_ctx, [(0xA0, 14, "ROM")])
|
||||
rom_name = bytes([byte for byte in rom_name_bytes[0] if byte != 0]).decode("UTF-8")
|
||||
if not rom_name.startswith("MARIO&LUIGIU"):
|
||||
return False
|
||||
if rom_name == "MARIO&LUIGIUA8":
|
||||
if not rom_name.startswith("MARIO&LUIGIUA8"):
|
||||
logger.info(
|
||||
"ERROR: You appear to be running an unpatched version of Mario & Luigi Superstar Saga. "
|
||||
"You need to generate a patch file and use it to create a patched ROM."
|
||||
)
|
||||
return False
|
||||
if rom_name != "MARIO&LUIGIUAP":
|
||||
logger.info(
|
||||
"ERROR: The patch file used to create this ROM is not compatible with "
|
||||
"this client. Double check your client version against the version being "
|
||||
"used by the generator."
|
||||
"ERROR: You have opened a game that is not Mario & Luigi Superstar Saga. "
|
||||
"Please make sure you are opening the correct ROM."
|
||||
)
|
||||
return False
|
||||
except UnicodeDecodeError:
|
||||
|
Reference in New Issue
Block a user