Skip to content

hantentohka/L4D2-spray-generator-1024x1024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

Requirement

REQUIREMENT: Nvidia Texture Tools installed in C:\Program Files\NVIDIA Corporation\NVIDIA Texture Tools\nvcompress.exe or set up in environment variables.

Usage

Drag the picture/GIF over the exe or use command line with picture/GIF as argument. Vtf file will appear in the same folder as source picture.

Animated sprays

The program will output 3 vtf files 128x128, 256x256 and 512x512. Choose whatever you want from them. Frame limit per resolution:

  • 128x128: 55 frames
  • 256x256: 15 frames
  • 512x512: 3 frames

If there are more frames than each number, the program will trim frames to make it under the limit.

Vtf compression uses DXT1 with 1 alpha bit. Animated sprays

Static sprays

This program converts common format images (jpg, png etc) from any resolution to vtf 1024x1020. If the image is not square, the program will center the image and make the background transparent.

Vtf compression uses DXT1 with 1 alpha bit.

Static 1024x1024 sprays

Build

You can build the binary yourself with the command from command.txt or use the precompiled one (vtf.exe)

Disclaimer

This program is mainly used to automate L4D2 spray making and not in any way configurable to make different kinds of textures with different parameters and encodings.

About

Generate HD and animated sprays for l4d2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages