The VG Resource
Could Somebody Make a Batch Converter for GTX? - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: Archive (https://www.vg-resource.com/forum-65.html)
+--- Forum: Old (https://www.vg-resource.com/forum-148.html)
+---- Forum: Requests (https://www.vg-resource.com/forum-131.html)
+---- Thread: Could Somebody Make a Batch Converter for GTX? (/thread-27763.html)



Could Somebody Make a Batch Converter for GTX? - supersmashball - 09-12-2015

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!


RE: Could Somebody Make a Batch Converter for GTX? - puggsoy - 09-12-2015

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.


RE: Could Somebody Make a Batch Converter for GTX? - Struggleton! - 09-12-2015

(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


RE: Could Somebody Make a Batch Converter for GTX? - Random Talking Bush - 09-12-2015

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.