Crates.io | rzfile |
lib.rs | rzfile |
version | 0.2.0 |
created_at | 2025-07-06 19:18:55.759713+00 |
updated_at | 2025-07-06 20:06:29.578472+00 |
description | Library to handle RZ game data parsing and name decoding |
homepage | |
repository | https://github.com/NGemity/rzfile |
max_upload_size | |
id | 1740377 |
size | 47,102 |
rzfile
is a lightweight Rust library designed for parsing and handling binary file structures used in proprietary MMO game clients. It's part of the NGemity
project and supports tools such as the RZEmulator.
data.00x
index filesRZError
(compatible with thiserror
)thiserror
optionally)use rzfile::file::parse_index;
use rzfile::name::{encode_file_name, decode_file_name};
let mut buffer = std::fs::read("data.000").unwrap();
let entries = parse_index(&mut buffer, None).unwrap();
let encoded = encode_file_name("test.dds", None, None).unwrap();
let decoded = decode_file_name(&encoded, None, None, true).unwrap();
assert_eq!(decoded, "test.dds");
cargo add rzfile
Or manually via Cargo.toml
:
[dependencies]
rzfile = "0.1"
MIT © NGemity