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]
|
[metadata]
|
||||||
name = supSMSASM
|
name = supSMSASM
|
||||||
version = 0.0.4
|
version = 0.0.5b1
|
||||||
author = sup39
|
author = sup39
|
||||||
author_email = sms@sup39.dev
|
author_email = sms@sup39.dev
|
||||||
description = A tool to make Gecko code from ASM for SMS
|
description = A tool to make Gecko code from ASM for SMS
|
||||||
|
|
|
@ -25,10 +25,10 @@ def normalize_dolver(s):
|
||||||
return 'NTSC-J_1.0'
|
return 'NTSC-J_1.0'
|
||||||
if re.match(r'^(?:JP?A|N(?:TSC)?[-_]?J)(?:1\.?1|\.1|A)?$|^1\.1$', s):
|
if re.match(r'^(?:JP?A|N(?:TSC)?[-_]?J)(?:1\.?1|\.1|A)?$|^1\.1$', s):
|
||||||
return 'NTSC-J_1.1'
|
return 'NTSC-J_1.1'
|
||||||
#if re.match(r'^EU|P|PAL$', s):
|
if re.match(r'^EU|P|PAL$', s):
|
||||||
# return 'PAL'
|
return 'PAL'
|
||||||
#if re.match(r'^US?|N(?:TSC)?[-_]?U$', s):
|
if re.match(r'^US?|N(?:TSC)?[-_]?U$', s):
|
||||||
# return 'NTSC-U'
|
return 'NTSC-U'
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def system(argv, *args, **kwargs):
|
def system(argv, *args, **kwargs):
|
||||||
|
@ -197,7 +197,7 @@ def main():
|
||||||
argv = sys.argv
|
argv = sys.argv
|
||||||
argc = len(argv)
|
argc = len(argv)
|
||||||
if argc <= 1:
|
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)
|
sys.exit(1)
|
||||||
|
|
||||||
fnIn = argv[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