pk2-sync 0.1.0

Crate for interacting with Silkroad Online's pk2 archive format
Documentation
  • Coverage
  • 34.12%
    29 out of 85 items documented0 out of 56 items with examples
  • Size
  • Source code size: 87.58 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.16 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 19s Average build duration of successful builds.
  • all releases: 19s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Veykril/pk2
    17 9 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Veykril

pk2

Crates.io Docs.rs CI

A rust crate for reading and writing Silkroad Online's pk2 format.

By default the crate pulls in encoding_rs to properly work with the original pk2 files, since those use the EUC-KR encoding for file names. This dependency is feature gated behind the euc-kr feature.

pk2_mate

The pk2_mate binary contains 3 simplistic tools for working with pk2 archives.

  • extract - extracts all files of a pk2 archive
  • pack - packs all files of a directory into a new pk2 archive
  • repack - repacks a pk2 archive into a new one(this gets rid of possible fragmentation)

For usage extraction of a particular tool run pk2_mate 'tool' -h(or cargo run -p pk2_mate -- 'tool' -h via cargo) with 'tool' replaced by the name of the tool. If no pk2 key is specified the tools will use the international silkroad online blowfish key(169841) by default.

License

Licensed under the MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)