Crusader Kings III

Crusader Kings III

49 ratings
Data Dump
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
5.838 MB
20 Jun, 2022 @ 7:43am
3 Jul, 2022 @ 2:34am
5 Change Notes ( view )

Subscribe to download
Data Dump

In 1 collection by Stik' | Mostly Mechanical Mods
Mostly Mechanical Mods
13 items
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
4 Comments
Sol 2 May @ 1:08pm 
I love it, but just can't get it working. I subscribed, copied the exe and py to my /logs folder where the debug.log is. I run the game and use the "script_docs" debug command. The exe does nothing, the py gets blocked by Controlled Folder Access. I chose the exe and python itself to be allowed through.

It creates the TAD folder, but it's empty. I know this is a me being the problem issue.
Luk_Zloty 13 Jul, 2022 @ 5:54am 
Is it possible to store battles as well?
zionmantis 20 Jun, 2022 @ 5:31pm 
THANK YOOOOUUUU!
MASTER SKYWALKER 20 Jun, 2022 @ 10:50am 
first