barncastle / Battle.Net-Installer

A tool for installing, updating and repairing Blizzard games through Battle.net.
234 stars 42 forks source link

Battle.Net Installer

A tool for installing, updating and repairing games via Blizzard's Battle.net application. This tool can either be run directly or via command line using the below arguments.

Windows only. See releases for a compiled binary.

Project Prerequisites

Arguments

Argument Description
--prod TACT Product (Required)
--lang Game/Asset language (Required)
--dir Installation Directory (Required)
--uid Agent UID (Required if different to the TACT Product)
--repair Repairs the installation opposed to installing/updating it
--help Shows this table

Command Line Usage

Example for StarCraft 2, which has a TACT Product of s2 and an Agent UID of s2(_locale):

.\bnetinstaller.exe --prod s2 --uid s2_enus --lang enus --dir "C:\Test"

Error Messages and Codes

Since this tool interacts directly with the Battle.net agent there are no human-readable errors just error codes. This tool does it's best to indicate the potential problem and displays the full exception when it occurs. Additional details can be found in the agent log files which are located within the %programdata%\Battle.net\Agent\Agent.xxxx directories.

Some known and common errors can be found below: