This is an old revision of the document!
Table of Contents
- Preparation
- Operating Systems: Windows
- Programming Languages:
- Important Documents:
- How to Build Your Own Controller (Brood War 1.16.1, Visual C++ 2008)
S/W 설치 및 사용 방법
설치시 필요 사항
● Starcraft (Brood war) 1.16.1 ● Microsoft Visual C++ 2008 ● Window XP/Vista/Windows 7 ● Mac 지원하지 않음
S/W 설치 방법
1. Starcraft (Brood war) 1.16.1 설치를 한다
2. Visual C++ 설치
3. Choas Launcher 압축을 C:\program files\starcraft\chaoslauncher 에 푼다
4. BWAPI Beta 압축을 C:\program files\starcraft\BWAPI 에 푼다
5. C:\program files\starcraft\BWAPI_Beta\chaoslauncher 폴더를 C:\program files\starcraft\chaoslauncher 에 복사 한다
6. C:\program files\starcraft\BWAPI_Beta\Starcraft 폴더를 C:\program files\starcraft 에 복사 한다.
7. C:\program files\starcraft\BWAPI_Beta\WINDOWS 폴더를 C:\WINDOWS 에 복사 한다.
Compile 방법
1. C:\program files\starcraft\BWAPI_Beta\ExampleAIModule\ExampleAIModule.sln 를 실행 한다.
2. Visual C++ tool window 중앙에 보면 Debug 라고 되어 있는 것을 Release로 바꾸어 솔루션 빌드 한다.
3. C:\program files\starcraft\BWAPI_Beta\ExampleAIModule\release\ExampleAIModule.dll 을 C:\program files\starcraft\BWAPI_Beta\ExampleAIModule\Release\ExampleAIModule.dll to C:\program files\starcraft\bwapi-data\AI\ExampleAIModule.dll
복사를 한다.
Running the Bot
1. C:\program files\starcraft\chaoslauncher\Chaoslauncher.exe 에 위치한 chaos launcher를 실행 시킨다.
2. settings tab 에서 설치된 starcraft의 경로를
3. bwapi checkbox 선택 하고 나머지는 uncheck
4. launch starcraft 클릭
5. single player match 실행
6. Start the game
7. 제대로 설치가 되었다면 아래와 같은 메세지가 출력 될 것이다.
◦BWAPI: Loaded the AI Module: bwapi-data\AI\ExampleAIModule.dll
8. 만일 메세지가 출력 되지 않는 다면 C:\program files\starcraft\bwapi-data\log 를 확인해 보아라


