1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-25 14:16:11 +00:00
oot/diff_settings.py
Derek Hensley 5785c7adfb
Move roms to build folder (#1651)
* Move built roms to build directory, along with rename map and linker script

* PR review

* sym_info fix

* Revert docs/tutorial/data.md change
2024-02-02 16:34:20 -05:00

10 lines
484 B
Python

def add_custom_arguments(parser):
parser.add_argument("-v", "--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']