Important Announcement
Forum has been made read-only. Please click here for more information or here to return to The Spriters Resource.

Poll: What game should I rip next?
You do not have permission to vote in this poll.
A Mario Game
25.00%
1 25.00%
A Kirby Game
25.00%
1 25.00%
A Sonic Game
0%
0 0%
A Zelda Game
50.00%
2 50.00%
Total 4 vote(s) 100%
* You voted for this item. [Show Results]

Could Somebody Make a Batch Converter for GTX?
#1
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!
#2
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.
#3
(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
#4
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.


Forum Jump:


Users browsing this thread: 1 Guest(s)