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
- Host: GitHub
- URL: https://github.com/w3gh/dotareplayparser
- Owner: w3gh
- Created: 2011-05-23T16:24:23.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2011-07-07T02:41:04.000Z (almost 14 years ago)
- Last Synced: 2025-04-11T05:57:38.213Z (about 2 months ago)
- Language: PHP
- Size: 203 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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();