Skip to content

Atvaark/FtexTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FtexTool

Build status

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
  -fl|flags [flag_name]
           Default (default)
           Clp
           Unknown
  -f|ftexs [number]
           e. g. 3 to create up to 3 ftexs files
                 0 to embed all ftexs files inside the ftex file
  -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 file to an .ftex and 3 .ftexs files:

FtexTool -f 3 file_name.dds

Converting a .dds normalmap file to .ftex

FtexTool -t n file_name.dds

Converting a .dds Clp file to .ftex

FtexTool -fl Clp file_name_clp.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.
  • Fox Engine 2015 (MGSV) doesn't support embedding .ftexs files inside .ftex files.

About

Fox Engine Texture (.ftex) to DDS converter

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages