add archive tests

This commit is contained in:
2023-05-09 14:57:10 +02:00
parent 4d048e77ee
commit 09a1e9ac0b
11 changed files with 184 additions and 2 deletions

9
rust/mhex/Cargo.toml Normal file
View File

@@ -0,0 +1,9 @@
[package]
name = "mhex"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
starforcelib = {path = "../starforcelib"}

6
rust/mhex/src/main.rs Normal file
View File

@@ -0,0 +1,6 @@
use starforcelib::sarc::SarcArchive;
fn main() {
let path = "E:\\Games\\Moorhuhn Kart 3\\data.sar";
SarcArchive::extract_all(path).unwrap();
}