A tool for converting files between Fox Engine texture (.ftex) and DirectDraw Surface (.dds).
Microsoft .NET Framework 4.5
SharpZipLib
FtexTool [options] input [output_folder]
-h|help Displays the help message
-t|type type_name
d|diffuse (default)
m|material
n|normal
c|cube
-i|input file_name|folder_Name
-o|output folder_name
Converting an .ftex file to .dds:
FtexTool file_name.ftex
Converting all .ftex files in a folder to .dds:
FtexTool folder_name
Converting a .dds file to .ftex:
FtexTool file_name.dds
Converting a .dds normalmap file to .ftex
FtexTool -t n file_name.dds
- When repacking custom textures remember to also repack all .pftxs files that contain the changed files with the GzsTool
- Fox Engine uses the pixel format DXT1 for textures without alpha channel and DXT5 for textures with alpha channel. Changing the pixel format could lead to unexpected results.