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:
kipcode66
2022-12-26 12:39:59 -05:00
committed by GitHub
parent e0c23673db
commit f79e4e04f3
4 changed files with 56 additions and 4 deletions
+3 -3
View File
@@ -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()
+2 -1
View File
@@ -8,4 +8,5 @@ ansiwrap
watchdog
python-Levenshtein
cxxfilt
oead
syaz0
pyelftools