C++ CLI utility for unpacking and repacking Grolib GAD archives (usually a .gad extension, I've run into a example with .mp3 too). This tool supports 64-bit MurmurHash2 file identification and chunked LZ4 decompression.
- Unpack: Extract files while automatically detecting file extensions based on binary signatures.
- Pack: Rebuild archives with optional LZ4 compression and 4-byte alignment.
- Intelligent Hashing: Automatically detects if a filename is a Hex ID or needs to be hashed using the Grolib Murmur2 variant.
- Threshold Compression: Specify a minimum file size to trigger compression to optimize archive size vs. load speed.
You will need the lz4 development library installed on your system.
- Ubuntu/Debian:
sudo apt install liblz4-dev - macOS:
brew install lz4 - Arch:
sudo pacman -S lz4
Use the provided Makefile to build the project:
make