This commit is contained in:
Maide
2024-08-10 03:03:49 +01:00
parent cc9dfb18b4
commit ec6770e70e
12 changed files with 2397 additions and 11 deletions

View File

@@ -39,15 +39,15 @@ def firstDiffMain():
parser = argparse.ArgumentParser(description="Find the first difference(s) between the built ROM and the base ROM.")
parser.add_argument("-c", "--count", type=int, default=5, help="find up to this many instruction difference(s)")
parser.add_argument("-v", "--version", help="Which version should be processed", default="jp")
parser.add_argument("-v", "--version", help="Which version should be processed", default="us")
parser.add_argument("-a", "--add-colons", action='store_true', help="Add colon between bytes" )
args = parser.parse_args()
buildFolder = Path("build")
BUILTROM = buildFolder / f"pokestadium.z64"
BUILTMAP = buildFolder / f"pokestadium.map"
BUILTROM = buildFolder / f"pokestadium-{args.version}.z64"
BUILTMAP = buildFolder / f"pokestadium-{args.version}.map"
EXPECTEDROM = "expected" / BUILTROM
EXPECTEDMAP = "expected" / BUILTMAP