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:
AmazingAmpharos
2018-01-06 21:06:34 -06:00
committed by GitHub
parent 193b3323b7
commit fb09c05017

View File

@@ -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)