TEX is a file format for compressing textures in Don't Starve and Don't Starve Together. It is a derivative of the DXT (S3 Texture Compression) file format. Sometimes unimplemented items and character portraits can be found by opening TEX files from the game files.
Most images or icons in this wikia are directly converted from TEX files.
TEX location Edit
TEX files in Don't Starve are usually located under
Here is a list of useful TEX locations:
When doing actions involving core game files, one should be careful and make a backup.
TEX Decompression Edit
To read a TEX file, it is required to decompress it into any visible image format (usually PNG).
Here is the tool provided by Matt, TEXTool.
A modding guide with instructions on how to use the tool can also be found here.