.config - Tkachov/ALERT GitHub Wiki
sections/config/ | SerializedSection
| Overstrike: Config.cs | SerializedSection.cs
Binary JSON-like structures holding data. There are different types of configs, with different structure they allow. Possibly, original structures are described using DDL.
Magic | Description |
---|---|
21A56F68 |
MSMR, MM and RCRA |
35F7AFA5 |
- |
Serialized (DDL-like). Stores an object with one "Type" field, which determines this .config's type. For example:
{"Type": "LoadoutRewardConfig"}
Serialized (DDL-like). Stores an object of a type specified in
{
"ItemLoadoutConfig": {
"AssetPath": "configs/masteritemloadoutlist/itemloadout_spiderman_homemade.config",
"Autoload": false
},
"Name": "Homemade Suit",
"Stackable": false
}
Optional section, array of asset references. Each reference is 16 bytes long: 64-bit asset id, full asset name, as 32-bit offset to strings block, and 32-bit CRC of its extension (with dot).