.material - Tkachov/ALERT GitHub Wiki

sections/material/ | Spandex

Summary

Not researched enough. Stores reference to material template, shader, texture and scalar parameters' values. Most of the sections are shared with .materialgraph.

.material

Magic Description
1C04EF8C MSMR
18757E9C MM
7C7BD7D6 RCRA (v. 1.726.0.0)
88730155 RCRA (v. 1.922.0.0)
C9086F21 -

.materialgraph

Magic Description
07DC03E3 MSMR
FF60342A MM
B742D85D RCRA
B7914F8B -

Sections

.material and .materialgraph
$\color{#CAFE80}{◆}$ 1CAFE804
$\color{#5C4F4C}{◆}$ 45C4F4C0
$\color{#59F667}{◆}$ A59F667B
$\color{#C049CC}{◆}$ 8C049CCA
$\color{#BFC890}{◆}$ BBFC8900
$\color{#C93FB5}{◆}$ BC93FB5E
$\color{#24B19D}{◆}$ C24B19D9
$\color{#9C35F3}{◆}$ F9C35F30
$\color{#D11336}{◆}$ FD113362
$\color{#32E723}{◆}$ C32E7230

.material
$\color{#526018}{◆}$ Material Serialized Data
$\color{#9B1245}{◆}$ D9B12454
$\color{#E45AA1}{◆}$ 3E45AA13
$\color{#127568}{◆}$ E1275683
$\color{#58F7B3}{◆}$ 958F7B33


$\color{#CAFE80}{◆}$ 1CAFE804

x1CAFE804_Section | Material | MaterialGraph

Texture parameters' values. Array of structs, 16 bytes each. Contains 32-bit offset to .texture filename in strings block, 32-bit hash of parameter name (structs are sorted by that value), some kind of 16-bit index (doesn't match the order) and some kind of "type" hash.


$\color{#5C4F4C}{◆}$ 45C4F4C0

x45C4F4C0_Section | Material | MaterialGraph

Scalar and Vec3 parameters' definitions. Array of structs, 8 bytes each. 16-bit integer offset, 16-bit integer size and 32-bit hash of parameter name (structs are sorted by that value). Offset and size are for $\color{#59F667}{◆}$ A59F667B section.


$\color{#59F667}{◆}$ A59F667B

xA59F667B_Section | Material | MaterialGraph

Parameters' values data, to be read according to $\color{#5C4F4C}{◆}$ 45C4F4C0.


$\color{#C049CC}{◆}$ 8C049CCA

x8C049CCA_Section | Material | MaterialGraph

Not researched enough.


$\color{#BFC890}{◆}$ BBFC8900

xBBFC8900_Section | Material | MaterialGraph

Shader data. Starts with IGSH, suggesting custom Insomniac's format. Probably platform-specific, as also contains "Microsoft (R) HLSL Shader Compiler" (DirectX).


$\color{#C93FB5}{◆}$ BC93FB5E

xBC93FB5E_Section | Material | MaterialGraph

Not researched enough.


$\color{#24B19D}{◆}$ C24B19D9

xC24B19D9_Section | Material | MaterialGraph

Not researched enough.


$\color{#9C35F3}{◆}$ F9C35F30

xF9C35F30_Section | Material | MaterialGraph

Not researched enough.


$\color{#D11336}{◆}$ FD113362

xFD113362_Section | Material | MaterialGraph

Not researched enough.


$\color{#32E723}{◆}$ C32E7230

xC32E7230_Section | Material | MaterialGraph

Not researched enough.


$\color{#526018}{◆}$ F5260180: Material Serialized Data

MaterialSerializedDataSection | Material

Contains texture and scalar/vec3 parameters' hashes and values. Works somewhat like a combination of $\color{#CAFE80}{◆}$ 1CAFE804, $\color{#5C4F4C}{◆}$ 45C4F4C0 and $\color{#59F667}{◆}$ A59F667B.


$\color{#9B1245}{◆}$ D9B12454

xD9B12454_Section | Material

Not researched enough. Rarely met. Always 52 bytes. Last four 32-bit integers are offsets to .texture names in strings block.


$\color{#E45AA1}{◆}$ 3E45AA13

x3E45AA13_Section | Material

Not researched enough. Always 520 bytes. Starts with a string filename of a .materialgraph. Last 8 bytes are not zeroes. 512 bytes for path and 8 bytes for 64-bit or two 32-bit values?


$\color{#127568}{◆}$ E1275683

xE1275683_Section | Material

Not researched enough. Always first section, always present, always 40 bytes.


$\color{#58F7B3}{◆}$ 958F7B33

x958F7B33_Section | Material

Not researched enough. Met only once, in RCRA: A6D6F52A42745073, required/materials/flowmap_water_custom.material.


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