Mario Making Mods

MasterVermilli0nUser is Offline
Dat weeb NSMBU hacker though :3
  • Normal user
Since: 05-18-17
From: Not under a rock! :3
A faster C++ version of GTX Extractor, which is a tool that extracts textures from the GX2 Texture ('Gfx2' / .gtx file extension) format used in Wii U games, and saves them as DDS or BMP.

It can not convert DDS files back to a GTX files yet. :(

Supported texture formats:
-RGBA8_UNORM / RGBA8_SRGB
-RGB10A2_UNORM (Not supported in BMP ver)
-RGB565_UNORM (Not supported in BMP ver)
-RGB5A1_UNORM (Not supported in BMP ver)
-RGBA4_UNORM (Not supported in BMP ver)
-R8_UNORM (Not supported in BMP ver)
-RG8_UNORM (Not supported in BMP ver)
-RG4_UNORM (Not supported in BMP ver)
-BC1_UNORM / BC1_SRGB (DXT1)
-BC2_UNORM / BC2_SRGB (DXT3)
-BC3_UNORM / BC3_SRGB (DXT5)
-BC4_UNORM / BC4_SNORM (ATI1 / Not supported in BMP ver)
-BC5_UNORM / BC5_SNORM (ATI2 / Not supported in BMP ver)

---------------------------------------------------------------------------------------------

Why so complex?

Wii U textures appear to be packed using a complex 'texture swizzling' algorithm, presumably for faster access.

---------------------------------------------------------------------------------------------

Features:
-Extract GX2 Texture (.gtx) files!

---------------------------------------------------------------------------------------------

Known bugs:
-If you are trying to convert a GTX file from a BFRES file, you might run into some trouble.
-You still can't create GTX files yet. :(

---------------------------------------------------------------------------------------------

FAQ:
-How do I build this and what do I need?

Make sure you have an x64 version of gcc, and use the command:
"gcc -m64 -o gtx_extract gtx_extract.c"

-How do I use this?

Run the command "gtx_extract input output", where the input is your GTX file and the output
is your DDS file.

---------------------------------------------------------------------------------------------

Download.
Source code / Github.
Stella is best waifu. :3

Posted on 05-22-17, 10:34 am (rev. 3 by MasterVermilli0n on 12-21-17, 07:21 am)
  • Owner
Since: 05-17-17
From: Mushroom Kingdom
It can not convert DDS files back to a GTX files yet. :(
With all the recent advancements in your coding skills, have you tried to fix this yet?
Old 3DS XL info:
I used to have a 3DSafe A9LH V11.3.0-36U with Luma in my CTRNAND. Since ReiNAND Reibooted and Re-Reileased, I "switch"ed back.
Right now, I have boot9strap with Luma 8.0 as my CFW. Though, I'd like to see other CFW's for B9S.
Posted on 12-21-17, 03:40 am
  • Normal user
Since: 05-18-17

It can not convert DDS files back to a GTX files yet. :(
With all the recent advancements in your coding skills, have you tried to fix this yet?
umm, this came out 7 months ago, he remade the program in python, why use this one?
YouTube: https://www.youtube.com/channel/UCvb-SWK7kHhF1FdrM2r3_OQ
Twitter: https://www.twitter.com/granimated
Discord: GRAnimated ✓ᵛᵉʳᶦᶠᶦᵉᵈ#4979
Posted on 12-21-17, 03:45 am
  • Owner
Since: 05-17-17
From: Mushroom Kingdom
IDK, maybe people prefer the C++ codebase over Python? I mean, my school coding teacher told me to ditch python for reasons I could explain in a different thread.
Old 3DS XL info:
I used to have a 3DSafe A9LH V11.3.0-36U with Luma in my CTRNAND. Since ReiNAND Reibooted and Re-Reileased, I "switch"ed back.
Right now, I have boot9strap with Luma 8.0 as my CFW. Though, I'd like to see other CFW's for B9S.
Posted on 12-21-17, 03:47 am
MasterVermilli0nUser is Offline
Dat weeb NSMBU hacker though :3
  • Normal user
Since: 05-18-17
From: Not under a rock! :3
he remade the program in python
No, the Python one came first. This is a remake of the Python one for people who want the fastest way possible to decode textures.

With all the recent advancements in your coding skills, have you tried to fix this yet?
No. I'd recommend the Python one anyway since this one doesn't have parameters calculating, which is essential for creating GTX files.
Stella is best waifu. :3

Posted on 12-21-17, 07:16 am (rev. 1 by MasterVermilli0n on 12-21-17, 07:20 am)
  • Owner
Since: 05-17-17
From: Mushroom Kingdom
Will you ever add the Python version exclusive features onto the C++ version?
Old 3DS XL info:
I used to have a 3DSafe A9LH V11.3.0-36U with Luma in my CTRNAND. Since ReiNAND Reibooted and Re-Reileased, I "switch"ed back.
Right now, I have boot9strap with Luma 8.0 as my CFW. Though, I'd like to see other CFW's for B9S.
Posted on 12-22-17, 06:49 am
MasterVermilli0nUser is Offline
Dat weeb NSMBU hacker though :3
  • Normal user
Since: 05-18-17
From: Not under a rock! :3
Probably not. Cython is already fast tbh, and I'm satisfied with it so I see no point in continuing working on this.
Stella is best waifu. :3

Posted on 12-22-17, 09:07 am