repositorypackage
0.0.0-20240618233123-fc234fdcd47e
Repository: https://github.com/cokenyo/demoscrape2.git
Documentation: pkg.go.dev
# README
demoScrape2
The stats collector for CSC demo files.
Join the CSC discord -> https://discord.gg/cscc
Running the parser
Tested on windows.
Setup
- Clone this repo.
- Install golang.
- Make a folder named
in
in this directory. - Put
.dem
files (not.zip
) in that folder.
Run
- Run with the command
go run .
Each match will generate a CSV file of stats, a debugging file, and a chatlog in a folder named out
.
Stitching together the outputs
Optionally stitch together the CSV files into one by using the python script.
Setup
- Install python 3.8
- Install pandas with
pip install pandas
Run
- Run with the command
python .\stitch_csvs.py
This will create a file named monolith.csv
in your out
folder.
All in one node script
- Install node version 17+
- Install yarn
cd demo-downloader
yarn install
For Combines
- Go to main function in
downloader.js
and change second param ofprocessTier
to match the folder where combine demos are node downloader.js
For In-Season
- Go to main function in
season-downloader.js
and change second param ofprocessTier
to match the folder where the match day you are processing is. node season-downloader.js