Crate pk2

Crate pk2 

Source
Expand description

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

§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.

Re-exports§

pub use self::error::InvalidKey;

Modules§

block_chain
blowfish
Simple little endian blowfish implementation
chain_index
entry
header

Structs§

BlockOffset
Offset into the stream for a given block.
ChainOffset
Offset into the stream for a given chain. This is also used as an index into the block manager, hence the name.
FILETIME
Windows FILETIME
StreamOffset
Offset into the stream for generic data.

Enums§

ChainLookupError
HeaderError

Type Aliases§

ChainLookupResult