Skip to content

Blizzard MPQ name breaking tool with GPU acceleration support

License

Notifications You must be signed in to change notification settings

Moerbius/mpq-name-breaker

 
 

Repository files navigation

MPQ Name Breaker

Introduction

This tool is a PowerShell module that can be used to brute force Blizzard MPQ archives' name hashes.
This has been successfully tested on:

  • Windows 10 x64
  • PowerShell 7.1 x64

The tool also supports GPU accelerated name breaking.
It relies on the ILGPU library.

Quick start

  1. If you don't have it yet, download and install PowerShell 7.
  2. Download and unzip the MpqNameBreaker PowerShell module.
  3. Launch PowerShell 7, cd to the folder where you unzipped the module and run Import-Module .\MpqNameBreaker
  4. See usage section below to launch name breaking.

Usage

# Name breaking for "gendata\cuttt.pal"
Invoke-MpqNameBreaking -HashA 0xD50A0BCCu -HashB 0xB94F2DD2u `
    -Prefix 'gendata\' -Suffix '.pal' -Verbose

The -HashA and -HashB parameters are unsigned 32-bit integers, the 0x prefix and u suffix are needed.

The case does not matter for -Prefix, -Suffix and parameters.

# Name breaking without suffix for "monsters\mega\balr.trn"
Invoke-MpqNameBreaking -HashA 0x26BBF734u -HashB 0x2C785839u `
    -Prefix 'MONSTERS\MEGA\' -AdditionalChars '.' -Verbose

The default charset used for the name breaking is 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_-
It can be extended with the -AdditionalChars parameter.

Build

dotnet msbuild -property:Configuration=Release

About

Blizzard MPQ name breaking tool with GPU acceleration support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%