How to open TGA and DDS texture files
If you mod games or work with 3D models, you will meet TGA and DDS files: the textures that give models their colour, bumps and shine. Neither Windows Photos nor the Mac's Preview handle them reliably, but free tools do.
What they are
TGA (Targa) dates from 1984 and is a simple format with an alpha channel, which is why renderers and game studios used it for decades. DDS (DirectDraw Surface) is Microsoft's texture format; it stores images in the compressed formats graphics cards read directly, plus smaller copies called mipmaps.
View them in your browser
The TGA viewer and DDS viewer show the texture on a checkerboard, so transparent areas are obvious. The DDS viewer reads DXT1, DXT3, DXT5 and uncompressed textures, which covers most older games; it tells you when a texture uses a newer compression such as BC7.
Edit them for free
GIMP opens and saves both TGA and DDS. Paint.NET on Windows does too. Photoshop opens TGA but needs a plugin for DDS.
Convert them
TGA to PNG and DDS to PNG keep transparency and make the files viewable everywhere. Going back, PNG to TGA and PNG to DDS create files games can load; DDS made here is uncompressed, so run it through the game's own texture tools if it requires compression.
Odd-looking textures
Not every texture is a picture. Normal maps look purple-blue because their colours store surface directions. Roughness and metal maps look grey. Some games pack several maps into the colour channels of one file. They are working as intended.