Dumps Quake Live demo files to JSON format. Originally written by Shawn Nock with original Huffman Python wrapper by Petr Skramovsky Quake 3 demo specification is available at www.elho.net/games/q3/q3dspecs.htm
I have added some modifications (such as directory dumping & file output) to support an application I am currently building.
Note: you will need a C compiler to build the pyhuffman C extension.
python setup.py build
To dump a directory of demo files to JSON:
python demodumper.py -d "path-to-demo-files"
To dump a single demo file to JSON:
python demodumper.py -f "demo-file.dm_73"
To dump a text file containing paths to demos (one full path per line):
python demodumper.py -l "path-to-text-file" -o "name-of-output-json-file.json"
If you would like to help us fix bugs but you don't have any .dm_73 demo test data (demo files), an archive of roughly 100 demos can be found here. If you need even more, there are plenty of demo files available at the trance.gg website
Even more archive files containing tons of demos from trance.gg: