diff --git a/ToolsTales.py b/ToolsTales.py index 0f50d75..e96dfeb 100644 --- a/ToolsTales.py +++ b/ToolsTales.py @@ -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) diff --git a/__pycache__/ToolsTOR.cpython-38.pyc b/__pycache__/ToolsTOR.cpython-38.pyc index 8627ec7..a730327 100644 Binary files a/__pycache__/ToolsTOR.cpython-38.pyc and b/__pycache__/ToolsTOR.cpython-38.pyc differ diff --git a/__pycache__/ToolsTales.cpython-38.pyc b/__pycache__/ToolsTales.cpython-38.pyc index f8dd4e7..e778a04 100644 Binary files a/__pycache__/ToolsTales.cpython-38.pyc and b/__pycache__/ToolsTales.cpython-38.pyc differ