Browsing the tweak database
How to read the game's tweak database
Summary
Published: Jan 13 2024 by manavortex Last documented edit: Jan 13 2024 by manavortex
This page tells you how to browse the TweakDB. If you don't know what that is, you might want to read TweakDB: Game database first.
Introduction
By browsing the TweakDB, you can inspect the game's database and change properties in real time.
To inspect the TweakDB, you have three options. This page will document each of them.
To explore the game's existing records, check Browsing the .tweak files (requires the REDmod DLC)
To fuck around and find out, check Editing values with Cyber Engine Tweaks
To create new tweak files, read The Wolvenkit Tweak Browser
Editing values with Cyber Engine Tweaks
You can do this directly in your game. Changes will not persist if you restart, and sometimes you may have to reload for them to become active, but this is the fastest and most comfortable way to fuck around and find out.
The Wolvenkit Tweak Browser
The easiest way to create tweaks is to use the Wolvenkit Tweak Browser. This will generate tweak files for you which contain the current record's properties, whether they're directly defined or inherited from other records.
Example: Using the Wolvenkit Tweak browser
If you search for WilsonWeaponModAbility
in the Wolvenkit Tweak Browser, you will find something like this:
As it's next to impossible to understand the item's structure like this, check the next section about Browsing the .tweak files and Example: browsing .tweak files.
Browsing the .tweak
files
.tweak
filesIn your game directory , find the subfolder tools\redmod\tweaks
("tweak folder"):

These folders contain a bunch of .tweak
files, which you can open with a text editor of your choice. If you don't have one yet, here are your options:
Notepad++ (free) This is fastest, and you can use this text editor for a lot of Cyberpunk modding. Press the hotkey
Ctrl+Shift+F
(Edit -> Find in Files) and search under the tweak folder.An IDE (e.g. Visual Studio Code (free), IntelliJ): This is the most comfortable. Simply open the tweak folder and use the built-in search (hotkey for VSCode:
Ctrl+Shift+F
) to find your way along the files.Agent Ransack (free) A command line search interface
Searching .tweak files with powershell
If you're just looking for occurrences of a certain string (e.g. all vendors), you can run the following powershell script from the tweaks directory:
Example: browsing .tweak files
In this example, we want to learn about Wilson's iconic gun and the effects of its WeaponMod. Check Wilson's iconic iron for the integrated version, or start searching:
Press Ctrl + Shift + F
to open up the search dialog box and search for Preset_Lexington_Wilson
.
You will find it in the following path:

Preset_Lexington_Wilson
, but in .tweak format.This is the same tweak you'd find in the Tweak Browser, but it's much easier to read and understand.
To follow this weapon's iconic weapon mod, find the section where it is defined:
This will take us to iconic_mods.tweak
.
The file holds WilsonWeaponModAbility
with a bunch of statModifiers
:
… which aren't too different from the weapon modifiers. Let's ignore them for now and focus on the interesting part:
Searching for this will take us to mods_abilities.tweak
, which holds the information we care about.
For an explanation of these properties, refer to Types of tweak records -> Effector.
To see how this file would look in the Tweak Browser (and why browsing the .tweak files is superior), check Example: Using the Wolvenkit Tweak browser.
Last updated
Was this helpful?