HeroProtocol 1.2.62833

Heroes of the Storm Replay Parsing Tool compatible with Base Build 62833. Latest version supports all previous builds. Also supports future builds with limited support.

There is a newer version of this package available.
See the version list below for details.
Install-Package HeroProtocol -Version 1.2.62833
dotnet add package HeroProtocol --version 1.2.62833
<PackageReference Include="HeroProtocol" Version="1.2.62833" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HeroProtocol --version 1.2.62833
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

hots.Academy.HeroProtocol

HeroProtocol is a c# conversion of Blizzard's Python HeroProtocol.

It is a standalone tool(library) to decode Heroes of the Storm replay files into usable data structures.

Currently HeroProtocol can decode these structures and events:

  • Replay Header
  • Game Details
  • Init Data
  • Attribute Events
  • Game Events
  • Message Events
  • Tracker Events
  • BattleTags

Note: This library is designed to reflect Blizzard's HeroProtocol and does not include any built in functions for analysis.

Key Features

  • Parse multiple data sources
    • String: Local Files using file path
    • Stream: Data from memory stream (Useful for cloud storage)
    • Byte[]: Sometimes you just need to read arrays
  • Memory Management
    • Filter what data structures you want to parse (Some data structures consume a lot of resources you may not want to process)
  • No temp files required
    • Read and parse everything in memory fore better performance and less access requirements
  • Futre Release Support (experimental)
    • Replays can be parsed even if its a future patch not supported yet.
    • Major changes may break a speccific data structure or event but won't prevent the remainder from parsing

How To Use

First you'll need to download and import the HeroProtocol Reference.

# Package Manager
PM> Install-Package HeroProtocol

# .NET CLI
>  dotnet add package HeroProtocol

Once you have your pacakge installed you simply need to access your replay files and parse them.

Sample Code:

var heroesAccountsFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), @"Heroes of the Storm\Accounts");
var files = Directory.GetFiles(heroesAccountsFolder, "*.StormReplay", SearchOption.AllDirectories).Take(200);
foreach (var file in files)
{
	var exclusionList = new List<Replay.ReplayFiles>();
	//exclusionList.Add(HeroProtocol.Replay.ReplayFiles.MessageEvents);
	//exclusionList.Add(HeroProtocol.Replay.ReplayFiles.GameEvents);
	var ReplayData = new Replay(file,  exclusionList);
}

Credits

This software uses code from other packages.

  • Nmpq A fully-managed C# parser for Blizzard MPQ Archives
  • HeroProtocol Blizzard's heroprotocol is a reference Python library and standalone tool to decode Heroes of the Storm replay files into Python data structures.

hots.Academy.HeroProtocol

HeroProtocol is a c# conversion of Blizzard's Python HeroProtocol.

It is a standalone tool(library) to decode Heroes of the Storm replay files into usable data structures.

Currently HeroProtocol can decode these structures and events:

  • Replay Header
  • Game Details
  • Init Data
  • Attribute Events
  • Game Events
  • Message Events
  • Tracker Events
  • BattleTags

Note: This library is designed to reflect Blizzard's HeroProtocol and does not include any built in functions for analysis.

Key Features

  • Parse multiple data sources
    • String: Local Files using file path
    • Stream: Data from memory stream (Useful for cloud storage)
    • Byte[]: Sometimes you just need to read arrays
  • Memory Management
    • Filter what data structures you want to parse (Some data structures consume a lot of resources you may not want to process)
  • No temp files required
    • Read and parse everything in memory fore better performance and less access requirements
  • Futre Release Support (experimental)
    • Replays can be parsed even if its a future patch not supported yet.
    • Major changes may break a speccific data structure or event but won't prevent the remainder from parsing

How To Use

First you'll need to download and import the HeroProtocol Reference.

# Package Manager
PM> Install-Package HeroProtocol

# .NET CLI
>  dotnet add package HeroProtocol

Once you have your pacakge installed you simply need to access your replay files and parse them.

Sample Code:

var heroesAccountsFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), @"Heroes of the Storm\Accounts");
var files = Directory.GetFiles(heroesAccountsFolder, "*.StormReplay", SearchOption.AllDirectories).Take(200);
foreach (var file in files)
{
	var exclusionList = new List<Replay.ReplayFiles>();
	//exclusionList.Add(HeroProtocol.Replay.ReplayFiles.MessageEvents);
	//exclusionList.Add(HeroProtocol.Replay.ReplayFiles.GameEvents);
	var ReplayData = new Replay(file,  exclusionList);
}

Credits

This software uses code from other packages.

  • Nmpq A fully-managed C# parser for Blizzard MPQ Archives
  • HeroProtocol Blizzard's heroprotocol is a reference Python library and standalone tool to decode Heroes of the Storm replay files into Python data structures.

Release Notes

Heroes of the Storm Replay Parsing Tool compatible with Base Build 62833. Latest version supports all previous builds. Also supports future builds with limited support.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.3.0.1 291 9/7/2018
1.2.64657 352 5/1/2018
1.2.62833 396 3/7/2018
1.2.61129.1 400 1/11/2018
1.2.61129 452 1/11/2018
1.2.60821 392 1/9/2018
1.2.60632 383 12/21/2017
1.2.60522 512 12/14/2017
1.2.60399 520 12/14/2017
1.2.60265 510 12/14/2017
1.2.60228 420 12/7/2017
1.2.59988 425 11/30/2017
1.2.59944 372 11/30/2017
1.2.59837 375 11/30/2017
1.2.59799 387 11/30/2017
1.2.59657 365 11/30/2017
1.2.59279 388 11/30/2017
1.2.59239 389 11/30/2017
1.2.58795 372 11/30/2017
1.2.58623.1 403 10/22/2017
1.2.58623 388 10/22/2017