mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Improvements to a few scripts & renamed a couple files.
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
def add_custom_arguments(parser):
|
||||
group = parser.add_mutually_exclusive_group(required=False)
|
||||
group.add_argument('-j', dest='lang', action='store_const', const='jp',
|
||||
help="Set version to JP.")
|
||||
group.add_argument('-u', dest='lang', action='store_const', const='us',
|
||||
help="Set version to US.")
|
||||
group.add_argument('-e', dest='lang', action='store_const', const='eu',
|
||||
help="Set version to EU.")
|
||||
group.add_argument('-s', dest='lang', action='store_const', const='sh',
|
||||
help="Set version to SH.")
|
||||
|
||||
def apply(config, args):
|
||||
lang = args.lang or 'us'
|
||||
config['mapfile'] = f'build/us_1.0/dkr.map'
|
||||
config['myimg'] = f'build/us_1.0/dkr.z64'
|
||||
config['baseimg'] = f'baseroms/Diddy Kong Racing (USA 1.0).z64'
|
||||
config['makeflags'] = [f'']
|
||||
config['source_directories'] = ['src']
|
||||
Reference in New Issue
Block a user