11 releases

0.5.2 May 19, 2023
0.5.1 Jan 7, 2022
0.4.0 Jan 6, 2022
0.3.4 Dec 17, 2021
0.1.0 Jul 14, 2019

#1486 in Parser implementations


Used in assembly

MIT license

110KB
2.5K SLoC

assembly-pack

This crate contains the pack/archives related file formats of the assembly library.

Examples

This crate comes with some example binaries

Installation

$ cargo install --examples assembly-pack

sd0-decode

Decompress sd0 streams

$ sd0-decode infile.sd0 outfile

sd0-encode

Compress sd0 streams

$ sd0-encode infile outfile.sd0

pk-crc

Calculate the Cyclic-Redundancy-Code (CRC) for a relative file path

$ pk-crc client/res/data.xml

pk-entries

List all entries in a PK file

$ pk-entries data.pk

pk-file

Print a single entry from a PK file given the numeric CRC value

$ pk-file data.pk crc

pki-find

Find a specific CRC in the PKI file

$ pki-find primary.pki crc

pki-list

List all entries in a PKI file

# List all files
$ pki-find -f primary.pki
# List all PK archives
$ pki-find -p primary.pki

md5-sum

Calculate the md5sum of a file

md5-sum file

Dependencies

~0.5–1.8MB
~38K SLoC