59 lines
1.4 KiB
Markdown
59 lines
1.4 KiB
Markdown
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.
|
|
|
|
### 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
|