mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
f_op_msg_mng 19/20 matched (#227)
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -8,5 +8,5 @@ ansiwrap
|
||||
watchdog
|
||||
python-Levenshtein
|
||||
cxxfilt
|
||||
syaz0
|
||||
oead
|
||||
pyelftools
|
||||
Reference in New Issue
Block a user