Skip to content

NicoAriel/yasha

 
 

Repository files navigation

Yasha

Dota 2 (Source 1) replay parser written in Go, extracted from Dotabuff TrueSight.

We're working on both maintaining the parser for replays of both Source 1 and Source 2 Engines.

About Source 1

This parser is able to parse replays recorded since about 2012.

About Source 2

The upcoming Source 2 Engine requires several incompatible changes, so we work on it in a separate repository.

See also Sange, the Dota 2 (Source 2) parser

Installation

Simple as:

$ go get github.com/dotabuff/yasha

And in your code:

import "github.com/dotabuff/yasha"

Please be aware that you can't import Sange and Yasha in the same binary! The Protocol Buffer definitions conflict, and will panic.

Test Coverage

Yasha is a dependency of and was extracted from Dotabuff TrueSight. Test coverage is currently upstream. We'll be working to implement comprehensive testing in both Yasha and Sange and are especially grateful for contributions in this area.

Usage

See the examples directory.

License

MIT, see the LICENSE file.

Help

If you have any questions, just ask manveru in the #dota2replay channel on QuakeNet.

About

Dota 2 (Source 1) replay parser written in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published