Crates.io | bsatool_rs |
lib.rs | bsatool_rs |
version | 0.3.1 |
source | src |
created_at | 2020-04-12 20:12:46.035948 |
updated_at | 2023-08-16 17:38:25.433047 |
description | A tool for working with BSA files |
homepage | https://github.com/arviceblot/bsatool_rs |
repository | https://github.com/arviceblot/bsatool_rs |
max_upload_size | |
id | 229443 |
size | 62,991 |
A rust implementation of the openmw bsatool.
Note: Currently this project only supports BSA files compatible with TES III: Morrowind.
The easiest way right now is to install with cargo:
cargo install bsatool_rs
There is also a library option for manipulating BSAs from other rust code available on crates.io and can be added to a project with:
cargo add bsatoollib
use bsatoollib as bsa;
// open an existing BSA file
let bsa = bsa::BSAFile::new("SomeFile.BSA").unwrap();
// print all file names in the BSA
for file in bsa.get_list().iter() {
println!(file.name);
}
> bsatool_rs --help
A tool for working with BSA files
Usage: bsatool_rs <FILE> <COMMAND>
Commands:
list List the files presents in the given BSA file
extract Extract a file from the given BSA file
extract-all Extract all files from the given BSA file
create Create a new BSA file with given files for archiving
help Print this message or the help of the given subcommand(s)
Arguments:
<FILE> BSA file to use
Options:
-h, --help Print help
-V, --version Print version
Since bsatool_rs is derivative work of OpenMW's bsatool, it is released under the same license as the openmw code.