diff --git a/Cargo.lock b/Cargo.lock index 0939966..6bfb7a1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -295,7 +295,7 @@ checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e" [[package]] name = "mhws-tex-decompressor" -version = "0.1.0" +version = "0.1.1" dependencies = [ "dialoguer", "eyre", diff --git a/Cargo.toml b/Cargo.toml index 6eada5c..b3863a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mhws-tex-decompressor" -version = "0.1.0" +version = "0.1.1" edition = "2024" [dependencies] @@ -11,8 +11,8 @@ edition = "2024" re-tex = { git = "https://github.com/eigeen/re-tex.git", branch = "main" } ree-pak-core = { git = "https://github.com/eigeen/ree-pak-rs.git", branch = "main" } -dialoguer = "0.11.0" -eyre = "0.6.12" -indicatif = "0.17.11" -rayon = "1.10.0" -parking_lot = "0.12.3" +dialoguer = "0.11" +eyre = "0.6" +indicatif = "0.17" +rayon = "1.10" +parking_lot = "0.12" diff --git a/src/main.rs b/src/main.rs index 58c6c7a..bcfcebc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,9 +45,7 @@ fn main_entry() -> eyre::Result<()> { println!("Loading embedded file name table..."); let filename_table = FileNameTable::from_bytes(FILE_NAME_LIST)?; - let file_path = - "E:/SteamLibrary/steamapps/common/MonsterHunterWilds/re_chunk_000.pak.sub_000.pak"; - let file = fs::File::open(file_path)?; + let file = fs::File::open(input_path)?; let mut reader = io::BufReader::new(file); println!("Reading pak archive...");