3
edits
(set mepno bug) |
|||
Line 169: | Line 169: | ||
---- | ---- | ||
== | ==Main_title_-_01v2_[Group][CCRCCRCC].ext== | ||
<pre> | <pre> | ||
set('atitle', at('x-jat')) | set('atitle', at('x-jat')) | ||
if(length(atitle)=0, set('atitle', at(' | if(length(atitle)=0, set('atitle', at('95'))) | ||
if(length(atitle)=0, set('atitle', at('87'))) | |||
if(length(atitle)=0, set('atitle', at('en'))) | |||
if(length(atitle)=0, set('atitle', A.Name)) | if(length(atitle)=0, set('atitle', A.Name)) | ||
set('atitle', replace(atitle, '\', '_')) | set('atitle', replace(atitle, '\', '_')) | ||
set('etitle', et('en')) | |||
set('etitle', et(' | |||
if(length(etitle)=0, set('etitle', et('x-jat'))) | if(length(etitle)=0, set('etitle', et('x-jat'))) | ||
if(length(etitle)=0, set('etitle', et(' | if(length(etitle)=0, set('etitle', et('en'))) | ||
if(length(etitle)=0, set('etitle', E.Name)) | if(length(etitle)=0, set('etitle', E.Name)) | ||
set('etitle', replace(etitle, '\', '_')) | set('etitle', replace(etitle, '\', '_')) | ||
Line 189: | Line 190: | ||
if(E.TypeId=5, set('epno', 'P'+epno)) | if(E.TypeId=5, set('epno', 'P'+epno)) | ||
if(E.TypeId=6, set('epno', 'O'+epno)) | if(E.TypeId=6, set('epno', 'O'+epno)) | ||
set('groupname', if(G, if(length(G.Shortname)>0, G.Shortname, G.Name), ' | set('groupname', if(G, if(length(G.Shortname)>0, G.Shortname, G.Name), 'no group')) | ||
set('groupname', if(length(groupname)>0, '['+groupname+']')) | set('groupname', if(length(groupname)>0, '['+groupname+']')) | ||
set('groupname', replace(groupname, '\', '_')) | set('groupname', replace(groupname, '\', '_')) | ||
set('crc', if(H, H.Crc32, F.Crc)) | set('crc', if(H, H.Crc32, F.Crc)) | ||
if(length(crc)>0, set('crc', '['+uc(crc)+']')) | if(length(crc)>0, set('crc', '['+uc(crc)+']')) | ||
Line 208: | Line 208: | ||
set('filename', replace(filename, ' ', '_')) | set('filename', replace(filename, ' ', '_')) | ||
set('filename', replace(filename, '__', '_')) | set('filename', replace(filename, '__', '_')) | ||
set('filename', replace(filename, '.hack_', 'hack_')) | |||
filename | filename | ||
</pre> | </pre> |
edits