A Rust library and CLI tool for working with Bethesda Software Archives (BSA files).
bash
$ cargo install bsa
$ bsa ls 'Skyrim - Patch.bsa'
$ bsa extract 'Skyrim - Patch.bsa'
```
USAGE:
bsa
FLAGS: -h, --help Prints help information -V, --version Prints version information
SUBCOMMANDS: cat Output a file from a BSA extract Extract all files from a BSA help Prints this message or the help of the given subcommand(s) ls List files in a BSA validate Validate BSA files ```
Add the dependency to your Cargo.toml
:
toml
[dependencies]
bsa = 0.1.0
Then use the library like this:
```rust use std::error::Error;
fn main() -> Result<(), Box