InstallationΒΆ
Starcraft and BWAPI
- Install and update Starcraft to patch 1.16.1 (not 1.18). The 1.16.1 patch can be downloaded here, and a guide for setting up simultateous 1.16.1 and 1.18 installs can be found here.
- Download and install BWAPI 4.2.0
BWAPI-Lua
- Download the BWAPI-Lua .dll for the version of Lua you want to use and move it to
Starcraft/bwapi-data/AI
(e.g.C:\Program Files (x86)\StarCraft\bwapi-data\AI
). - You will also need to make sure that you have a compatible Lua .dll in your Starcraft folder or somewhere in your
PATH
(for Lua 5.1, it should be namedlua51.dll
). If you are unsure if you have this, you should download it from here and put it in your Starcraft folder (e.g.C:\Program Files (x86)\StarCraft
). - Edit
Starcraft/bwapi-data/bwapi.ini
and change the lineai = bwapi-data/AI/ExampleAIModule.dll
to point to the BWAPI-Lua dll you just installed (e.g.ai = bwapi-data/AI/Lua51AIModule.dll
)
Next