Small tool to list textures used in a .map file


(HairyPlums) #1

Hey all,

I got sick of keeping notes, etc on what textures I was using in a given .map file, so I wrote a small utility to quickly scan the .map file and output any textures being used. Only caveat is, it doesn’t yet pick up any vertexremapshader textures.

Download it here

I’ve included a compiled binary for Windows, and the source code (which is just a single file) for Linux/OS X peeps to compile themselves. It’s bog-standrad C++ using the Standard C++ Library and STL.

How to use
Put it somewhere in your path, or in the folder where your maps live and type:

texinf map_name_here.map

e.g.

textinf mp_beach.map

The output is a simple, non-sorted list of all textures including the “standard” ones such as common/caulk. You can redirect the output to a file using this syntax (both Windows & Linux/OS X): texinf mp_beach.map > textures.txt which will produce a file called textures.txt containing the output.