A small template hello world bot for JBWAPI users to ease setup (using gradle
).
$ git clone https://github.com/JavaBWAPI/jbwapi-kotlin-template.git
$ cd jbwapi-kotlin-template
$ gradle build
$ java -jar build/libs/jbwapi-kotlin-template-1.0-SNAPSHOT.jar
Follow the tutorial for more information
- Download and unzip StarCraft 1.16.1 from Memorial University, hosted with permission from Activision Blizzard. Newer versions of StarCraft like Remastered are incompatible with BWAPI.
- 위 링크를 통해 게임을 받고 원하는 최상위 루트에 StarCraft 폴더에 저장한다.
- Download the SSCAI map pack and extract the included sscai directory into Starcraft/maps/
- 맵을 다운받아서 설치한 게임에 maps 하위에 압축 해제한다.
- Install the latest BWAPI. At time of writing, this is version 4.4.0
- BWAPI를 받아서 설치한다. 설치 할때 게임 위치를 지정해준다. Starcraft\BWAPI\Chaoslauncher 위치에 런처가 있고 코드를 실행할 때 런처를 구동해줘야 한다.
- Chaoslauncher 설정
- plugins : BWAPI Injector (Release), W-MODE 체크
- W-MODE는 윈도우를 창모드로 실행하게 해준다.(해상도가 낮기 때문에 충돌이슈로 무조건 체크 해주는게 이득)
- settings : Warn about missing adminprivilegues 체크 해제
- plugins : BWAPI Injector (Release), W-MODE 체크