Difference between revisions of "Main Page"
Nepetanigra (talk | contribs) m (→BWAPI: added a link to the GOAL project) |
(Added link to AttackOrderTimings spreadsheet) |
||
(18 intermediate revisions by 4 users not shown) | |||
Line 10: | Line 10: | ||
<div class="mpwelcome">Welcome to StarCraft AI</div> | <div class="mpwelcome">Welcome to StarCraft AI</div> | ||
<div class="mpsubtitle">The StarCraft BroodWar Resource for custom AIs</div> | <div class="mpsubtitle">The StarCraft BroodWar Resource for custom AIs</div> | ||
− | <div class="mplinks">[ | + | <div class="mplinks">[http://forum.starcraftai.com Forums] '''·''' [https://www.facebook.com/groups/bwapi/ Facebook Group] '''·''' [http://webchat.freenode.net/?channels=BWAPI BWAPI IRC Channel]</div> |
</div> | </div> | ||
</div> | </div> | ||
Line 21: | Line 21: | ||
== BWAPI == | == BWAPI == | ||
* [https://github.com/bwapi/bwapi BWAPI] is a free and open source C++ framework that is used to interact with the popular Real Time Strategy (RTS) game Starcraft: Broodwar. | * [https://github.com/bwapi/bwapi BWAPI] is a free and open source C++ framework that is used to interact with the popular Real Time Strategy (RTS) game Starcraft: Broodwar. | ||
− | ** [http://bwapi.github.io/ Documentation] '''·''' [https://github.com/bwapi/bwapi/releases Releases] '''·''' [https://github.com/bwapi/bwapi/issues Issue Tracker] | + | ** [http://bwapi.github.io/ Documentation] '''·''' [https://github.com/bwapi/bwapi/releases Releases] '''·''' [https://github.com/bwapi/bwapi/issues Issue Tracker] '''.''' [https://docs.google.com/document/d/11cq9ACPX4lpJcubc-Xq1ozvfXwrrE8Z07R8y1LjACss/edit BWAPI5 Technical Design (WIP)] '''.''' [https://docs.google.com/document/d/1cfciQltt-2DHXfdMWB7ryZ7JsUW42JAjYgBfOrJmHp0/edit#heading=h.v6he6uv2a6vh BWAPI 4.x.x Technical Overview] |
'''BWAPI extensions''' | '''BWAPI extensions''' | ||
+ | * [http://bwem.sourceforge.net/ BWME] is a terrain analyzer library. | ||
* [https://bitbucket.org/auriarte/bwta2 BWTA2] is a terrain analyzer library. | * [https://bitbucket.org/auriarte/bwta2 BWTA2] is a terrain analyzer library. | ||
* [https://github.com/Fobbah/bwsal BWSAL2] is a project that aims to develop several add-ons. | * [https://github.com/Fobbah/bwsal BWSAL2] is a project that aims to develop several add-ons. | ||
* [https://github.com/davechurchill/ualbertabot/tree/master/SparCraft SparCraft] is an open source StarCraft combat simulation package. | * [https://github.com/davechurchill/ualbertabot/tree/master/SparCraft SparCraft] is an open source StarCraft combat simulation package. | ||
+ | * [https://github.com/tbalint/JarCraft JarCraft] is a SparCraft port in Java using [https://github.com/JNIBWAPI/JNIBWAPI JNIBWAPI] | ||
* [http://webdocs.cs.ualberta.ca/~cdavid/starcraftaicomp/tm.shtml StarCraft AI Tournament Manager]. | * [http://webdocs.cs.ualberta.ca/~cdavid/starcraftaicomp/tm.shtml StarCraft AI Tournament Manager]. | ||
'''Using other programming languages''' | '''Using other programming languages''' | ||
* Java: [http://bwmirror.jurenka.sk/ BWMirror], [https://github.com/JNIBWAPI/JNIBWAPI JNIBWAPI] | * Java: [http://bwmirror.jurenka.sk/ BWMirror], [https://github.com/JNIBWAPI/JNIBWAPI JNIBWAPI] | ||
− | * [https://github.com/eishub/Starcraft / GOAL]. An AI language on top of BWAPI, under development by University of Delft, Netherlands. | + | * [https://github.com/eishub/Starcraft/ GOAL]. An AI language on top of BWAPI, under development by University of Delft, Netherlands. |
* Python: [https://bitbucket.org/ratiotile/cybw CyBW] | * Python: [https://bitbucket.org/ratiotile/cybw CyBW] | ||
'''Other tools''' | '''Other tools''' | ||
Line 36: | Line 38: | ||
* [https://github.com/JDongian/bwapi3to4 Migration scripts for converting BWAPI 3 source to BWAPI 4 source] | * [https://github.com/JDongian/bwapi3to4 Migration scripts for converting BWAPI 3 source to BWAPI 4 source] | ||
* [http://www.teamliquid.net/forum/brood-war/111664-using-bwapi-to-take-spectating-to-the-next-level Replay watching enhancement]. | * [http://www.teamliquid.net/forum/brood-war/111664-using-bwapi-to-take-spectating-to-the-next-level Replay watching enhancement]. | ||
+ | * [https://github.com/tscmoo/bwheadless bwheadless]. Run broodwar and bwapi on linux without graphics, using wine. | ||
== Tutorials == | == Tutorials == | ||
* [[BWAPI and BWMirror (Java)]] | * [[BWAPI and BWMirror (Java)]] | ||
* [http://www.teamliquid.net/blogs/485544-intro-to-scbw-ai-development BWAPI Tutorial (C++)] | * [http://www.teamliquid.net/blogs/485544-intro-to-scbw-ai-development BWAPI Tutorial (C++)] | ||
− | * [[BWAPI | + | * [[How to debug a BWAPI AIModule with Visual Studio]] |
+ | * [[BWAPI Filters]] | ||
* [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 | + | * [[Increasing StarCraft Speed]] |
* [[Multiple instances of StarCraft]] or how to run multiple bots in the same computer | * [[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] | ||
Line 52: | Line 56: | ||
== Research == | == Research == | ||
− | * [https://github.com/bwapi/bwapi/wiki/Academics Research Papers] | + | * Research Papers: |
+ | ** [https://github.com/SKTBrain/awesome-starcraftAI A curated list of resources dedicated to StarCraft AI] | ||
+ | ** [https://github.com/Eric-Wallace/starcraft-research-papers A curated list of research papers on Starcraft BW and Starcraft II] | ||
+ | ** [https://github.com/bwapi/bwapi/wiki/Academics A curated list of BWAPI-related Research Papers] | ||
+ | * [[StarCraft AI Benchmarks]] | ||
* [[StarCraft Brood War Data Mining]] | * [[StarCraft Brood War Data Mining]] | ||
* [http://eecs.wsu.edu/~ala/cdtldms/ Learning using SARSA] | * [http://eecs.wsu.edu/~ala/cdtldms/ Learning using SARSA] | ||
Line 61: | Line 69: | ||
* [http://legionbot.blogspot.com/ Map analysis] | * [http://legionbot.blogspot.com/ Map analysis] | ||
+ | == Miscellaneous == | ||
+ | * [[Why not StarCraft 2]] | ||
+ | * [[BWAI Launcher|Brood War AI Launcher]] | ||
+ | * [http://www.entropyzero.org/BroodwarAI.html Brood War AI Project] - [http://www.icyhell.net/2008/04/18/brood-war-ai-project-v31/ download] | ||
+ | * [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] | ||
</div> | </div> | ||
<div style="width: 5px;"></div> | <div style="width: 5px;"></div> | ||
Line 84: | Line 101: | ||
* {{#ask: [[Category:Bots]] [[Bot programmed in::C++]] | format=count}} using C++ | * {{#ask: [[Category:Bots]] [[Bot programmed in::C++]] | format=count}} using C++ | ||
* {{#ask: [[Category:Bots]] [[Bot programmed in::Java]] | format=count}} using Java | * {{#ask: [[Category:Bots]] [[Bot programmed in::Java]] | format=count}} using Java | ||
+ | * {{#ask: [[Category:Bots]] [[Bot programmed in::C♯]] | format=count}} using C♯ | ||
* {{#ask: [[Category:Bots]] [[Bot programmed in::Clojure]] | format=count}} using Clojure | * {{#ask: [[Category:Bots]] [[Bot programmed in::Clojure]] | format=count}} using Clojure | ||
|} | |} | ||
Line 103: | Line 121: | ||
* [[Abilities and Bullets]] | * [[Abilities and Bullets]] | ||
* [[Regeneration|How does regeneration work?]] | * [[Regeneration|How does regeneration work?]] | ||
− | * [[How much damage an attack will do to a unit?]] | + | * [[Damage|How much damage an attack will do to a unit?]] |
* [[Tricks, Glitches and Exploits]] | * [[Tricks, Glitches and Exploits]] | ||
− | |||
* [http://classic.battle.net/scc/faq/aiscripts.shtml Exactly how do the custom AI scripts work?] | * [http://classic.battle.net/scc/faq/aiscripts.shtml Exactly how do the custom AI scripts work?] | ||
* [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?] | ||
+ | * [https://docs.google.com/spreadsheets/d/1bsvPvFil-kpvEUfSG74U3E5PLSTC02JxSkiR8QdLMuw/edit#gid=0 Attack Animation Frame Data] and the IceCC tool's decompilation of the iscript.bin file 'data\scripts\iscript.bin' from the MPQs: [[Media:iscript_all2.txt.zip]] ([http://www.campaigncreations.org/forum/viewtopic.php?t=1184 explanation]) | ||
+ | * [https://docs.google.com/spreadsheets/d/1LhC8rdqHTrhze6Gh7HitemGs-g2Xq-hVRDaA6X4bBnM/edit?usp=sharing Attack Order Timings] | ||
+ | * [https://github.com/nturley/bwapi-notes nturley's Unusual Unit Morphs] and [https://docs.google.com/document/d/1p7Rw4v56blhf5bzhSnFVfgrKviyrapDFHh9J4FNUXM0/edit jaj22's Unusual BW unit transitions] | ||
+ | * [https://docs.google.com/spreadsheets/d/1jlYDkXW2pQey1oGJlQRBiGjdMs0kfrdHAwzVI2zAjrU/edit#gid=0 StarCraft UnitType Data] | ||
+ | * [https://docs.google.com/spreadsheets/d/1YWFzY0_MEE4fOy9HrvZCYSpRqjgSBdCeRYVxB6zmJpQ/edit#gid=0 StarCraft WeaponType Data] | ||
+ | * [https://docs.google.com/spreadsheets/d/1FpB8e7VJYubaqTtMLoc457a319Wu8yT8jTM6hPq6pT8/edit#gid=0 StarCraft TechType Data] | ||
+ | * [https://tl.net/blogs/519872-towards-a-good-sc-bot-p56-latency Latency and latency compensation] | ||
+ | * [https://docs.google.com/document/d/1a-6NqHI3Leqe6FOZph_K5NLWx27VG1sa87bRSdjQotU/edit BW order timings data] | ||
== Map making/editing == | == Map making/editing == | ||
Line 133: | Line 158: | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<center> | <center> | ||
[[File:Starcraft in south korea.jpg]] | [[File:Starcraft in south korea.jpg]] | ||
</center> | </center> |
Latest revision as of 21:51, 16 January 2023
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 is a free and open source C++ framework that is used to interact with the popular Real Time Strategy (RTS) game Starcraft: Broodwar.
BWAPI extensions
- BWME is a terrain analyzer library.
- BWTA2 is a terrain analyzer library.
- BWSAL2 is a project that aims to develop several add-ons.
- SparCraft is an open source StarCraft combat simulation package.
- JarCraft is a SparCraft port in Java using JNIBWAPI
- StarCraft AI Tournament Manager.
Using other programming languages
- Java: BWMirror, JNIBWAPI
- GOAL. An AI language on top of BWAPI, under development by University of Delft, Netherlands.
- Python: CyBW
Other tools
- SSCAIT Tournament Watcher.
- BWDI. Another StarCraft Broodwar interface. Unfinished but with interesting ideas.
- Migration scripts for converting BWAPI 3 source to BWAPI 4 source
- Replay watching enhancement.
- bwheadless. Run broodwar and bwapi on linux without graphics, using wine.
Tutorials
- BWAPI and BWMirror (Java)
- BWAPI Tutorial (C++)
- How to debug a BWAPI AIModule with Visual Studio
- BWAPI Filters
- Getting Started with BWTA2
- Increasing StarCraft Speed
- Multiple instances of StarCraft or how to run multiple bots in the same computer
- Improving mineral gathering rate in Brood War
- 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
- Research Papers:
- StarCraft AI Benchmarks
- StarCraft Brood War Data Mining
- Learning using SARSA
- A Treatise on the Economy of SCII
- Game Theory with Applications to StarCraft
- Game Theory Applied to Starcraft II
- StarCraft NeuroEvolution Unit AI
- Map analysis
Miscellaneous
Bots
Currently there are 61 bots listed.
|
|
|
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.
- SSCAIT: Student StarCraft AI Tournament (games played and streamed all the time, finals take place in Winter)
- AIIDE: AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment (part of the program of annual research conference, takes place in Summer)
- CIG: IEEE Conference on Computational Intelligence and Games (part of the program of annual research conference, takes place in Summer)
- BWAPI Bots Ladder (games played all the time)
- BWAPI mini tournament on iCCup's server with a mix of human and bot players.
StarCraft: Brood War's Mechanics
- Chance to Hit
- Unit Existence/Creation
- Unit Behaviour
- Frame Rate
- Abilities and Bullets
- How does regeneration work?
- How much damage an attack will do to a unit?
- Tricks, Glitches and Exploits
- Exactly how do the custom AI scripts work?
- How does default pathfinding work?
- Attack Animation Frame Data and the IceCC tool's decompilation of the iscript.bin file 'data\scripts\iscript.bin' from the MPQs: Media:iscript_all2.txt.zip (explanation)
- Attack Order Timings
- nturley's Unusual Unit Morphs and jaj22's Unusual BW unit transitions
- StarCraft UnitType Data
- StarCraft WeaponType Data
- StarCraft TechType Data
- Latency and latency compensation
- BW order timings data
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. Sincescmdraft
is zero indexed, be sure to enter your locations forbottom
andright
as one less than what it actually is. In this example,bottom
would be 36 andright
would be 48. - Frequently Asked Questions