Package Exports
- node-pkware
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-pkware) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
node-pkware
nodejs implementation of StormLib compression/decompression algorhythms
it was the de-facto compression for games from around Y2K, like Arx Fatalis
installation
npm i -g node-pkware
recommended node version: 8.5+
tested in node version 12.7.0
command line interface
implode --input=<filename> --output=<filename> --ascii|--binary --level=1|2|3 - compresses file.
if --output is omitted, then output will be placed next to input and names as <filename>.compressed.
optionally you can specify an offset from which the compressed data starts with the --offset <byte>,
which is useful for mixed files, such as the fts files of Arx Fatalis
explode --input=<filename> --output=<filename> - decompresses file. if --output is omitted, then
output will be placed next to input and names as <filename>.decompressed. optionally you can
specify an offset from which the compressed data starts with the --offset <byte>, which is useful
for mixed files, such as the fts files of Arx Fatalis
example
explode --input=test/files/fast.fts --output=E:/fast.fts.decompressed --offset=1816
sources:
- https://github.com/ladislav-zezula/StormLib/tree/master/src/pklib
- https://github.com/ShieldBattery/implode-decoder