You've already forked PythonLib
mirror of
https://github.com/lifebottle/PythonLib.git
synced 2026-02-13 15:25:50 -08:00
Add step to remove folder before unpacking with pakcomposer
This commit is contained in:
@@ -12,7 +12,7 @@ import lxml.etree as etree
|
||||
|
||||
|
||||
tool = ToolsTOR.ToolsTOR("TBL_All.json")
|
||||
tool.extract_Main_Archive()
|
||||
tool.extract_All_Menu()
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -851,6 +851,7 @@ class ToolsTales:
|
||||
#Extract if needed (PakComposer or other)
|
||||
if "pak" in file_name:
|
||||
|
||||
shutil.rmtree(menu_path+file_number)
|
||||
self.pakComposer_Comptoe(menu_path+file_name, "-d", "-{}".format(file_name[-1]), True, os.getcwd())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user