Add simple bat files for extraction

This commit is contained in:
Stewie
2022-12-19 17:39:11 -05:00
committed by fortiersteven
parent 9152062ca9
commit 998a46e5a4
4 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
pushd ".."
python "NDX_Executable.py" -d Iso "../b-topndxj.iso"
popd
pause

View File

@@ -0,0 +1,4 @@
pushd ".."
python "NDX_Executable.py" -d Story
popd
pause

View File

@@ -0,0 +1,4 @@
pushd ".."
python "NDX_Executable.py" -d Skit
popd
pause

28
NDX_Executable.py Normal file
View File

@@ -0,0 +1,28 @@
import ToolsNDX
import sys
import os
if __name__ == "__main__":
operation = sys.argv[1]
choices = sys.argv[2]
tool = ToolsNDX.ToolsNDX("TBL_All.json")
if operation == "-d":
if choices == "Iso":
path = sys.argv[3]
tool.extract_Iso(path)
tool.extract_Main_Archive()
elif choices == "Story":
tool.extract_All_Story(True)
elif choices == "Skit":
tool.extract_All_Skit(True)