Skip to content

bozbez/tm3-mod-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tm3-mod-exporter

A small C++ GUI tool to aid conversion of PNG and JPEG skin and mod textures to archived DDS textures for Trackmania 2020. Internally NVIDIA's NVTT-3 is used for the format conversion, with optional high quality downsampling with a Kaiser-windowed Sinc filter.

As input it takes a folder (with subfolders for map mods) of PNGs and JPEGs, and can output either a folder or archive of DDS files (the latter for car skins). DDS block compression variant is detected automatically based on the input filename:

  • *_B -> BC1
  • *_R -> BC5
  • *_I -> BC3
  • *_N -> BC5
  • *_A0 -> BC1
  • *_DirtMask -> BC1
  • *_D -> BC3 if the source image has an alpha channel, otherwise BC1
  • *_H -> BC1
  • *_M -> BC3
  • *_L -> BC3
  • *_CoatR -> BC1

About

A small NVTT-3 based tool to aid the conversion of Trackmania 2020 texture mods from PNGs to DDS files, with a focus on performance and image quality.

Resources

License

Stars

Watchers

Forks

Packages

No packages published