Adjusting the path when extracting menu files to be in the base Data/TOR

This commit is contained in:
Stewie
2022-03-20 12:56:47 -04:00
parent be7cd877ee
commit 13e4df3c2a
3 changed files with 2 additions and 1 deletions

View File

@@ -911,7 +911,7 @@ class ToolsTales:
#Write to XML file
txt=etree.tostring(root, encoding="UTF-8", pretty_print=True)
with open(file_definition['File_XML'], "wb") as xmlFile:
with open(file_definition['File_XML'].replace("/{}".format(self.repo_name),""), "wb") as xmlFile:
xmlFile.write(txt)
@@ -919,6 +919,7 @@ class ToolsTales:
def extract_All_Menu(self):
self.mkdir("../Data/{}/Menu/New".format(self.gameName))
#Prepare the menu files (Unpack PAK files and use comptoe)

Binary file not shown.