mirror of
https://github.com/Theaninova/mhlib.git
synced 2025-12-12 20:46:20 +00:00
add archive tests
This commit is contained in:
9
rust/mhex/Cargo.toml
Normal file
9
rust/mhex/Cargo.toml
Normal 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
6
rust/mhex/src/main.rs
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user