emoose / FtexTool

Fox Engine Texture converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FtexTool

A tool for converting files between Fox Engine texture (.ftex) and DirectDraw Surface (.dds).

Requirements

Microsoft .NET Framework 4.5 
SharpZipLib

Usage

FtexTool [options] input [output_folder]

Options:

  -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

Examples

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

Important

  • 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.

About

Fox Engine Texture converter

License:MIT License


Languages

Language:C# 100.0%