f_op_msg_mng 19/20 matched (#227)

This commit is contained in:
Pheenoh
2022-12-29 17:30:35 -07:00
committed by GitHub
parent fddeb5f5b5
commit 5d4f161d43
10 changed files with 215 additions and 424 deletions
+2 -2
View File
@@ -224,7 +224,7 @@ def addFile(index,sizeIndex,dirs,name,stringTable,paths,data):
path = relPath
file.unk1 = 0
fileData = open(path,"rb")
compressedData = syaz0.compress(fileData.read())
compressedData = oead.yaz0.compress(fileData.read())
padding = (0x20-(len(compressedData)%0x20))
file.fileLength = len(compressedData)
file.fileOffset = sizeIndex
@@ -255,7 +255,7 @@ def copyRelFiles(buildPath,aMemList,mMemList):
relSource = open(fullPath,"rb")
data = relSource.read()
relSource.close()
data = syaz0.compress(data)
data = oead.yaz0.compress(data)
relNew = open(buildPath/"game/files/rel/Final/Release"/file,"wb")
relNew.write(data)
relNew.truncate()
+1 -1
View File
@@ -8,5 +8,5 @@ ansiwrap
watchdog
python-Levenshtein
cxxfilt
syaz0
oead
pyelftools