Skip to content

bugdone/headshotbox

Repository files navigation

Headshot Box

Search engine and stats for your CS:GO replays. Visit https://headshotbox.github.io/ for a visual description of the features.

Development setup newui

cd src/newui
nvm use
npm i
npm run dev

Build newui

cd src/newui
nvm use
npm run build
cp -R dist/spa/* ../../resources/public/

Development Setup

Check out the wiki for more info.

csdemoparser

Building

Install rustup and run:

cargo build --release -p csdemoparser

The output binaries are in target/release.

Profile-guided Optimization

Using PGO has a significant impact on the speed of csdemoparser, up to a 40% speedup.

rustup component add llvm-tools-preview
cargo install cargo-pgo
cargo pgo run -- -p csdemoparser <replay.dem>
cargo pgo optimize