forked from andreasschmidtjensen/scbw-mas
-
Notifications
You must be signed in to change notification settings - Fork 7
Install Guide
Vincent Koeman edited this page Sep 29, 2020
·
97 revisions
Required: Windows (XP or up)
If you do not have Windows, see VirtualBox installation and then follow the entire procedure below in the virtual machine.
WARNING: virus scanners like Immunet, Windows Defender and Windows SmartScreen may give warnings and even throw away downloaded files; both StarCraft and the connector might be suspected. You may therefore have to disable virus scanners for this installation.
- Install the GOAL plugin for Eclipse
- Install StarCraft: Brood War 1.16.1 (warning: installer makes noise...)
- Extract the
Chaoslauncher
directory from BWAPI 3.7.5 to your StarCraft installation folder (C:\Program Files (x86)\Starcraft
by default). In the created directory (e.g.C:\Program Files (x86)\Starcraft\Chaoslauncher
), remove the five consecutive files ending with ad
(e.g.BWAPI_ChaosLauncherInjectord.bwl
,BWAPId.dll
, etc.). - Extract the contents of the
sscai
directory from the SSCAIT Map Collection to theMaps
directory of your StarCraft installation folder. - Download the
Starter_Pack.zip
from the latest Connector Release and unzip this somewhere. - Start Eclipse and switch to the GOAL perspective.
- Import one of the example projects from the Starter Pack as follows:
- File > Import
- GOAL Agent Programming > Existing GOAL project
- Browse to the directory where you unpacked the
Starter_Pack.zip
- Select a mas2g file from one of the examples (i.e. one of the different races) and click Open
- Click Finish
- Open the example mas2g file in your workspace
- Run (or debug) the example mas2g file.
- You may see an in-game message saying: "Failed to load: AI module = NULL", this can be ignored. You should also uncheck 'Show Tips at Startup' and press OK the very first time you play a game.
- For further reading, the environment manual can be found in the starter pack or here. Don't forget about the various GOAL documentation that is available here either.
TIP: if StarCraft hangs on showing the tip box, stop your agent-system in Eclipse, uncheck 'Show Tips at Startup', and cleanly shutdown StarCraft (and the Chaoslauncher afterwards). Now re-run, and everything should be fine!