From 13e4df3c2a26a32c1ec42c12ed53955eee1b108b Mon Sep 17 00:00:00 2001 From: Stewie Date: Sun, 20 Mar 2022 12:56:47 -0400 Subject: [PATCH] Adjusting the path when extracting menu files to be in the base Data/TOR --- ToolsTales.py | 3 ++- __pycache__/ToolsTOR.cpython-38.pyc | Bin 9774 -> 9774 bytes __pycache__/ToolsTales.cpython-38.pyc | Bin 23231 -> 23231 bytes 3 files changed, 2 insertions(+), 1 deletion(-) 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 8627ec75cd57f23ef163936ed5fb614ce01896c8..a730327b50b207cca894eed9576fe45235ecb4a2 100644 GIT binary patch delta 19 acmZ4Iv(ASrl$V!_fq{X+GI}GIiW&ef{{#^L delta 19 acmZ4Iv(ASrl$V!_fq{Xc&~zi0iW&egkpv?E diff --git a/__pycache__/ToolsTales.cpython-38.pyc b/__pycache__/ToolsTales.cpython-38.pyc index f8dd4e738f9860a788475aa67b8d5ccaaeb0bbdd..e778a04d05454072b0f4cefcfb5afd6ca6e708cb 100644 GIT binary patch delta 75 zcmdnLm2v-8M&3|fUM>a(1_sR-^Q5|syip;O|Ap{PE)D5qoIm-0$Sg*d$+JQyFs_`e i9X5e+&E!2{+ZZ=YE)K6`+`0K}_&r8Op~+_=KLY^tfgQ5| delta 75 zcmdnLm2v-8M&3|fUM>a(28LNt=1C|f9C`o%