TweakDB - psiberx/cp2077-tweak-xl GitHub Wiki
What is TweakDB
TweakDB is a database from REDengine 4 designed for readonly in-game access. It contains static information about characters, items, AI behavior, etc.
At runtime it consists of flats and records.
A flat stores a single value of one of the next types:
TweakDBID(flat or record ID)
- Array of any of the above types
Records are typed objects that combine several flats (properties).
Flats that don't belong to any record also called free flats.
TweakDBID value identifies a flat or record.
It's used as a foreign key to define relationships between records.
It's represented as a hash of the flat or record name.
TweakDB doesn't have access to the original names at runtime
and operates with hashed IDs only.
TweakXL allows mods modify TweakDB using: