Expand description
A crate for reading and writing Silkroad Online’s pk2 archive format.
§Examples
use pk2::unsync::Pk2;
let archive = Pk2::open(archive_path, key)
.unwrap_or_else(|_| panic!("failed to open archive at {:?}", archive_path));
§Features
euc-kr
: enabled by default, addsencoding_rs
as a dependency which changes string reading and writing to use theeuc-kr
encoding which is required for the original game archives.
Re-exports§
Modules§
Structs§
- Directory
- File
- Access read-only file handle.
- FileMut
- Access write-able file handle.
- Invalid
Key - Pk2
- Read
Only