Better file output names
The adjuster now appends _adjusted to the pre-existing file name (before the extension) instead of a static output name.
This commit is contained in:
parent
193b3323b7
commit
fb09c05017
|
@ -19,7 +19,7 @@ def adjust(args):
|
|||
else:
|
||||
sprite = None
|
||||
|
||||
outfilebase = 'ER_adjusted'
|
||||
outfilebase = os.path.basename(args.rom)[:-4] + '_adjusted'
|
||||
|
||||
if os.stat(args.rom).st_size == 2097152 and os.path.splitext(args.rom)[-1].lower() == '.sfc':
|
||||
rom = LocalRom(args.rom, False)
|
||||
|
|
Loading…
Reference in New Issue