mirror of
https://github.com/zeldaret/tp
synced 2026-09-07 03:10:11 -04:00
added VSCode devcontainer config files (#213)
* added VSCode devcontainer config files * removed useless command * changed oead to syaz0 * addded cmake to the container
This commit is contained in:
@@ -6,7 +6,7 @@ from pathlib import Path
|
||||
import hashlib
|
||||
import struct
|
||||
import ctypes
|
||||
import oead
|
||||
import syaz0
|
||||
|
||||
|
||||
def copy(path,destPath):
|
||||
@@ -224,7 +224,7 @@ def addFile(index,sizeIndex,dirs,name,stringTable,paths,data):
|
||||
path = relPath
|
||||
file.unk1 = 0
|
||||
fileData = open(path,"rb")
|
||||
compressedData = oead.yaz0.compress(fileData.read())
|
||||
compressedData = syaz0.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 = oead.yaz0.compress(data)
|
||||
data = syaz0.compress(data)
|
||||
relNew = open(buildPath/"game/files/rel/Final/Release"/file,"wb")
|
||||
relNew.write(data)
|
||||
relNew.truncate()
|
||||
|
||||
@@ -8,4 +8,5 @@ ansiwrap
|
||||
watchdog
|
||||
python-Levenshtein
|
||||
cxxfilt
|
||||
oead
|
||||
syaz0
|
||||
pyelftools
|
||||
Reference in New Issue
Block a user