mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
システムアプリにはサフィックスをつけるように変更
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2281 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
002608f6ff
commit
88688fc2e9
@ -106,9 +106,26 @@ def main():
|
||||
#--- make directory for cls
|
||||
tadpath = os.path.dirname(tadfile)
|
||||
gamecode = binascii.unhexlify('%x'%titleId_L)
|
||||
#clsdir = ''.join([tadpath,'/',gamecode])
|
||||
clsdir = ''.join(['./',gamecode])
|
||||
keycode = gamecode[:3]
|
||||
sysdic = { 'HNA':'menu',
|
||||
'HNB':'setting',
|
||||
'HNC':'wfirm',
|
||||
'HND':'dlplay',
|
||||
'HNE':'pchat',
|
||||
'HNF':'shop',
|
||||
'HNG':'browser',
|
||||
'HNH':'whlist',
|
||||
'HNI':'photo',
|
||||
'HNJ':'nzv',
|
||||
'HNK':'sound',
|
||||
'HNL':'verdata',
|
||||
}
|
||||
try:
|
||||
suffix = sysdic.get(keycode)
|
||||
if suffix:
|
||||
clsdir = ''.join(['./',gamecode,'-',suffix])
|
||||
else:
|
||||
clsdir = ''.join(['./',gamecode])
|
||||
os.mkdir(clsdir)
|
||||
except:
|
||||
print '%s : can not create dir %s' % (sys.argv[0],clsdir)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user