You've already forked PythonLib
mirror of
https://github.com/lifebottle/PythonLib.git
synced 2026-02-13 15:25:50 -08:00
Update pack_Main_Archive to include Skit
This commit is contained in:
@@ -382,7 +382,7 @@ class ToolsTOR(ToolsTales):
|
||||
# f.write(data_uncompressed)
|
||||
|
||||
#Update THEIRSCE uncompressed file
|
||||
theirsce = self.get_New_Theirsce(io.BytesIO(data_uncompressed), scpk_file_name)
|
||||
theirsce = self.get_New_Theirsce(io.BytesIO(data_uncompressed), scpk_file_name, self.story_XML_patch)
|
||||
|
||||
|
||||
theirsce.seek(0)
|
||||
@@ -540,7 +540,10 @@ class ToolsTOR(ToolsTales):
|
||||
if ".scpk" in file:
|
||||
print(file)
|
||||
data = self.pack_Story_File(file_name+".scpk")
|
||||
|
||||
|
||||
if ".pak2" in file:
|
||||
print(file)
|
||||
data = self.pack_Skit_File(file_name+".pak2")
|
||||
else:
|
||||
with open(file, "rb") as f2:
|
||||
data = f2.read()
|
||||
|
||||
Reference in New Issue
Block a user