Warcraft III is still a great platform for custom games, but its modding tools are dated and the official editor has barely changed. Wisp is the engine behind Mak’gora: you write the game in TypeScript, and Wisp builds it for Warcraft III, tests it without Warcraft running, and plays it in a native window of its own.
What it does
- TypeScript to Lua. Wisp compiles your game to the Lua that Warcraft III runs. Warcraft API types catch mistakes before the map loads, and a Lua error in the game points back to your TypeScript line.
- Hot reload. Save a file and the running match picks up the code change, with no rebuild or rehost. New art and object data still need a rebuilt map.
- Build maps without World Editor. Define units and abilities in code, and one command packs the map.
- Simulated-player tests. Simulated players run your map in seconds and report errors, desyncs and what a player would see wrong.
wisp devreruns them on every save, and a two-client, 600-frame match of Mak’gora finishes in under a second. - Automated playtests.
wisp soakplays hundreds of seeded matches with computers and a fuzzed controller, and keeps a repro file for every problem it finds.wisp lanruns offline Warcraft III clients in pairs and compares every client’s checksum on every turn, with no Battle.net account.wisp playhosts a match from the desktop in one command. - A native desktop window. The same game also runs in Wisp’s own window, written in Rust: its own renderer, input and sound, with the game stepping on a 60 Hz clock thread that the display never slows down. The simulation and rollback stay in TypeScript, so one codebase is both the Warcraft III map and the native game.
- The remastered art path. The window upscales a player’s own Warcraft III textures on their own GPU with Real-CUGAN (MIT-licensed weights, run by Wisp’s own compute kernels), caches the result, and lets the player switch between Original and Remastered art in the middle of a match. In one measured run the slowest per-frame step of that switch cost 0.8 ms.
Where it is now
Wisp is in development and runs on Linux today. Windows and macOS support is tracked in the project’s issues. Mak’gora, a platform fighter with 26 fighters and 10 stages, is the first game built on it; the game owns its simulation, UI, assets and map, and Wisp never reads its source.
The native window runs only the natives a game declares in its standalone profile, never Warcraft’s own unit simulation. A map that needs Warcraft to move, path, order, fight or buff its units plays in Warcraft III only.
Where the numbers come from
- The under-a-second match is the headless runtime’s documented figure for Mak’gora’s two-client, 600-frame quick match (feature index).
- The 60 Hz clock is the native window’s step clock (play).
- The 2.4 s is the Radeon 890M running Real-CUGAN over twelve real Classic textures, and the 0.8 ms is the slowest per-frame step of a mid-match art switch on that GPU (remaster upscaler and the native window plan).
Fan project
Wisp is an independent fan project, not affiliated with or endorsed by Blizzard Entertainment. Its toolchain works with the official game and your own install. Its runtime is written entirely from scratch, and it loads art at run time from a copy you own; Wisp never replaces or redistributes the game.
- Nothing of Blizzard’s (code, art, sound, data, game scripts or in-game text) is in the repository or ships with Wisp.
- Behaviour is measured from the outside, from what the game shows, plays, logs and writes, plus public documentation; nothing comes from disassembly, decompilation or reading a game’s memory.
- No DRM bypass, no Battle.net emulation, no cheats, and nothing that touches other players or Blizzard’s services.
- Original code only, with no code from AGPL projects, and “Warcraft” stays out of its product names.
Created by Tom Passarelli and released under the MIT License.