Get started with Starcraft: BroodWar AI Development as fast as possible.
New to StarCraft or AI Programming? Watch the tutorial video(s):
- Starcraft AI Intro: https://www.youtube.com/watch?v=czhNqUxmLks
- STARTcraft Tutorial: https://www.youtube.com/watch?v=FEEkO6__GKw
Currently Supported (more coming soon):
- Windows / C++ Development using BWAPI
STARTcraft comes with a StarterBot written in C++ using BWAPI 4.4.0. This repo comes with BWAPI, and uses Injectory to launch StarCraft with BWAPI, so Chaoslauncher is not required.
- Download / Clone this repo to your computer
- Download and unzip Starcraft Broodwar 1.16.1 to the included
starcraft
folder - Run
bin/RunStarterBotAndStarcraft.bat
which will launch the bot executable and Starcraft / BWAPI - Open
visualstudio/STARTcraft.sln
in Visual Studio 2022 to modify / recompile the code
- Download / Clone this repo to your computer
- Download and unzip Starcraft Broodwar 1.16.1 to the included
starcraft
folder - Install Mingw-w64 using:
sudo apt install build-essential mingw-w64
- Install wine using:
sudo dpkg --add-architecture i386 && sudo apt update && sudo apt install wine
. You can skip this step if you use WINE_AppImage or something similar, but in this case you should modifyWINEPREFIX
and the path to wine inbin_linux/RunStarterBotAndStarcraft.sh
. - Run
bash bin_linux/RunStarterBotAndStarcraft.sh
which will launch the bot executable and Starcraft / BWAPI - Modify the code in any preferred editor / recompile the code using:
make
Note. In the bin_linux
folder, the libgcc_s_dw2-1.dll
and libstdc++-6.dll
files are exactly the same ones you will find in /usr/lib/gcc/i686-w64-mingw32/12-win32
after installing Mingw-w64.