Go to file
John H. Robinson, IV d7c27bbcf1 Refactor / idempotent-fy vagrant.sh
Big changes:
1) Update packages!
2) Remove uncessary X11 packages (wisely, before updating all the packages)
3) Install all packages at once
4) Leave package addition in same order, because, it looked interesting?
5) Look for symlink before making it (Vagrant errors out on second
   provision otherwise)
6) Build demboyz
2015-10-11 09:55:14 -07:00
demboyz Rapidjson can only write up to 2^32 - 1 length strings by default, so change the api to reflect that 2015-08-31 23:07:51 -04:00
docs DEM format documentation 2015-07-03 00:27:45 -04:00
external Fixed compilation of bitbuf on gcc/clang 2015-08-31 22:16:29 -04:00
premake Changed output dir of compiled binaries to bin 2015-08-31 23:58:47 -04:00
.gitignore added Vagrantfile and fixed executable privileges 2014-10-29 01:13:55 -04:00
LICENSE Initial commit 2014-10-28 23:41:34 -04:00
README.md Added potential uses 2015-09-05 23:03:10 -04:00
vagrant.sh Refactor / idempotent-fy vagrant.sh 2015-10-11 09:55:14 -07:00
Vagrantfile added Vagrantfile and fixed executable privileges 2014-10-29 01:13:55 -04:00

demboyz

we dem boyz

What is it?

Demboyz is a command line tool to convert TF2 STV demos into a human readable json format. Demboyz runs on Linux, Windows, and OSX. It supports the following conversions:

.dem/.json <-> .dem/.json
.dem/.json -> .con

The .dem format is the TF2 STV demo format.
The .json format is the demboyz streaming json demo format.
The .con format is a log equal to what would be produced by TF2
with netmessage/demmessage logs enabled.

Potential Uses

  • Exporting Stats: Parsing for player stats and motion throughout maps.
  • Anticheat: Interpreting player net data for malicious behavior and cheating
  • Anti-Anticheat: Modifying player net data to hide your malicious behaviour and cheating
  • Censoring: Cover up rude communication by removing player voice and chat messages
  • Social engineering: Make your friends seem rude by adding phony player voice and chat messages
  • ConeBone69 revival: Change the names of all players to ConeBone69

Usage

./demboyz mystvdemo.dem mystvdemo.json
./demboyz mystvdemo.dem mystvdemo.con
./demboyz mystvdemo.json mystvdemo.dem
./demboyz mystvdemo.json mystvdemo.con

In the first example, mystvdemo.dem will be read from the current working directory, while mystvdemo.json will be written to the current working directory.

Compiling From Source

When following instructions below, the compiled binary will be output in the bin folder.

Using Vagrant

# Launch VM
vagrant up
vagrant ssh
cd /vagrant

# Install Linux dependencies (first time setup)
./vagrant.sh

# Build demboyz
cd premake
./gmake.sh && cd gmake
make

# Disconnect session and stop VM
exit
vagrant halt

With Visual Studio 2013

# Generate vs 2013 project
cd premake
vs2013.bat

Open generated VS solution at premake/vs2013/demboyz.sln