UndertaleModTool
UndertaleModTool copied to clipboard
Calculate length of texture data during serialization instead of writing a set value & Update ImportGMS2FontData
Description
Fixes #1042
Caveats
This is a quite weird implementation, and I have no idea if it is correct or clean enough. Would like some feedback.
Notes
Should _TextureBlockSize
be removed altogether?
~~NTS: actually test~~ ImportGMS2FontData and NewTextureRepacker works correctly
I should also check if the value is written for games that use PNG
Download the artifacts for this pull request here:
GUI:
- GUI-windows-latest-isBundled-false-isSingleFile-false
- GUI-windows-latest-isBundled-false-isSingleFile-true
CLI:
Uh, won't this not work on pre-2022.3 games?
Hmm, I haven't checked
Added 2022.3 checks, should be correct now
I should also check if the value is written for games that use PNG
Also we still need to check this
What is the status of this pull request?