mirror of
https://github.com/n64decomp/mk64
synced 2026-08-06 09:32:33 -04:00
EU 1.0 OK (#265)
* EU 1.0 ok * EU 1.1 ok Co-authored-by: AloXado320 <david.albujar.s.30@gmail.com>
This commit is contained in:
+6
-2
@@ -4,13 +4,17 @@ def add_custom_arguments(parser):
|
||||
group = parser.add_mutually_exclusive_group(required=False)
|
||||
group.add_argument('-u', dest='lang', action='store_const', const='us',
|
||||
help="Set version to US.")
|
||||
group.add_argument('-eu10', dest='lang', action='store_const', const='eu',
|
||||
help="Set version to EU.")
|
||||
group.add_argument('-eu11', dest='lang', action='store_const', const='eu',
|
||||
help="Set version to EU.")
|
||||
|
||||
def apply(config, args):
|
||||
lang = args.lang or 'us'
|
||||
if args.lang == 'eu10': lang = 'eu-1.0'
|
||||
if args.lang == 'eu11': lang = 'eu-final'
|
||||
config['mapfile'] = f'build/{lang}/mk64.{lang}.map'
|
||||
config['myimg'] = f'build/{lang}/mk64.{lang}.z64'
|
||||
config['baseimg'] = f'baserom.{lang}.z64'
|
||||
config['makeflags'] = [f'VERSION={lang}']
|
||||
config['source_directories'] = ['.']
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user