Skip to content

davechurchill/STARTcraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STARTcraft

Get started with Starcraft: BroodWar AI Development as fast as possible.

New to StarCraft or AI Programming? Watch the tutorial video(s):

Currently Supported (more coming soon):

  • Windows / C++ Development using BWAPI

Setup Instructions:

Windows / C++

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.

  1. Download / Clone this repo to your computer
  2. Download and unzip Starcraft Broodwar 1.16.1 to the included starcraft folder
  3. Run bin/RunStarterBotAndStarcraft.bat which will launch the bot executable and Starcraft / BWAPI
  4. Open visualstudio/STARTcraft.sln in Visual Studio 2022 to modify / recompile the code

Linux / C++

  1. Download / Clone this repo to your computer
  2. Download and unzip Starcraft Broodwar 1.16.1 to the included starcraft folder
  3. Install Mingw-w64 using: sudo apt install build-essential mingw-w64
  4. 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 modify WINEPREFIX and the path to wine in bin_linux/RunStarterBotAndStarcraft.sh.
  5. Run bash bin_linux/RunStarterBotAndStarcraft.sh which will launch the bot executable and Starcraft / BWAPI
  6. 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages