Categorygithub.com/cokenyo/demoScrape2
modulepackage
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.

CSC

Join the CSC discord -> https://discord.gg/cscc

Running the parser

Tested on windows.

Setup

  1. Clone this repo.
  2. Install golang.
  3. Make a folder named in in this directory.
  4. Put .dem files (not .zip) in that folder.

Run

  1. 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

  1. Install python 3.8
  2. Install pandas with pip install pandas

Run

  1. 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

  1. Install node version 17+
  2. Install yarn
  3. cd demo-downloader
  4. yarn install

For Combines

  1. Go to main function in downloader.js and change second param of processTier to match the folder where combine demos are
  2. node downloader.js

For In-Season

  1. Go to main function in season-downloader.js and change second param of processTier to match the folder where the match day you are processing is.
  2. node season-downloader.js

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Type aliases

No description provided by the author