Expand description
BS Open Replay (bsor) loader
The bsor files are generated by the Beat Leader mod for Beat Saber VR game and contain all the data needed to display or analyze the replay, including headset and hand movement data and note cut statistics.
§Basic example
Loading the entire replay file into memory:
use bsor::prelude::*;
use std::fs::File;
use std::io::BufReader;
let br = &mut BufReader::new(File::open("example.bsor").unwrap());
let replay = Replay::load(br).unwrap();
println!("{:#?}", replay);