.texture - Tkachov/ALERT GitHub Wiki

sections/texture/header.py | textures.py | Overstrike: Texture.cs | SpideyTextureScaler: Program.cs

Summary

Stores DDS-like pixels data, with a custom header (that should be enough to reconstruct DDS header).

Since RCRA, all .texture files are listed in toc, and some metadata is stored in there as well. Additionally, all textures in DSAR archives are compressed with GDeflate.

Magic Description
5C4580B9 MSMR and MM
8F53A199 RCRA
3E7886C8 -

Sections

$\color{#EDE359}{◆}$ Texture Header


$\color{#EDE359}{◆}$ 4EDE3593: Texture Header

TextureHeaderSection

Format slightly differs between SO and other games. It's possible there are other differences that were not researched. Refer to implementations for details on what this section consists of.


⚠️ **GitHub.com Fallback** ⚠️