master
Lucent 2023-10-11 12:25:31 +02:00
parent eb93656ec0
commit d09df67d39
1 changed files with 1 additions and 1 deletions

View File

@ -4668,7 +4668,7 @@ def patch_game():
os.replace('.\\data\\MFOR.gba', '.\\seeds\\{}.gba'.format(FileName)) os.replace('.\\data\\MFOR.gba', '.\\seeds\\{}.gba'.format(FileName))
else: else:
source = open(BaseName, 'rb') source = open(BaseName, 'rb')
target = open(os.path.join('.', 'seeds', '{}.gba'.format(FileName), 'wb') target = open(os.path.join('.', 'seeds', '{}.gba'.format(FileName)), 'wb')
patch = open(os.path.join('.', 'data', 'MFOR.bps'), 'rb') patch = open(os.path.join('.', 'data', 'MFOR.bps'), 'rb')
try: try:
apply_to_files(patch, source, target) apply_to_files(patch, source, target)