Heroes.MpqTool
1.2.0
dotnet add package Heroes.MpqTool --version 1.2.0
NuGet\Install-Package Heroes.MpqTool -Version 1.2.0
<PackageReference Include="Heroes.MpqTool" Version="1.2.0" />
paket add Heroes.MpqTool --version 1.2.0
#r "nuget: Heroes.MpqTool, 1.2.0"
// Install Heroes.MpqTool as a Cake Addin #addin nuget:?package=Heroes.MpqTool&version=1.2.0 // Install Heroes.MpqTool as a Cake Tool #tool nuget:?package=Heroes.MpqTool&version=1.2.0
Heroes Mpq Tool
Heroes Mpq Tool is a .NET library that is specifically designed for parsing Heroes of the Storm MPQ files.
Usage
To parse an mpq file, such as a .StormReplay
or .s2ma
file, use MpqHeroesFile.Open(string fileName)
by providing the path to the file. It will provide a MpqHeroesArchive
object to allow access to the files inside of the archive.
Example:
// parse the mpq file
using MpqHeroesArchive mpqHeroesArchive = MpqHeroesFile.Open("path/to/file");
// get an entry, such as replay.initData for a replay file
if (mpqHeroesArchive.TryGetEntry("replay.initData", out MpqHeroesArchiveEntry? mpqHeroesArchiveEntry))
{
// decompress the entry and do something with it
using Stream stream = mpqHeroesArchive.DecompressEntry(mpqHeroesArchiveEntry.Value);
}
Developing
To build and compile the code, it is recommended to use the latest version of Visual Studio 2022 or Visual Studio Code.
Another option is to use the dotnet CLI tools from the .NET 8.0 SDK.
License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Heroes.MpqTool:
Package | Downloads |
---|---|
Heroes.StormReplayParser
Library to parse Heroes of the Storm replay files (.StormReplay). |
|
Heroes.XmlData
Library to directly parse the Heroes of the Storm game data. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.2.0 | 513 | 6/28/2024 | |
1.1.0 | 393 | 1/31/2024 | |
1.0.0 | 429 | 12/17/2023 | |
1.0.0-beta.2 | 200 | 12/6/2023 | |
1.0.0-beta.1 | 99 | 12/2/2023 |