forked from OpenBW/bwapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bwapi.ini.example
191 lines (159 loc) · 7.51 KB
/
bwapi.ini.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
[ai]
; Paths and revisions for AI
; - Use commas to specify AI for multiple instances.
; - If there are more instances than the amount of
; DLLs specified, then the last entry is used.
; - Example: SomeAI.dll, SecondInstance.dll, ThirdInstance.dll
; - Absolute paths are acceptable.
;ai = ../OpenBWAPI4JBridge/Release/libOpenBWAPI4JBridge.so
ai = ../lib/TestAIModule.so
ai_dbg =
; Used only for tournaments
; Tournaments can only be run in RELEASE mode
tournament =
[auto_menu]
; auto_menu = OFF | SINGLE_PLAYER | LAN | BATTLE_NET
; for replays, just set the map to the path of the replay file
auto_menu = SINGLE_PLAYER
; character_name = FIRST | WAIT | <other>
; if FIRST (default), use the first character in the list
; if WAIT, stop at this screen
; else the character with the given value is used/created
character_name = FIRST
; pause_dbg = ON | OFF
; This specifies if auto_menu will pause until a debugger is attached to the process.
; Only works in DEBUG mode.
pause_dbg = OFF
; lan_mode = Same as the text that appears in the multiplayer connection list
; Examples: Local Area Network (UDP), Local PC, Direct IP
lan_mode = Local PC
; auto_restart = ON | OFF
; if ON, BWAPI will automate through the end of match screen and start the next match
; if OFF, BWAPI will pause at the end of match screen until you manually click OK,
; and then BWAPI resume menu automation and start the next match
auto_restart = ON
; map = path to map to host relative to Starcraft folder, i.e. map = maps/(2)Boxer.scm
; leaving this field blank will join a game instead of creating it
; The filename(NOT the path) can also contain wildcards, example: maps/(?)*.sc?
; A ? is a wildcard for a single character and * is a wildcard for a string of characters
map = maps/(4)Fighting Spirit.scx
; game = name of the game to join | JOIN_FIRST
; i.e. game = BWAPI will join the game called "BWAPI"
; and game = JOIN_FIRST will join the first game in the list.
; If the game does not exist and the "map" entry is not blank, then the game will be created instead
; If this entry is blank, then it will follow the rules of the "map" entry
game =
; mapiteration = RANDOM | SEQUENCE
; type of iteration that will be done on a map name with a wildcard
mapiteration = RANDOM
; race = Terran | Protoss | Zerg | Random
; - Use commas to specify race for each AI module when running multiple instances.
; - If there are more instances than the amount of
; races specified, then the last entry is used.
; - To be used in conjunction with multiple AI modules
; - Example: Terran, Protoss, Terran, Zerg
race = Terran
; enemy_count = 1-7, for 1v1 games, set enemy_count = 1
; only used in single player games
enemy_count = 1
; enemy_race = Terran | Protoss | Zerg | Random | RandomTP | RandomTZ | RandomPZ | RandomTPZ
; only used in single player games
enemy_race = Protoss
; enemy_race_# = Default
; Values for enemy_race are acceptable, Default will use the value specified in enemy_race
enemy_race_1 = Default
enemy_race_2 = Default
enemy_race_3 = Default
enemy_race_4 = Default
enemy_race_5 = Default
enemy_race_6 = Default
enemy_race_7 = Default
;game_type = TOP_VS_BOTTOM | MELEE | FREE_FOR_ALL | ONE_ON_ONE | USE_MAP_SETTINGS | CAPTURE_THE_FLAG
; | GREED | SLAUGHTER | SUDDEN_DEATH | TEAM_MELEE | TEAM_FREE_FOR_ALL | TEAM_CAPTURE_THE_FLAG
game_type = MELEE
; game_type_extra = Text that appears in the drop-down list below the Game Type drop-down list.
; If empty, the Starcraft default will be used.
; The following are the game types that use this setting, and corresponding example values
; TOP_VS_BOTTOM 3 vs 1 | 2 vs 2 | 1 vs 3 | # vs #
; GREED 2500 | 5000 | 7500 | 10000
; SLAUGHTER 15 | 30 | 45 | 60
; TEAM_MELEE 2 | 3 | 4 | 5 | 6 | 7 | 8
; TEAM_FREE_FOR_ALL 2 | 3 | 4 | 5 | 6 | 7 | 8
; TEAM_CAPTURE_THE_FLAG 2 | 3 | 4 | 5 | 6 | 7 | 8
game_type_extra =
; save_replay = path to save replay to
; Accepts all environment variables including custom variables. See wiki for more info.
save_replay = maps/replays/%BOTNAME6%/$Y $b $d/%MAP%_%BOTRACE%%ALLYRACES%vs%ENEMYRACES%_$H$M$S.rep
; wait_for_min_players = #
; # of players to wait for in a network game before starting.
; This includes the BWAPI player. The game will start immediately when it is full.
wait_for_min_players = 2
; wait_for_max_players = #
; Start immediately when the game has reached # players.
; This includes the BWAPI player. The game will start immediately when it is full.
wait_for_max_players = 8
; wait_for_time = #
; The time in milliseconds (ms) to wait after the game has met the min_players requirement.
; The game will start immediately when it is full.
wait_for_time = 60000
[config]
; holiday = ON | OFF
; This will apply special easter eggs to the game when it comes time for a holiday.
holiday = ON
; shared_memory = ON | OFF
; This is specifically used to disable shared memory (BWAPI Server) in the Windows Emulator "WINE"
; Setting this to OFF will disable the BWAPI Server, default is ON
shared_memory = ON
; console_* = TRUE | FALSE
; Used for getting a console for displaying text written to stdout and stderr, and read from stdin.
; console_attach_*
; Allows BWAPI to attach to the parent process' console. i.e. if the parent
; has a console, output will be displayed on that console, and that console
; also kept open even if the parent dies.
; console_alloc_*
; Allows BWAPI to allocate it's own system console window. Not executed if
; corresponding console_attach_* is enabled and succeeds.
; console_*_on_startup
; Executes when BWAPI.dll is first attached to Starcraft.
; console_*_auto
; Executes when something is written to std::cout or std::cerr,
; and no console was successfully attached/allocated on startup.
console_attach_on_startup = FALSE
console_alloc_on_startup = FALSE
console_attach_auto = TRUE
console_alloc_auto = TRUE
[window]
; These values are saved automatically when you move, resize, or toggle windowed mode
; windowed = ON | OFF
; This causes BWAPI to enter windowed mode when it is injected.
windowed = OFF
; left, top
; Determines the position of the window
left = 0
top = 0
; width, height
; Determines the width and height of the client area and not the window itself
width = 640
height = 480
[starcraft]
; Game sound engine = ON | OFF
sound = ON
; Screenshot format = gif | pcx | tga | bmp
screenshots = gif
; Random seed override. This uses a fixed seed at the start of the game so that if played out the exact same way,
; the same occurrences will happen every time. This value must be a decimal integer.
;
; When this key is commented out, Starcraft will use the system time as a seed. This is the default behaviour.
;
; Note: This option affects both single AND multi-player modes (for game hosts only). This means that hosting a multi-player
; game with this option enabled will distribute this fixed seed to all other players in the game.
;seed_override = 123456789
; Speed override. This overrides the default game speed setting and prevents bots from changing the game speed.
; Enabling this option causes it to take effect. The value is the number of milliseconds per frame. A negative
; value uses the game's default speed value.
;speed_override = -1
; drop_players = ON | OFF
; This specifies if BWAPI should drop other players from the game when the timeout dialog reaches 0. Players
; usually time out when there are connection issues or their client is not responding. Setting this to OFF
; will cause BWAPI to wait an infinite amount of time until the player reconnects.
drop_players = ON