-
June 08, 2014, 06:55 AM
#1
DXT Tool
I have uploaded a minor update for the little DXT-Tool set (python scripts) added to the download section few years ago.
http://www.twcenter.net/forums/downl...o=file&id=2677
Added a crude interface based on txt files,
The tool is still not user friendly.
Anyway this minor update is better than nothing
-------
EDIT:
-------
1.05 Update: ( Nov 03, 2021 )
-Reduced number of parameters
-Replaced cryptic names in both code and parameter files
-Fixed a bug that applied adjustments related to 3-color encodding (meant only for DXT1 files) to DXT5 textures
============
DXT Tools v1.05: Basic texture edit without decompression
============
1.-Desscription
============
The package is compossed by 3 texture tools:
-dxt_texture_color v1.05: Makes color changes in the source texture file without decompress it
-dxt_texture_patch v1.05: Extracts specific areas from one texture and patch them into another one
-dxt_texture_mipmap v1.05: Extracts the lower (smaller) Mip levels from one texture (source texture) and writes another one with them.
2.-Dowloadable zip content:
=====================
dxt_texture_color_105.py
dxt_texture_pacth_105.py
dxt_texture_mipmap_105.py
tex_mod_parameters_C.txt >>>> User interface for texture_mod_color_105.py
tex_mod_parameters_P.txt >>>> User interface for texture_mod_pacth_105.py
tex_mod_parameters_M.txt >>>> User interface for texture_mod_mipmap_105.py
Readme_C.txt >>>> Detailed description and instructions for texture_mod_color_105.py
Readme_P.txt >>>> Detailed description and instructions for texture_mod_pacth_105.py
Readme_M.txt >>>> Detailed description and instructions for texture_mod_mipmap_105.py
wex_library folder >>>> Includes 3 python modules required for the texture tools
- wex_calibrate.py
- wex_convert-py
- wex_texture.py
Readme.txt >>>> The thing you are reading right now.
In addition, "extra" folder includes the following content:
- Sample files for dxt_texture_color_105.py (each sample sub-folder includes original texture, modified texture and parameters txt file)
- Sample files for dxt_texture_patch_105.py (each sample sub-folder includes original default texture, original patch texture, modified texture and parameters txt file)
- DXT-Tool.xls: This excel file can be used to 1) Identify region IDs in texture files 2) Get Hexadecimal values for block's colors (for manual editing on texture using hexeditor)
3.- Requirements:
================
-Python 2.7
This tool has been coded and tested with Python 2.7.18.
I believe it may work with ealier versions like python 2.6.8 but cannot confirm at the moment.
4.- Basic Use:
============
4.1- Put the textures you want to modify in the same folder where the python dxt tools are placed.
4.2- Edit the parameter's txt file related to the python dxt tool you want to execute (detailed description is available in each tool's "readme" txt file).
- tex_mod_parameters_C.txt for texture_mod_color_105.py
- tex_mod_parameters_P.txt for texture_mod_pacth_105.py
- tex_mod_parameters_M.txt for texture_mod_mipmap_105.py
4.3- Execute the python dxt tool ( dxt_texture_color_105.py, dxt_texture_pacth_105.py or dxt_texture_mipmap_105.py ) by either:
a) Double click, or
b) Right click + "Edit with IDLE" + "Run" (Idle's menu option) + "Run Module"
4.4- Upon execution, the tool will writte a new -modified- texture whose name will include a suffix ( "_new", "_patch" , "_mip_level_#").
5.- Terms of Use:
============
This tool set is free and distributed with no warranty.
I am hereby not responsible for any consequence derived from the use of it.
----
Regards
Hexdragon (George586)
Last edited by Hexdragon; November 03, 2021 at 11:26 PM.
Reason: Version 1.05 info
-
November 03, 2021, 11:32 PM
#2
Re: DXT Tool
Updated OP in order to include info on version 1.05, which is aimed to make the tool set a bit less unfriendly.
Regards
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules