slamadingdong / fof_logs

Parse FOF8 game logs into tabular data.
1 stars 0 forks source link

Parse Front Office Football 8 Logs

This repo has a script that will parse FOF8 game logs into tabular data containing all sorts of play-by-play information.

Quickstart

This assumes you have a python 3.10 environment with the requirements installed. It also assumes you have exported the game logs to html from within the FOF8 game.

First cd to the script directory: cd ~/fof_logs/src

Then run the script:

python -m parse --logs_dir "C:\Front Office Football Eight\leaguehtml" --league_ids "LG000021,LG000022" --export_dir "D:\SavedLogs"

Output Data

The parsed logs are stored in Feather format which is a very memory/space efficient format for tabular data.

Each row represents one play, and has columns representing: