This repository prepares a fully working to extract/record data using BWAPI AIModule from StarCraft: Brood War game running in Wine inside of docker image.
See installation instructions for Windows / Linux.
It should run well on new versions of major operating systems. It was tested on:
- Microsoft Windows 10/11 (64-bit)
- Ubuntu 22.04.01,
6.8.0-60-generic
# On Windows, the default directory is %APPDATA%\observer\.
# On Linux, it is ~/.observer/.
# If the directory is empty, copy the ./bots folder (Extractor and Recorder) into it.
observer --extract [--bot-dir <BOT_DIRECTORY>] [--game-dir <GAME_OUTPUT_DIRECTORY>]observer --record [--bot_dir <BOT_DIRECTORY>]You can put the RealVNC client to fullscreen and play comfortably.
(Although you might want to change your screen resolution to 800x600)
The GUI is going to be probably slower than normal game due to streaming via VNC.
Due to a known limitation, both observer --extract and observer --record require manual replay selection inside the container after launch.
- Headful mode needs to specify the replays manually due to "Unable to distribute map" bug.
- Headless mode not work due to
bwheadlessnot designed for replay files.
- StarCraft 1.16.1 game
- wine
2.20.0~xenial - base image from
sc-docker
Images are available on Dockerhub.
You can use:
cjdahrl/starcraft:wine
cjdahrl/starcraft:bwapi
cjdahrl/starcraft:java
cjdahrl/starcraft:play
These are latest stable images and are subject to change.
This project is maintained by Cognition and Intelligence Lab