You've already forked Diddy-Kong-Racing
mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-03-10 11:36:09 -07:00
* 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
27 lines
843 B
Python
27 lines
843 B
Python
def apply(config, args):
|
|
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",
|
|
)
|