The VG Resource

Full Version: Could Somebody Make a Batch Converter for GTX?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Exactly what the title says. Does anybody think they can make this?
It's only because I have about 74 folders with about 1,336 GTX files.
It can be for any alpha-supported image type.
Thanks in advance!
It'd be great if you could give us some samples to work with. I made a converter for GTX files from Patapon 1 and 2 but I don't know if they're the same format.
(09-12-2015, 11:13 PM)puggsoy Wrote: [ -> ]It'd be great if you could give us some samples to work with. I made a converter for GTX files from Patapon 1 and 2 but I don't know if they're the same format.

I assume he's talking about the Wii U's GTX Image Format.
Samples
Code:
for /R %%a IN (*.gtx) DO "*PATH TO TEXCONV2 FOLDER*\texconv2.exe" -i "%%a" -o "%%~dpna.dds"

Put that in a .BAT file, then copy it and run just the batch file to whatever folder you want to convert the files in the folders for. The DDS files will be in the same folder as the GTX textures when it's done converting instead of going to the "Convert" folder.

Code:
for /R %%a IN (*.gtx) DO "*PATH TO TEXCONV2 FOLDER*\texconv2.exe" -i "%%a" -f GX2_SURFACE_FORMAT_TCS_R8_G8_B8_A8_SRGB -o "%%~dpna.gtx"

And this .BAT file will pre-convert them to the "lossless" format, you can run that before the other one if you need to.