.config - Tkachov/ALERT GitHub Wiki

sections/config/ | SerializedSection | Overstrike: Config.cs | SerializedSection.cs

Summary

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 -

Sections

$\color{#A12822}{◆}$ Config Type
$\color{#501186}{◆}$ Config Built
$\color{#8B8558}{◆}$ Config Asset Refs


$\color{#A12822}{◆}$ 4A128222: Config Type

ConfigTypeSection

Serialized (DDL-like). Stores an object with one "Type" field, which determines this .config's type. For example:

{"Type": "LoadoutRewardConfig"}

$\color{#501186}{◆}$ E501186F: Config Built

ConfigContentSection

Serialized (DDL-like). Stores an object of a type specified in $\color{#A12822}{◆}$ Config Type. For example:

{
    "ItemLoadoutConfig": {
        "AssetPath": "configs/masteritemloadoutlist/itemloadout_spiderman_homemade.config",
        "Autoload": false
    },
    "Name": "Homemade Suit",
    "Stackable": false
}

$\color{#8B8558}{◆}$ 58B8558A: Config Asset Refs

ReferencesSection

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).


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