From 22a77de35a34cfd217c2cb3f6c046c4536ddae2b Mon Sep 17 00:00:00 2001 From: FistingUranus <77898683+Fis-Ura@users.noreply.github.com> Date: Fri, 5 Aug 2022 15:22:45 -0400 Subject: [PATCH] Use the SLPS updated for SCPK pointers --- ToolsTOR.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ToolsTOR.py b/ToolsTOR.py index ceba2c9..2144d6a 100644 --- a/ToolsTOR.py +++ b/ToolsTOR.py @@ -539,11 +539,8 @@ class ToolsTOR(ToolsTales): print("Writing file %05d/%05d..." % (current - dummies, len(file_list))) - - shutil.copy( self.elf_original, self.elf_new) - - - with open(self.elf_new, "r+b") as output_elf: + #Use the new SLPS updated and update the pointers for the SCPK + with open("../Data/{}/Menu/New/SLPS_254.50".format(self.repo), "r+b") as output_elf: output_elf.seek(self.POINTERS_BEGIN) for i in range(len(sectors) - 1):