add NTSC-U/PAL support (beta)
This commit is contained in:
parent
c388281199
commit
f768990dbd
6 changed files with 103576 additions and 8838 deletions
|
@ -1,6 +1,6 @@
|
|||
[metadata]
|
||||
name = supSMSASM
|
||||
version = 0.0.4
|
||||
version = 0.0.5b1
|
||||
author = sup39
|
||||
author_email = sms@sup39.dev
|
||||
description = A tool to make Gecko code from ASM for SMS
|
||||
|
|
|
@ -25,10 +25,10 @@ def normalize_dolver(s):
|
|||
return 'NTSC-J_1.0'
|
||||
if re.match(r'^(?:JP?A|N(?:TSC)?[-_]?J)(?:1\.?1|\.1|A)?$|^1\.1$', s):
|
||||
return 'NTSC-J_1.1'
|
||||
#if re.match(r'^EU|P|PAL$', s):
|
||||
# return 'PAL'
|
||||
#if re.match(r'^US?|N(?:TSC)?[-_]?U$', s):
|
||||
# return 'NTSC-U'
|
||||
if re.match(r'^EU|P|PAL$', s):
|
||||
return 'PAL'
|
||||
if re.match(r'^US?|N(?:TSC)?[-_]?U$', s):
|
||||
return 'NTSC-U'
|
||||
return None
|
||||
|
||||
def system(argv, *args, **kwargs):
|
||||
|
@ -197,7 +197,7 @@ def main():
|
|||
argv = sys.argv
|
||||
argc = len(argv)
|
||||
if argc <= 1:
|
||||
logger.error('Usage: %s {*.s} [JP|JPA]'%argv[0])
|
||||
logger.error('Usage: %s {*.s} [JP|JPA|EU|US]'%argv[0])
|
||||
sys.exit(1)
|
||||
|
||||
fnIn = argv[1]
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
52122
src/supSMSASM/ldscript/NTSC-U.ld
Normal file
52122
src/supSMSASM/ldscript/NTSC-U.ld
Normal file
File diff suppressed because it is too large
Load diff
51448
src/supSMSASM/ldscript/PAL.ld
Normal file
51448
src/supSMSASM/ldscript/PAL.ld
Normal file
File diff suppressed because it is too large
Load diff
Reference in a new issue