-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathdiff_settings.py
More file actions
26 lines (25 loc) · 843 Bytes
/
diff_settings.py
File metadata and controls
26 lines (25 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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",
)