Data Dump

If you liked this item, please rate it up on Steam Workshop page.

Author: Stik' | Mostly Mechanical Mods

Last revision: 3 Jul, 2022 at 09:34 UTC (1)

File size: 5.57 MB

On Steam Workshop

Description:

Data Dump is a Uniquely Useful Utility mod.

It logs a bunch of data to debug.log, and comes with a python script (as either a .py or a .exe) that parses the debug.log to split it in several smaller, properly formatted .txt files that can easily be used as database input for excel, access, or whatever your program of choice is.

This is meant as a tool to easily track data over the course of an observer game, which can prove useful in helping balance features, and see their impact on the gamestate.

Load first in the load order to avoid conflicts, as I am changing things like factions and character interactions to log data, and you probably want to lose data than other mod’s features and gameplay changes.

Instructions

Have the .py or .exe file in the same folder as your debug.log, and execute the script.
You’ll need to install python if you don’t have it already.
Each time the script is executed, it will dump output files in a subfolder, so no risk of erasing the previous dump by mistake.

Current outputs

faith_ref.txt: list of all faiths on game start + created during the game
culture_ref.txt: list of all cultures on game start + created during the game, with their ethos, heritage and language
yearly_dump.txt: each year, all rulers with their culture, faith, rank, liege, government, realm size, domain size, gold, manpower
traits_education.txt: when they die, each character with their education traits
traits_lifestyle.txt: when they die, each character with their lifestyle traits
traits_personality.txt: when they die, each character with their personality traits
traits_stress.txt: when they die, each character with their stress traits
war_started_dump.txt: each war started with the year, CB used, primary attacker ID, primary defender ID
war_ended_dump.txt: each war ended with the year and result (from the attacker’s PoV)
death_reasons.txt: each death with death_reason and killer when there is one

faith_ref and culture_ref are useful to reference culture and faiths in other files by ID rather than by name, to try and cut down on the size of the debug.log as much as possible.

Likewise, in yearly_dump.txt, the liege is identified by its ID, and if character ID = liege ID, that means the character is independent.

Dump your own data

Find out how here:
https://forum.paradoxplaza.com/forum/threads/utility-mod-take-a-datadump-a-mostly-mechanical-utility-mod.1532508/

Planned features

– more data logged: factions formed/disbanded, character interactions used

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.