Skip to content

emoose/FtexTool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%