Fix JP build and add action to test all versions (#558)

* Fix JP build

* Add a script to verify all versions.

* symbol size udpate, and scratch link update

* Add support for diffing other regions and versions with custom flags
This commit is contained in:
Ryan Myers
2025-05-06 15:22:41 -04:00
committed by GitHub
parent 9427c0a5f4
commit 6217af0c38
11 changed files with 100 additions and 13 deletions
+22 -3
View File
@@ -1,7 +1,26 @@
def apply(config, args):
config["baseimg"] = "baseroms/baserom.us.v77.z64"
config["myimg"] = "build/dkr.us.v77.z64"
config["mapfile"] = "build/dkr.us.v77.map"
config["baseimg"] = f"baseroms/baserom." + args.region + "." + args.version + ".z64"
config["myimg"] = f"build/dkr." + args.region + "." + args.version + ".z64"
config["mapfile"] = f"build/dkr." + args.region + "." + args.version + ".map"
config["source_directories"] = ["src"]
config["show_line_numbers_default"] = True
config["expected_dir"] = "expected/"
config["makeflags"] = ["REGION=" + args.region, "VERSION=" + args.version]
def add_custom_arguments(parser):
parser.add_argument(
"-r",
"--REGION",
dest="region",
default="us",
type=str,
help="Set the region",
)
parser.add_argument(
"-v",
"--VERSION",
dest="version",
default="v77",
type=str,
help="Set the version",
)