alpaca
King of Ungulates
- Joined
- Aug 3, 2006
- Messages
- 2,322
Is anyone interested in gathering some gameplay statistics we can access? Presumably 2K gathers these for themselves, but it would be interesting to have a treasure trove of data available to run analyses on (big data style). My main idea currently is to enable the history log. To do this, you have to edit
(replace alpaca with your user name) and change the following setting
from 0 to 1. Now, when you start a new game, you will get a file called GameCoreHistory1.xml in the Logs folder with contents such as these:
Which is basically the same info that you get in the end of game overview, and then some (you also get this info for your enemies, so you can use it for cheating if you like).
I would hazard a guess that this will not be a legal MP setting, but haven't tested it. There is also another option
which will create a different history file with even more information containing such things as unit moves and city founding, but is even huger. Most of this information is probably also in the savegame, but I don't really feel like reverse engineering the savegame format.
If enough people would be willing to participate, I would at some point create some tools to allow us to analyze this data and perhaps enter it into a common database so that we can gather valuable information about how peoples' games progress over time. You wouldn't have to do much (unless you want to, of course), just collect the history information and upload it somewhere once you're done with a game. Please post an answer if you'd be willing to help.
Code:
C:\Users\alpaca\Documents\My Games\Sid Meier's Civilization VI\UserOptions.txt
(replace alpaca with your user name) and change the following setting
Code:
;Game history logging level, 0 = off
GameHistoryLogLevel 1
from 0 to 1. Now, when you start a new game, you will get a file called GameCoreHistory1.xml in the Logs folder with contents such as these:
Code:
<Turn id="7">
<Event id="1550" tech="TECH_MINING" message="Research Changed"/>
<Event id="1551" message="Treasury Changed"/>
<Event id="1552" civic="CIVIC_CODE_OF_LAWS" message="Civic Changed"/>
<Event id="1615" tech="TECH_WRITING" progress="0" source="trigger" message="Tech Boost Triggered"/>
<Event id="1616" tech="TECH_WRITING" message="Research Changed"/>
</Turn>
<Stat type="Cities" value="1"/>
<Stat type="Population" value="1"/>
<Stat type="Techs" value="0"/>
<Stat type="Land Units" value="1"/>
<Stat type="Units in a Corp" value="0"/>
<Stat type="Units in a Army" value="0"/>
<Stat type="Naval Units" value="0"/>
<Stat type="Tiles Owned" value="7"/>
<Stat type="Tiles Improved" value="0"/>
<Stat type="Gold Balance" value="41"/>
<Stat type="Faith Balance" value="0"/>
<Stat type="Science Yield" value="2"/>
<Stat type="Culture Yield" value="1"/>
<Stat type="Gold Yield" value="5"/>
<Stat type="Faith Yield" value="0"/>
<Stat type="Food" value="4"/>
<Stat type="Production" value="6"/>
<Stat type="Tile Yields" value="8"/>
<Stat type="Building Yields" value="10"/>
<Stat type="District Yields" value="0"/>
<Stat type="Population Yields" value="0"/>
<Stat type="Outgoing Trade Route Yields" value="0"/>
<Stat type="Score" value="6"/>
I would hazard a guess that this will not be a legal MP setting, but haven't tested it. There is also another option
Code:
;Sequential Game history logging level, 0 = off
GameHistorySequentialLogLevel 1
If enough people would be willing to participate, I would at some point create some tools to allow us to analyze this data and perhaps enter it into a common database so that we can gather valuable information about how peoples' games progress over time. You wouldn't have to do much (unless you want to, of course), just collect the history information and upload it somewhere once you're done with a game. Please post an answer if you'd be willing to help.