mirror of
https://github.com/G2-Games/lbee-utils.git
synced 2025-04-19 07:12:55 -05:00
Added experimentation binary
This commit is contained in:
parent
1b5ebd91a7
commit
9e6ba57dee
6 changed files with 22 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
[workspace]
|
||||
resolver = "2"
|
||||
members = [
|
||||
"cz",
|
||||
"cz", "experimental",
|
||||
"luca_pak",
|
||||
"utils",
|
||||
]
|
||||
|
|
15
experimental/Cargo.toml
Normal file
15
experimental/Cargo.toml
Normal file
|
@ -0,0 +1,15 @@
|
|||
[package]
|
||||
name = "experimental"
|
||||
description = """
|
||||
A package for experimentation, not for publishing
|
||||
"""
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors.workspace = true
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
cz = { path = "../cz/", features = ["png"] }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
3
experimental/src/main.rs
Normal file
3
experimental/src/main.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
|
@ -134,6 +134,7 @@ impl Pak {
|
|||
length: offsets[i].1,
|
||||
data,
|
||||
name: Some(file_names[i].clone()),
|
||||
unknown1: todo!(),
|
||||
id: header.id_start + i as u32,
|
||||
replace: false,
|
||||
};
|
||||
|
|
|
@ -6,6 +6,5 @@ fn main() {
|
|||
|
||||
for entry in pak.entries() {
|
||||
println!("{}", entry.name().as_ref().unwrap());
|
||||
println!("{}", entry);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@ edition = "2021"
|
|||
[dependencies]
|
||||
byteorder = "1.5.0"
|
||||
clap = { version = "4.5.4", features = ["derive", "unicode"] }
|
||||
cz = { path = "../cz" }
|
||||
image = { version = "0.25.1", default-features = false, features = ["png"] }
|
||||
cz = { path = "../cz", features = ["png"] }
|
||||
image = { version = "0.25", default-features = false, features = ["png"] }
|
||||
walkdir = "2.5.0"
|
||||
|
|
Loading…
Reference in a new issue