This repo has a script that will parse FOF8 game logs into tabular data containing all sorts of play-by-play information.
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"
--logs_dir
is the directory with the FOF 8 logs, usually it looks like the
above example.--league_ids
is a comma separated list of the 8 character ids of the
leagues whose logs you'd like to parse.--export_dir
is a directory you'd like to save the parsed data to. It
will create this dir for you if it doesn't already exist.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: