Hi, TwiliChaos.
Thanks for sharing your awesome script.
Can you update your script as it doesn't work with models from the latest version of the game?
Textures cannot be opened at all, and the model is gray.
Thanks.
PS: It seems that they have changed the texture format. Now the file signature is 4A6F6B657200 (Joker.), rather than 89504E47 (�PNG).
PPS: I was able to figure out the textures. Now textures are stored in JPEG File Interchange Format (JFIF) format, instead of PNG format.
Textures chunk:
--header (24 bytes)
Thanks for sharing your awesome script.
Can you update your script as it doesn't work with models from the latest version of the game?
Textures cannot be opened at all, and the model is gray.
Thanks.
PS: It seems that they have changed the texture format. Now the file signature is 4A6F6B657200 (Joker.), rather than 89504E47 (�PNG).
PPS: I was able to figure out the textures. Now textures are stored in JPEG File Interchange Format (JFIF) format, instead of PNG format.
Textures chunk:
--header (24 bytes)
- 4 bytes > texture ID
- 4 bytes joker_size > size of joker chunk data (if 0, no texture???)
- 6 bytes magic > null terminated string "Joker."
- 2 bytes unknown > F101 => 497
- 4 bytes diffuse_size > size of the diffuse texture data
- 4 bytes alpha_size > size of alpha texture data (if 0, no texture)
- diffuse_size * bytes > diffuse texture data, simply export into JPG file
- alpha_size * bytes > alpha texture data, simply export into JPG file