Crate pk2[][src]

Expand description

A crate for reading and writing Silkroad Online’s pk2 archive format.

Examples

use pk2::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, adds encoding_rs as a dependency which changes string reading and writing to use the euc-kr encoding which is required for the original game archives.

Modules

File structs representing file entries inside a pk2 archive.

Structs

Enums

Type Definitions