mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-30 05:41:15 +00:00
e833011ccd
* Pass all paths to tools rather than tools constructing them * fix: make --baserom-segments required * sync with mm reviews * --version everywhere
11 lines
500 B
Python
11 lines
500 B
Python
def add_custom_arguments(parser):
|
|
parser.add_argument("-v", "--version", dest="oot_version", help="OOT version", default="gc-eu-mq-dbg")
|
|
|
|
def apply(config, args):
|
|
version = args.oot_version
|
|
config['mapfile'] = f'build/{version}/oot-{version}.map'
|
|
config['myimg'] = f'build/{version}/oot-{version}.z64'
|
|
config['baseimg'] = f'baseroms/{version}/baserom-decompressed.z64'
|
|
config['makeflags'] = [f'VERSION={version}']
|
|
config['source_directories'] = ['src', 'include', 'spec']
|