Skip to content

VaporGame/groan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Groan (GAD Archive Tool)

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.

Features

  • 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.

Prerequisites

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

Building

Use the provided Makefile to build the project:

make

About

Grolib archive command line tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published