From b10f68c4ced6e2cc062c98bf90abc94f3bd8cebf Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Tue, 18 Jul 2023 07:41:30 +1000 Subject: [PATCH] Create temporary merged MB bin/cue in subdir and not in cwd Signed-off-by: Ronnie Sahlberg --- pop-fe.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pop-fe.py b/pop-fe.py index ee6af21..e000fd3 100755 --- a/pop-fe.py +++ b/pop-fe.py @@ -2001,12 +2001,12 @@ def create_manual(source, gameid, subdir='./pop-fe-work/'): mb = 'MB%d' % (0 if not idx else idx[0]) temp_files.append(mb) if os.name == 'posix': - subprocess.call(['python3', './binmerge', '-o', '.', cue_file, mb]) + subprocess.call(['python3', './binmerge', '-o', subdir, cue_file, mb]) else: - subprocess.call(['binmerge.exe', '-o', '.', cue_file, mb]) - cue_file = mb + '.cue' + subprocess.call(['binmerge.exe', '-o', subdir, cue_file, mb]) + cue_file = subdir + mb + '.cue' temp_files.append(cue_file) - img_file = mb + '.bin' + img_file = subdir + mb + '.bin' temp_files.append(img_file) cu2_file = cue_file[:-4] + '.cu2'