VitaSmith / gust_tools

A set of utilities for dealing with Gust (Koei Tecmo) PC games files
Other
213 stars 25 forks source link

PS4 texType 0x60 (PS4 DXT1) #45

Closed RebootRevival closed 3 years ago

RebootRevival commented 3 years ago

You might take a look and this. I still don't understand all the DDS encoding however, if you remove the "supported = false" and replace it with "swizzled = true", at line 797, you get a visibly clean file. For me, I only need a clean image that I can modify and repackage to PS3, so this is fine for me.
Just wondering if there is something I am not seeing by doing this.

PS4-DXT1-extracted.zip PS4-DXT1-g1t.zip

Thanks.

VitaSmith commented 3 years ago

Thanks. I tested your suggested code changes against the .g1t files and they look good for me. I will release a new version of gust_tools that adds support for type 0x60 textures.