Go to file
2024-01-29 15:18:05 -08:00
src write a bunch of binrw 2024-01-18 19:28:01 -08:00
.gitignore Initial commit 2024-01-15 19:09:34 -08:00
Cargo.lock change the name 2024-01-29 15:18:05 -08:00
Cargo.toml change the name 2024-01-29 15:18:05 -08:00
LICENSE-APACHE License + README 2024-01-15 19:27:30 -08:00
LICENSE-MIT License + README 2024-01-15 19:27:30 -08:00
README.md License + README 2024-01-15 19:27:30 -08:00

StrafesNET File Format

Example

let file=std::fs::File::open(path)?;
let mut input=std::io::BufReader::new(file);
let snf=snf::read(input)?;
match snf{
	snf::SNF::Map(map)=>{},
	snf::SNF::Bot(bot)=>{},
	snf::SNF::Demo(demo)=>{},
}

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.