Skip to content
jmalina edited this page Feb 24, 2016 · 6 revisions

Welcome to the heroprotocoljs wiki!

After cloning/downloading the repo to run the stand alone tool you have to install a few things.

I ran it on MAC OS X El Capitan (10.11.3)

Install Node via brew? (I can't remember how I did it, google it!)

A string parsing tool the program uses yargs

npm yargs

A port of the mpyq to js called mpyqjs

npm install -S mpyqjs

Running the standalone tool will look something like this:

node heroprotocol.js Towers\ of\ Doom.StormReplay -d --json > output.txt

^^ I output that big ol'blob to a text file!

I believe the most current patch(es) may be missing from the port. It didn't work with a game from li-ming balance patch Feb 17th. It did work with a game from the end of December 2015. ;)

Clone this wiki locally