OoT Adjuster: remove -comp from patched output rom name

This commit is contained in:
espeon65536 2021-11-15 08:46:23 -06:00
parent d8dedbe7fa
commit 09fb956ba6
1 changed files with 2 additions and 2 deletions

View File

@ -226,8 +226,8 @@ def adjust(args):
rom.write_byte(rom.sym('DEATH_LINK'), args.deathlink) rom.write_byte(rom.sym('DEATH_LINK'), args.deathlink)
# Output new file # Output new file
path_pieces = os.path.splitext(args.rom) path_pieces = os.path.splitext(args.rom)
decomp_path = path_pieces[0] + '-adjusted.n64' decomp_path = path_pieces[0] + '-adjusted-decomp.n64'
comp_path = path_pieces[0] + '-adjusted-comp.n64' comp_path = path_pieces[0] + '-adjusted.n64'
rom.write_to_file(decomp_path) rom.write_to_file(decomp_path)
compress_rom_file(decomp_path, comp_path) compress_rom_file(decomp_path, comp_path)
os.remove(decomp_path) os.remove(decomp_path)