2024-12-30 05:31:08 -08:00
2024-12-30 05:31:08 -08:00
2024-12-30 04:36:10 -08:00
2024-12-30 04:36:10 -08:00
2024-12-30 04:36:10 -08:00
2024-12-30 04:47:03 -08:00
2024-12-30 04:47:03 -08:00
2024-12-30 05:31:08 -08:00

Roblox Bhop/Surf Bot File Format

Example

use strafesnet_roblox_bot_file::File;

let file=std::fs::File::open("bot_file")?;
let input=std::io::BufReader::new(file);
let bot_file=File::new(input)?;

for &(time,block_id) in &bot_file.header.offline_blocks_timeline{
	let block=bot_file.read_block(block_id)?;
	// offline blocks include the following event types:
	// World, Gravity, Run, Camera, Setting
}
for &(time,block_id) in &bot_file.header.realtime_blocks_timeline{
	let block=bot_file.read_block(block_id)?;
	// realtime blocks include the following event types:
	// Input, Output, Sound
}

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Description
No description provided
Readme 138 KiB
Languages
Rust 100%