Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.exe
*.o
37 changes: 28 additions & 9 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,36 @@ doesn't really need one repo. Currently, not that much, but it could change..
And it's not Wii-specific any more. :p


Wii U GTX Extractor
GTX Extractor (C version)
-------------------

Extracts textures in RGBA8 and DXT5 formats from the 'Gfx2' (.gtx file
extension) format used in Wii U games. A bit of work could get it to extract
.bflim files, too.

Somewhat unfinished, pretty buggy. Use at your own risk. It's not great, but I
figured I'd throw it out there to save other people the work I already did.

More details on compilation and usage in the comments inside the file.
Extracts textures from the GX2 Texture ('Gfx2' / .gtx file extension) format used in Wii U games, and saves them as DDS/BMP.

Supported 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)

TODO:
* Make a x86 version (Would probably force me to rewrite the program?)

Credits:
* Treeki - Original developer.
* AboodXD - Reviver, Added more formats and new features, Improved swizzling.
* Exzap, AddrLib - Helping with swizzling.
* libtxc_dxtn - DXTn compressor.

More details on compilation and usage in the comments inside the file.


LH Decompressor
Expand Down
325 changes: 0 additions & 325 deletions gtx_extract.c

This file was deleted.

Loading