This article's documentation is for anything that uses the Source engine. Click here for more information.

MareTF

From Valve Developer Community
Jump to navigation Jump to search

English (en)Translate (Translate)
MareTF
MareTF-screenshot-gallery-1.png
Developer(s)
Initial release
Feb 10, 2025
Written in
C++
Operating system
Windows Linux
Type
Other
Target engine(s)
Source
Distribution
Free and open-source
Download

MareTF MareTF is a command-line and GUI utility to create, edit, and display every type of VTF file ever made. It can open and create VTFs for every currently existing PC game and console port of Source, and will generate thumbnails for them in your file explorer of choice on Windows and Linux.

Features

Create

  • Directly convert a wide range of input image formats
    • Animated images (APNG/GIF)
    • Floating point images (EXR/HDR)
    • Standard images (PNG/JPG/TGA/WebP)
    • Esoteric images (QOI/PSD/PGM/PPM/PIC/BMP)
  • Create non-power of two textures
  • Create cubemaps from HDRIs
  • Create console VTFs
    • Original Xbox
    • Xbox 360
    • PlayStation 3
  • Uses an improved version of Valve's NICE mipmap filtering by default
  • Supports new formats in Alien Swarm and beyond, Titanfall 1/2, Strata Source
  • Supports new Strata Source VTF version with CPU compression (Deflate / Zstd)
  • Watch input file or directory for changes and recreate the VTF(s)

Edit

  • Edit existing VTFs
  • Change VTF version, format, platform, etc.
  • Recompute mipmaps, thumbnail, reflectivity vector
  • Add, overwrite, or remove resources

Extract

  • Save the image data contained within VTFs as image files
  • Save as PNG/JPEG/BMP/TGA/WebP/QOI/HDR/EXR
    • Defaults to PNG or EXR based on the image format

Info

  • Print out all VTF metadata and non-image resource data
  • Parse compiled particle sheet resource to plaintext
  • Print data as colored human-readable text or as plain KeyValues

Thumbnail

  • Display thumbnails for all VTF platforms and versions on Windows and Linux in your file explorer of choice

See also

External links

Navigation