Skip to content

mir3x/Freeciv-scorelog2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

License: GPL v2

Freeciv scorelog2csv

Freeciv Scorelog to csv format - converts freeciv scorelog to csv format. Requires python3

Example: Load default freeciv-score.log and create dir x and convert csv there. python.exe freeciv-score-log-2csv.py -dir x

Load file score.log and create dir zdir and convert csv there. python.exe freeciv-score-log-2csv.py score.log -dir zdir

Freeciv fcplot

Fcplot - plots data from given .csv files. Requires python pandas and matplotlib

Examples: python.exe fcplot.py .\x\score.csv -ylim 0:2000

Default simple plot with with limited y axis to 2000 Screenshot

python.exe fcplot.py .\x\mfg.csv -starchange .\x\gov.csv

Shows production and marks government changes with stars Screenshot

python.exe fcplot.py .\x\bnp.csv -type percentage

Shows economy as percentage per turn Screenshot

python.exe fcplot.py .\x\unitskilled.csv -type heatmap -chg_inc -xlim 50:90

Shows unit kill heatmap between turns 50-90, uses chg_inc switch to change how unitskilled.csv is organized Screenshot

python.exe fcplot.py .\x\score.csv -top 5

Shows score for best 5 players

To see more options use python.exe fcplot.py --help

Enjoy!

About

Freeciv Scorelog to csv format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages