1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-02 07:46:01 +00:00
oot/diff_settings.py

11 lines
458 B
Python
Raw Normal View History

2023-12-11 08:23:42 +00:00
def add_custom_arguments(parser):
parser.add_argument("-v", "--oot-version", help="OOT version", default="gc-eu-mq-dbg")
2020-03-17 04:31:30 +00:00
def apply(config, args):
2023-12-11 08:23:42 +00:00
version = args.oot_version
config['mapfile'] = f'build/{version}/z64.map'
config['myimg'] = f'oot-{version}.z64'
config['baseimg'] = f'baseroms/{version}/baserom-decompressed.z64'
config['makeflags'] = [f'VERSION={version}']
config['source_directories'] = ['src', 'include', 'spec']