Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yalter/dempack

GoldSource demo steganography.
https://github.com/yalter/dempack

Last synced: about 1 month ago
JSON representation

GoldSource demo steganography.

Awesome Lists containing this project

README

        

DemPack
==========

This is a tool for reading and writing arbitrary data stored in GoldSource demo files.
It utilizes unused bytes in the demo files for data storage.
The resulting demo files are of exactly the same size as the original ones and behave exactly like the original ones.

#Usage
- `DemPack `: prints the number of bytes you can pack into the given demo.
- `DemPack -u`: prints the packed bytes.
- `DemPack -p `: reads the input demo file, packs as many bytes from stdin as it can, then saves the resulting file into out. Outputs the number of bytes packed.

Example usage: `DemPack mydemo.dem -p newdemo.dem < input.txt`, where input.txt contains some text.

#Building
####Windows
- Get [Boost](http://www.boost.org/) and [Boost.Nowide](http://cppcms.com/files/nowide/html/) and build the latter.
- Create a build directory along the *src* directory.
- Run `cmake -DBOOST_ROOT=path\to\boost\base\dir ..` from the build directory.
- Compile the **ALL_BUILD** project from the generated VS solution.

####Linux
- Get Boost.Nowide.
- Create a build directory along the *src* directory.
- Run `cmake ..` from the build directory.
- Run `make` from the build directory.