UndertaleModTool
UndertaleModTool copied to clipboard
UTMT fails to load specific image format (Category: GPU compressed textures)
trafficstars
Describe the bug
When you try to load data.win or game.droid, etc. you meet up with an error message:
Failed to recognize any known image header at <LOCATION> while reading object UndertaleModLib.Models.UndertaleEmbeddedTexture+TexData in chunk TXTR
Reproducing steps
- Open your GameMaker project
- Tools > Texture Groups
- Set texture group format to custom 3.1. If the target is e.g. Windows, you can place the example "BCN -3 -u2" into Custom Options. 3.2. If the target is e.g. Android, you can place the example "ASTC 6x6 -medium" into Custom Options. 3.3. If the target is e.g. PS4, you can place the example "GNF -f Bc7Unorm -b 0.5" into Custom Options.
- Create Executable
- Head to directory <CURRENT_USER>\AppData\Local\GameMakerStudio2\GMS2TEMP\ and you can easily find the folder that was created by your project 5.1. If the mentioned target was Windows for example, you can directly open data.win file with UTMT. 5.2. If the mentioned target was Android for example, go inside the zip archive and go to assets folder. You can open game.droid file with UTMT as usual. 5.3. I have no clue where the data file is for PS4/PS5 platforms. Observed: UTMT failed to load DDS/ASTC/GNF texture files.
Setup Details
1: UTMT latest commit 2: Windows 10 or later 3: GM2024.4 or later, with GM-GPUTextureCompression extension installed to your current project
install this
[mega link] Archive password: changeme If you don't have the c compliator, install it.(gcc or clang)
What is this and how is it supposed to help?