bwapi.ini.example 7.5 KB

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