Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1017 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 1017 Bytes

blaseball-vcr: miniaturizing blaseball

blaseball-vcr is a project to miniaturize blaseball history.

it works by downloading data from the Society for Internet Blaseball Research's Chronicler API, storing it as a series of compressed 'patches', and then decompressing the data needed at runtime.

how to use it

firstly, you need the data. you can either download a pre-built one (extracts to about 600MB) or build your own dataset with:

cargo build --release

mkdir -p tapes/site_data
./build.bash
./target/release/build_games -d zstd-dictionaries/game_updates.dict -l <compression level> -t <number of threads to use> tapes

(note that this may take a while)

then, you can replay the data using the 'server' binary. it'll expose an API that mimicks Chronicler V2, making it compatible with tools like before. make sure to set up a Vcr.toml file like the one in this repository!