OpenWar3

OpenWar3 is a recreation of the Warcraft III engine in TypeScript that supports multiplayer reconnect and a smarter melee AI.

README

OpenWar3

A recreation of the Warcraft III engine in TypeScript. Ships zero Blizzard assets — it reads your own install at runtime. Nearly any classic Warcraft III with The Frozen Throne works, from 1.17 to 1.31.1; we recommend Warcraft III 1.29, the "Warcraft III (Legacy)" install Battle.net offers beside Reforged. Whatever the build, the game data is brought to the current balance patch (how).

Features

  • Cross-platform — Windows, Linux, macOS, anything with a browser
  • Multiplayer reconnect — no more dropped games lost
  • Computer+ — a smarter melee AI that never cheats (how it works)
  • Huge control groups and a select-army hotkey (-)
  • Built-in map downloader — search and download EpicWar maps from the map list, browse Hive Workshop and wc3maps inside the game, and a LAN game fetches the host's map if you don't have it
  • Hotkey editor — rebind any command card in-game and save it to your CustomKeys.txt (Options → Gameplay → Hotkeys: Custom; how it works)
  • Voice control accessibility mode
  • Push-to-talk voice chat in multiplayer

Quick start

Download the desktop app from Releases, run it, and point it at your Warcraft III folder. It remembers the folder and updates itself.

From source:

pnpm install
pnpm dev     # http://localhost:5173
pnpm app     # desktop app (after pnpm build)
pnpm test    # every check; the data-backed suites skip without an install

LAN and online play works out of the box in the desktop app — see docs/multiplayer.md.

Want to help? Start with CONTRIBUTING.md.

Legal

Original code, no copyrighted assets. Game files are read locally and never uploaded. Licensed under the MIT License.