Skip to content

Releases: Creative-Rift/packer

Release 1.1

26 Sep 11:23
f668179

Choose a tag to compare

This update bring two major feature: Compression and Library

Compression

You're now able to add compression process into the packer.
To do so, go to Packer.cpp and find the SWFP_COMP macro and edit the code above to add your own compression process. For UnPacker.cpp find SWFP_COMP and edit the code above.

To enable the compression process use -DSWFP_COMP=ON (default: OFF).

Note: There is a default compression algorithm: zstd.
The header is already include in the project just build a static libraries and add it to the cmake.
Add zstd_static to STATIC_LIB_NAME and ${CMAKE_SOURCE_DIR}/libraries/zstd_static.lib to STATIC_LIB in the CMakeLists.txt.

Library

UnPacker is now avalible as static and shared library. To enable library build add BUILD_UNPACK_LIB_SHARED=ON or BUILD_UNPACK_LIB_STATIC=ON to cmake generation

ChangeLog

Full Changelog: v1.0...v1.1

Release 1.0

13 Sep 12:02
e0958d2

Choose a tag to compare

Release 1.0

In this release we bring the basic of this projet.

Packer

The packer is a file that allow to pack all content of a folder in one file .swfp.

Usage

./SWEngine-packer_1.0.exe PATH_TO_FOLDER

This command build a package.swfp file with all content of the folder inside.

UnPacker

The Unacker un pack a .swfp file and restore all file with thier folder.

./SWEngine-unpacker_1.0.exe PATH_TO_SWFP_FILE OUTPUT_DIRECTORY

Log

There is a log system who provide more details only if somthing failed during the process.
This log file is located at the same path as the executable.