Fix issues with older games spamming error messages about textures being the wrong size
This commit is contained in:
@@ -251,7 +251,7 @@ with open(behaviourFN, "rb") as behaviourFile:
|
||||
|
||||
if len(sys.argv) > 4:
|
||||
atlasName = readString(atlasName)
|
||||
with open(outFN + "/" + atlasName + "_Texture2D.dat", "wb") as outFile:
|
||||
with open(outFN + "/" + original.filename + " Atlas_Texture2D.dat", "wb") as outFile:
|
||||
outFile.write(atlasOut)
|
||||
with open(outFN + "/" + original.filename + "_TextMeshProFont.dat", "wb") as outFile:
|
||||
outFile.write(combineFonts(original=original, new=behaviour))
|
||||
|
||||
Reference in New Issue
Block a user