Difference between revisions of "Main Page"

(Simplifying layout)
Line 41: Line 41:
 
* [https://bitbucket.org/auriarte/bwta2/wiki/Getting%20Started Getting Started with BWTA2]
 
* [https://bitbucket.org/auriarte/bwta2/wiki/Getting%20Started Getting Started with BWTA2]
 
* [[Increasing Starcraft's Speed]]
 
* [[Increasing Starcraft's Speed]]
* [[Multiple instances of StarCraft]]
+
* [[Multiple instances of StarCraft]] or how to run multiple bots in the same computer
 
* [http://www.teamliquid.net/forum/brood-war/484849-improving-mineral-gathering-rate-in-brood-war Improving mineral gathering rate in Brood War]
 
* [http://www.teamliquid.net/forum/brood-war/484849-improving-mineral-gathering-rate-in-brood-war Improving mineral gathering rate in Brood War]
* [http://www.goliathdesigns.com/2011/02/starcraft-neuroevolution/ StarCraft NeuroEvolution Unit AI]
 
* [http://legionbot.blogspot.com/ Map analysis]
 
  
 
* For development
 
* For development
Line 50: Line 48:
 
**If you want to compile old bots (VS2008 projects) with VS2013. Install the [http://www.microsoft.com/en-us/download/details.aspx?id=8279 Windows SDK 7.1]. Remember you should uninstall first any version of Visual C++ 2010 redistributable, otherwise Windows SDK setup will fail.
 
**If you want to compile old bots (VS2008 projects) with VS2013. Install the [http://www.microsoft.com/en-us/download/details.aspx?id=8279 Windows SDK 7.1]. Remember you should uninstall first any version of Visual C++ 2010 redistributable, otherwise Windows SDK setup will fail.
 
*For running BWAPI Bots on non-development machines (e.g Tournaments clients) you only need the [http://www.microsoft.com/en-us/download/details.aspx?id=40784 VC 2013 Redistributable Package]
 
*For running BWAPI Bots on non-development machines (e.g Tournaments clients) you only need the [http://www.microsoft.com/en-us/download/details.aspx?id=40784 VC 2013 Redistributable Package]
 +
 +
== Research ==
 +
* [https://github.com/bwapi/bwapi/wiki/Academics Research Papers]
 +
* [[StarCraft Brood War Data Mining]]
 +
* [http://eecs.wsu.edu/~ala/cdtldms/ Learning using SARSA]
 +
* [http://www.teamliquid.net/forum/legacy-of-the-void/482775-a-treatise-on-the-economy-of-scii A Treatise on the Economy of SCII]
 +
* [http://www.coursehero.org/course/starcraft-theory-and-strategy Game Theory with Applications to StarCraft]
 +
* [http://blogs.cornell.edu/info2040/2011/10/31/game-theory-applied-to-starcraft-ii/ Game Theory Applied to Starcraft II]
 +
* [http://www.goliathdesigns.com/2011/02/starcraft-neuroevolution/ StarCraft NeuroEvolution Unit AI]
 +
* [http://legionbot.blogspot.com/ Map analysis]
  
 
   </div>
 
   </div>
Line 97: Line 105:
 
* [http://www.codeofhonor.com/blog/the-starcraft-path-finding-hack How does default pathfinding work?]
 
* [http://www.codeofhonor.com/blog/the-starcraft-path-finding-hack How does default pathfinding work?]
  
  </div>
+
== Map making/editing ==
</div>
 
 
 
== Temporal links ==
 
Some unsorted references before organize everything
 
* [http://www.icyhell.net/2008/04/18/brood-war-ai-project-v31/ Brood War AI Project v3.1]
 
 
* [http://www.campaigncreations.org/starcraft/resources/staredit_tutorials/basics_of_ums_mapping Basics of UMS Mapping]
 
* [http://www.campaigncreations.org/starcraft/resources/staredit_tutorials/basics_of_ums_mapping Basics of UMS Mapping]
* [https://github.com/bwapi/bwapi/wiki/Academics Research Papers]
 
* [http://www.teamliquid.net/forum/legacy-of-the-void/482775-a-treatise-on-the-economy-of-scii A Treatise on the Economy of SCII]
 
 
* [http://www.teamliquid.net/forum/brood-war/95409-guide-map-making Guide Map Making]
 
* [http://www.teamliquid.net/forum/brood-war/95409-guide-map-making Guide Map Making]
* [[StarCraft Brood War Data Mining]]
 
* [http://eecs.wsu.edu/~ala/cdtldms/ Learning using SARSA]
 
* [https://github.com/davechurchill/ualbertabot/tree/master/BOSS/asset/images/units BroodWar unit images as transparent PNGs]
 
* Funny videos
 
** [https://youtu.be/Eb7o1ArBHg8 Retarded Units of Starcraft BW II]
 
** [https://youtu.be/BcIACHhslmo Lego StarCraft]
 
** [http://www.carbotanimations.com/starcrafts/episodes/ StarCrafts]
 
* [http://www.coursehero.org/course/starcraft-theory-and-strategy Game Theory with Applications to StarCraft]
 
* [http://blogs.cornell.edu/info2040/2011/10/31/game-theory-applied-to-starcraft-ii/ Game Theory Applied to Starcraft II]
 
 
== Map Editing ==
 
 
 
* [[CHK Format]]
 
* [[CHK Format]]
 
* [http://sc.nibbits.com/assets/unused-unprotector-2/ Unused Unprotector 2 StarCraft Tool] and the [http://www.staredit.net/sc1db/file/1468/ source code].
 
* [http://sc.nibbits.com/assets/unused-unprotector-2/ Unused Unprotector 2 StarCraft Tool] and the [http://www.staredit.net/sc1db/file/1468/ source code].
Line 136: Line 125:
 
* StarCraft [http://wiki.teamliquid.net/starcraft/List_of_Unit_and_Building_Sizes unit sizes]. You can use [http://www.stormcoast-fortress.net/cntt/software/DatEdit/ DatEdit] (<code>StarEdit</code> tab) to get the Placement box in pixels. The pixels for a Terran Dropship, for example, are height 37 and width 49. Since <code>scmdraft</code> is zero indexed, be sure to enter your locations for <code>bottom</code> and <code>right</code> as one less than what it actually is. In this example, <code>bottom</code> would be 36 and <code>right</code> would be 48.
 
* StarCraft [http://wiki.teamliquid.net/starcraft/List_of_Unit_and_Building_Sizes unit sizes]. You can use [http://www.stormcoast-fortress.net/cntt/software/DatEdit/ DatEdit] (<code>StarEdit</code> tab) to get the Placement box in pixels. The pixels for a Terran Dropship, for example, are height 37 and width 49. Since <code>scmdraft</code> is zero indexed, be sure to enter your locations for <code>bottom</code> and <code>right</code> as one less than what it actually is. In this example, <code>bottom</code> would be 36 and <code>right</code> would be 48.
 
* [http://www.staredit.net/topic/7783/ Frequently Asked Questions]
 
* [http://www.staredit.net/topic/7783/ Frequently Asked Questions]
 +
 +
  </div>
 +
</div>
 +
 +
== Temporal links ==
 +
Some unsorted references before organize everything
 +
* [http://www.icyhell.net/2008/04/18/brood-war-ai-project-v31/ Brood War AI Project v3.1]
 +
* [https://github.com/davechurchill/ualbertabot/tree/master/BOSS/asset/images/units BroodWar unit images as transparent PNGs]
 +
* Funny videos
 +
** [https://youtu.be/Eb7o1ArBHg8 Retarded Units of Starcraft BW II]
 +
** [https://youtu.be/BcIACHhslmo Lego StarCraft]
 +
** [http://www.carbotanimations.com/starcrafts/episodes/ StarCrafts]
  
 
<center>
 
<center>
 
[[File:Starcraft in south korea.jpg]]
 
[[File:Starcraft in south korea.jpg]]
 
</center>
 
</center>

Revision as of 09:47, 3 August 2015


Welcome to StarCraft AI
The StarCraft BroodWar Resource for custom AIs

This is a collaborative wiki, so please, if you want to contribute send an email to Alberto Uriarte (admin[at]starcraftai.com) with your desired username. Public registration is disabled to avoid spam bots and vandalism.

BWAPI

BWAPI extensions

Using other programming languages

Other tools

Tutorials

  • For development
    • Visual Studio VC++ 2013 Express is enough.
    • If you want to compile old bots (VS2008 projects) with VS2013. Install the Windows SDK 7.1. Remember you should uninstall first any version of Visual C++ 2010 redistributable, otherwise Windows SDK setup will fail.
  • For running BWAPI Bots on non-development machines (e.g Tournaments clients) you only need the VC 2013 Redistributable Package

Research

Bots

Currently there are 61 bots listed.

  • 27 Terran bots
  • 22 Protoss bots
  • 14 Zerg bots
  • 4 using BWAPI 4.0.1
  • 32 using BWAPI 3.7.4
  • 5 using BWAPI 3.6.1
  • 3 using BWAPI 3.0.3
  • 2 using BWAPI 2.8.0
  • 2 using BWAPI 2.6.1
  • 38 using C++
  • 10 using Java
  • 1 using Clojure

Tournaments

Various venues host remote competitive AI competitions that allow developers from around the world to participate. These venues are often held annually and will sometimes offer prizes to the winners. It is also a great way to test your bot's capabilities.

StarCraft: Brood War's Mechanics

Map making/editing

  • Basics of UMS Mapping
  • Guide Map Making
  • CHK Format
  • Unused Unprotector 2 StarCraft Tool and the source code.
  • Scmdraft map editor. Under downloads, you will obtain version 0.8.0, but this is not the latest version. Instead, you will want to look at the news page and get ScmDraft 2 (0.8.1), located in the temp folder.
  • Unfortunately, the author did not update the version number in the build, so it incorrectly says 0.8.0, making things quite confusing. You will need this if you want to be able to create Extended Unit Death (EUD) triggers (the Memory condition will be enabled when creating a trigger).
  • The downside of using EUDs is that the memory offsets change with every version of StarCraft; I doubt that will be a problem these days though.
  • EUD Database, with EUDTrig to find unit offsets. With EUDTrig, you need to copy comctl32.ocx (alternate location) into the current directory. You need ArtMoney for monitoring the process and finding the hex values in the first place. Then, see this exported wiki article.
  • Staredit Network's Wiki, and the StarEdit forums. Be sure to change the theme after login, as I find the default one annoying.
  • You have 256 switches that you can use to set/reset game state. Death counters are an alternative, and they trigger at a rate of 1 death count = 84 milliseconds.
  • Only Players 1 through 8 can own triggers. Neutral (Player 12) cannot, and such triggers will be ignored.
  • How to make 4 players share minerals + gas. Lousy resource, but hard to find anything on this.
  • It looks like a lot of the good EUD's are patched. EUDEnable. This post clears up exactly what is being read (4 bytes at a time). Many of the tutorials simply assume that all other bytes are 0, which is often incorrect.
  • Using Death Count Timers instead of waiting.
  • How damage works, such as for burning buildings.
  • And overview of working with MPQ archives. Use MPQDraft to patch MPQ files. For reading and editing the contents, use MPQ Editor.
  • StarEdit FAQ. StarCraft Mapmaker's Guide.
  • StarCraft unit sizes. You can use DatEdit (StarEdit tab) to get the Placement box in pixels. The pixels for a Terran Dropship, for example, are height 37 and width 49. Since scmdraft is zero indexed, be sure to enter your locations for bottom and right as one less than what it actually is. In this example, bottom would be 36 and right would be 48.
  • Frequently Asked Questions

Temporal links

Some unsorted references before organize everything

Starcraft in south korea.jpg