VitaSmith / gust_tools

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

Native Support for GT1 files #18

Closed NikoofDeath closed 3 years ago

NikoofDeath commented 3 years ago

In looking into modding some non-gust Koei games (Dragon Quest Heroes II and Builders 2 in this case, but potentially others as well), I found that the texture format gt1 was suspiciously similar in name to the g1t textures used in gust's games. While gust_g1t didn't accept them because it checks the extension of its files, simply changing the extension to g1t got it working (seemingly) perfectly. Obviously, not being gust games, these aren't exactly in the scope of this project, but I think it would make sense for gust_g1t to accept gt1 files as well (assuming there isn't some incompatibility that isn't clear to me). Here are two example files, and their extracted forms, (2e4 from Dragon Quest Builders 2, 21c from Heroes II) for testing purposes

yretenai commented 3 years ago

All Koei games past a certain point in time use KTGL 1, 1.5/Lite, or 2. The engine shares a lot of formats, G1T and G1M being the two used since the early ps3 era. So DQH and DQB using KTGL/G1T/G1M formats is no surprise.

Whatever you used to extract the textures erroneously called the textures GT1 files because of the file signature being GT1G (but it's written/read as little endian so it's G1TG, Graphics 1 Texture Group)

I've been trying to catalog a list of Koei games that use the modern engine but it's pretty much everything released since 2007.

VitaSmith commented 3 years ago

Sounds easy enough to add. Will do this in the newly released version.