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

https://github.com/w3gh/dotareplayparser

Pareser for Warcraft III DotA w3g replay file
https://github.com/w3gh/dotareplayparser

Last synced: about 2 months ago
JSON representation

Pareser for Warcraft III DotA w3g replay file

Awesome Lists containing this project

README

        

# How To Use

/**
* Replay Data Parser
*
* @param string $filename = 'path/to/file.w3g'
*
* @param array $options = array(
* 'parseActions' => true, //default true
* 'parseChat' => true, //default true
* 'logCallback' => 'string|array' // this function will called when calls $this->_log()
* 'translateCallback' => 'string|array' // this function will called when calls $this->_t()
* )
*/

$replay = new Dota_Replay($filename, $options);
$replay->toArray();