use ra2_mix::{MixError, MixPackage};
use std::path::Path;
fn main() -> Result<(), MixError> {
let mix = MixPackage::load(Path::new("E:\\RTS\\Mental Omega\\expandmo99.mix"))?;
if mix.files.is_empty() {
println!("Failed to decrypt MIX file");
} else {
println!("Successfully decrypted MIX file with {} files", mix.files.len());
}
Ok(())
}