scmJS

StarCraft: Brood War in a browser tab. A map editor, the game, and replay analysis.

Free and open source, in the browser or as a desktop app for Windows, macOS and Linux. It ships no game data: the editor can fetch its graphics from Blizzard's free download, and playing requires your own StarCraft.

Editor

Open, edit and save maps for Brood War and StarCraft: Remastered, protected ones included. Terrain, units, triggers, and editing a map together by a link.

Works without your game files

Play

The game itself, in a tab. Play a map alone, against community bots, or with other people by a link. A mod runs with its own files and code.

Requires your own StarCraft
Drop a map or a replay .scm .scx .chk .rep The file stays in this browser: it is handed to the editor or the game in a tab of its own, and nothing is uploaded.

Beta scmJS is still under development. Back up any map you care about before you edit it.

Bug? Report it on the issue tracker. In the editor, use Help ▸ Copy Bug Report to get a log to attach to the issue.

Also here

TrigScript

Triggers written as TypeScript and compiled into the map, with a simulator, tests and a debugger that steps the real game.

The TrigScript guide

Mods

A mod is a folder. Play it, watch its replays, and edit its data and terrain; scmjs mod builds and checks it.

The mods guide

Bots

Play against community BWAPI bots, bring your own, or write one in JavaScript with @scm-js/bot.

The bots guide

Command line

npx scmjs checks, diffs, tests and shares maps from a terminal or from CI.

The command line guide

Claude and other AI apps

Ask Claude about your maps in plain words and have it change them; in the editor, each change is one step you can undo. Claude Desktop installs it from one file.

The AI tools guide

Plugins

Tools, panels and overlays through one API. The replay analysis and the trigger tools are plugins themselves.

Browse plugins

Editing together

Share the map you have open and send the link. Everyone who opens it edits the same map at the same time.

The user guide

Made with it

Each is a map written in TrigScript. How they were made.

Downloads

The desktop app is the same editor in an Electron window. It also updates itself (you can switch to the nightly in its preferences), finds your StarCraft installation, and opens map files you double-click or open with it. The app is not signed yet, so Windows shows a SmartScreen warning, and on macOS you need to run xattr -d com.apple.quarantine before it will start.

Platform Latest release Nightly
Windows installer scmJS-windows-x64-setup.exe nightly .exe
Windows zip, no install scmJS-windows-x64.zip nightly .zip
macOS Apple silicon scmJS-macos-arm64.dmg nightly .dmg
macOS Intel scmJS-macos-x64.dmg nightly .dmg
Linux AppImage scmJS-linux-x86_64.AppImage nightly .AppImage
Linux Debian, Ubuntu scmJS-linux-amd64.deb nightly .deb

All nightly builds are the same build as scmjs.dev/nightly. Every asset, and the notes for each version, are on the releases page.

Other ways to run it

In a container

Each numbered release is also a Docker image. To pull it and run it on your machine:

docker run --rm -p 8080:80 \
  ghcr.io/scm-js/scm-js:latest

Then go to http://localhost:8080 in your browser.

On your own web server

Every release has a scmJS-web.zip: the built editor as static files, with no server of its own. Unpack it anywhere that serves files from the root.

It ships no game data

The tilesets, unit graphics and .dat tables belong to Blizzard Entertainment and cannot be redistributed. On first run the editor asks where to get them: your own StarCraft folder, or Blizzard's free map editor download, which it can fetch for you. The desktop app looks for your StarCraft installation by itself.

Without game data the editor still opens and edits maps, but draws them without the game's graphics.

What the editor does

The scmJS editor with Big Game Hunters open on the Terrain layer: the terrain palette on the left, the map in the middle, the minimap, layer list and properties on the right.

See the user guide for documentation.

Coming from StarEdit or SCMDraft

The layers, palettes and dialogs follow StarEdit and SCMDraft 2, so the editor should feel familiar. Triggers import and export as SCMDraft .trg files. The Text Trigger Editor (the TrigEdit plugin, off at first) uses SCMDraft's TrigEdit syntax, so triggers copied out of SCMDraft paste straight in.