Skip to content

Commit

Permalink
Update v3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aboood40091 committed Sep 28, 2016
1 parent 128e258 commit 90e2a1c
Show file tree
Hide file tree
Showing 5 changed files with 248 additions and 1,536 deletions.
22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
# Wii U GTX Extractor v2.2
Extracts textures from the GFD ('Gfx2' / .gtx file extension) format used in Wii U games.
# Wii U GTX Extractor v3.0
Extracts textures from the GFD ('Gfx2' / .gtx file extension) format used in Wii U games, and save them as DDS.

Can Also convert .png files into .gtx files!
Can Also convert DDS files into .gtx files!

A bit of work could get it to extract .bflim files, too.

# Requirements:
Python 3.4 or higher.

PyQt5.

Compressonator.

cx_Freeze. (Optional)

Pillow. (If using gtx_extract_nomipmap)

# Credits:
Treeki - Original GTX Extractor

AboodXD - porting GTX Extractor to python, adding new stuff.
AboodXD - Writing this thingy.

# Special thanks to:
Exzap - Helping with swizzling.
Treeki - This tool was based on his tool.

Exzap, AddrLib - Helping with swizzling.

RoadrunnerWMC - Helping with implementing the "creating .gtx files" feature.
RoadrunnerWMC - The writeGFD() function was based on a function in his program, PuzzleHD.
13 changes: 3 additions & 10 deletions build.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python

# GTX Extractor
# Version v2.2.1
# Version v3.0
# Copyright © 2014 Treeki, 2015-2016 AboodXD

# This file is part of GTX Extractor.
Expand All @@ -24,7 +24,7 @@
import os, shutil, sys
from cx_Freeze import setup, Executable

version = 'v2.2.1'
version = 'v3.0'

# Pick a build directory
dir_ = 'gtx_extract ' + version
Expand All @@ -39,19 +39,12 @@
os.makedirs(dir_)
print('>> Directory ready!')

# exclude QtWebKit to save space, plus Python stuff we don't use
excludes = ['doctest', 'pdb', 'unittest', 'difflib', 'inspect',
'os2emxpath', 'posixpath', 'optpath', 'locale', 'calendar',
'select', 'multiprocessing', 'ssl',
'PyQt5.QtWebKit', 'PyQt5.QtNetwork']

setup(
name = 'gtx_extract',
version = version,
description = 'Wii U GFD (GTX) extractor',
options={
'build_exe': {
'excludes': excludes,
'build_exe': dir_,
},
},
Expand All @@ -67,4 +60,4 @@
shutil.copy('README.md', dir_)
print('>> Files copied!')

print('>> GTX Extractor has been frozen to %s !' % dir_)
print('>> GTX Extractor has been frozen to %s!' % dir_)
70 changes: 0 additions & 70 deletions build_nomipmap.py

This file was deleted.

Loading

0 comments on commit 90e2a1c

Please sign in to comment.