• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:13
CEST 21:13
KST 04:13
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL19] Ro4 Recap : The Peak4DreamHack Dallas 2025 - Info & Preview5herO wins GSL Code S Season 1 (2025)15Code S RO4 & Finals Preview: herO, GuMiho, Classic, Cure6Code S RO8 Preview: Classic, Reynor, Maru, GuMiho4
Community News
EWC 2025 Regional Qualifiers (May 28-June 1)6Weekly Cups (May 12-18): Clem sweeps WardiTV May3Code S Season 2 (2025) - Qualifier Results212025 GSL Season 2 (Qualifiers)14Code S Season 1 - Classic & GuMiho advance to RO4 (2025)4
StarCraft 2
General
Any reason why RuFF's stream is still on sidebar? DreamHack Dallas 2025 - Info & Preview Power Rank: October 2018 herO wins GSL Code S Season 1 (2025) Code S Season 2 (2025) - Qualifier Results
Tourneys
EWC 2025 Regional Qualifiers (May 28-June 1) [GSL 2025] Code S Season 1 - RO4 and Grand Finals RSL: Revival, a new crowdfunded tournament series DreamHack Dallas 2025 announced (May 23-25) SOOPer7s Showmatches 2025
Strategy
Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 474 Futile Resistance Mutation # 473 Cold is the Void Mutation # 472 Dead Heat Mutation # 471 Delivery Guaranteed
Brood War
General
BGH auto balance -> http://bghmmr.eu/ [ASL19] Ro4 Recap : The Peak Artosis baned on twitch ? who is JiriKara /Cipisek/ from CZ Practice Partners (Official)
Tourneys
[ASL19] Semifinal B [Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player Creating a full chart of Zerg builds
Other Games
General Games
Beyond All Reason What do you want from future RTS games? Stormgate/Frost Giant Megathread Grand Theft Auto VI Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread TL Mafia Plays: Diplomacy TL Mafia: Generative Agents Showdown Survivor II: The Amazon
Community
General
Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Trading/Investing Thread US Politics Mega-thread Men's Fashion Thread
Fan Clubs
Serral Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread [Books] Wool by Hugh Howey
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard How to clean a TTe Thermaltake keyboard?
TL Community
The Automated Ban List TL.net Ten Commandments
Blogs
Yes Sir! How Commanding Impr…
TrAiDoS
Poker
Nebuchad
Info SLEgma_12
SLEgma_12
SECOND COMMING
XenOsky
WombaT’s Old BW Terran Theme …
WombaT
Heero Yuy & the Tax…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 12717 users

Human-like Broodwar AIs, Revamped

Forum Index > BW General
Post a Reply
1 2 3 Next All
Moataz
Profile Joined January 2018
Egypt267 Posts
Last Edited: 2018-04-02 17:01:41
February 17 2018 17:34 GMT
#1
This topic mainly target Broodwar players that want to practice against tough players (with very good Macro, Micro, Decision Making "sometimes!") offline.

We're going to talk about BWAPI AI, or as I prefer to call it UDAI (User Defined AI).

This topic is not new (I know), but I've done a lot of efforts programming, configuring, organizing, testing, automating it, hoping it'll be much easier for the average player to make use of it.

So here I repacked/revamped everything you need in this 7-zip file, just extract its contents inside Starcraft folder, then run "StarCraft ChaosLauncher.exe".
pass=Revamped

This video will show what BWAPI AI is useful for, and how to use this revamped pack.
=========
Video index:
=========
1- UDAI vs default AI
2- How to run exe or jar UDAI
3- How to download new UDAI
4- Human (you) vs UDAI
5- UDAI vs UDAI (UDP & Local PC)
6- How to play vs old UDAI
7- Human (you) vs Human (you)
8- The very cool Replay analysis and RealTime analysis (ObsMode) with ChaosLauncher
9- Other tips



"All who believe in Allah and the last day, either say good or be silent." Muhammad
Golgotha
Profile Blog Joined January 2011
Korea (South)8418 Posts
February 17 2018 18:27 GMT
#2
very interested in stuff like this to practice BOs and matchups. would love to know more
PVJ
Profile Blog Joined July 2012
Hungary5214 Posts
February 18 2018 00:19 GMT
#3
Is it password protected? I am getting a file is not RAR archive - No files to extract error.
The heart's eternal vow
Moataz
Profile Joined January 2018
Egypt267 Posts
February 18 2018 00:49 GMT
#4
On February 18 2018 09:19 PVJ wrote:
Is it password protected? I am getting a file is not RAR archive - No files to extract error.

It's not password protected, try changing the download method or use another browser.
"All who believe in Allah and the last day, either say good or be silent." Muhammad
Quatari
Profile Joined February 2010
Australia44 Posts
February 18 2018 05:23 GMT
#5
I can't open it either. I'm using 7-Zip, which says "Can not open file ... as archive". I have downloaded it twice using Chrome, and both files are size 30,514,113 bytes. Also, I suggest you package it as a .zip file so that more people can open it. Also, if you could give a sentence explaining what the file contains, that would be good. I'm guessing it contains an environment for easily playing against selected Brood War bots. If so, I am wondering how different it is to https://github.com/Blizzard/s2client-docker (descibed at https://arxiv.org/abs/1801.02193).
Jealous
Profile Blog Joined December 2011
10108 Posts
February 18 2018 08:04 GMT
#6
What would be amazing is, I think, if someone could make bots just analyze progamer reps and mimic their opening BO exactly - same placements, same everything - and you can practice against it as the other progamer in the replay, to get your own timings down. This would of course work only and best before the first engagement, but I think having some existing AI take over at that point would make it the best of both worlds.
"The right to vote is only the oar of the slaveship, I wanna be free." -- бум бум сучка!
Moataz
Profile Joined January 2018
Egypt267 Posts
Last Edited: 2018-02-20 23:55:44
February 18 2018 08:09 GMT
#7
On February 18 2018 14:23 Quatari wrote:
I can't open it either. I'm using 7-Zip, which says "Can not open file ... as archive". I have downloaded it twice using Chrome, and both files are size 30,514,113 bytes. Also, I suggest you package it as a .zip file so that more people can open it. Also, if you could give a sentence explaining what the file contains, that would be good. I'm guessing it contains an environment for easily playing against selected Brood War bots. If so, I am wondering how different it is to https://github.com/Blizzard/s2client-docker (descibed at https://arxiv.org/abs/1801.02193).

FYI the bytes doesn't matter, the finger print of the file (like MD5) is.
.zip is ~+10MB which is bad, WinRAR and/or 7-Zip on every computer nowadays.

BWAPI 4.2 is lacking easiness and explanation of what you can do with it, which make new comers frown from it.
I'm just trying to polish it so it'll be more popular, easy to use (and this mainly by video).

With BWAPI 4.2 normal setup:
- You don't know what to setup and what you don't need (I just included the required files, without the C++ code for making new AI & without the documentation of BWAPI, which only concerns the developers).
- BAWPI 4.2 depends on VC++ 2017 runtimes, but sadly not included, which will make problems the user can only figure by chance (if he has already installed VC++ 2017), also VC++2008 is required for the user to run old UDAIs like the ones that target BWAPI 3.7.5. (I only included the minimum runtimes of VC++2013 & 2017)
- ChaosLauncer is isolated from Starcraft folder with no shortcut, with useless SingleInstance that could make the user run SingleInstance once and MultiInstance another to try to solve some weirdness. (I just deleted SingleInstance), also Chaos run as Administrator by default, no need to right click, Its on the root of Starcraft folder, It detect Starcraft folder automatically without asking the user where it is.
- Some very cool Replay analysis plugins (HotkeySelector, StatInfo & ObsMode) is missing from Chaos, and mysteriously depend on mca64Launcher.
- Missing dependencies/dlls for UDAIs itself, like libgmp-10.dll.
- Many organization and automation that no one care to make for easiness (like making BWAPI.dll version easy distinguishable from other versions, but instead they depend on MD5 !)
- Some UDAIs like ProtossAI_Bereaver.exe which I spend long time to make it run, doesn't run.

Things that probably going to be demonstrated on video:
- What make specific crashes happen when using Chaos.
- What "/speed 0" is useful for.
- Why with some UDAIs you can type cheat codes during the game, but not with the rest.
- How to play vs old UDAIs that target old BWAPI.dll version, like Skynet, LetaBot, IceBot, from the same Windows OS without using UDP.
- How to save & load multiplayer game (this helped me creating full tech PvZ, PvT match, the 2 races controlled by me, to test for example how damage work under Dark Swarm, without recreating the 2 races from scratch every time) from the same Windows OS without using UDP.

here a new link:
http://www.mediafire.com/file/u65nk8wa1vcejrn
"All who believe in Allah and the last day, either say good or be silent." Muhammad
Me_ToKa
Profile Joined September 2009
Bulgaria309 Posts
February 18 2018 08:54 GMT
#8
"Dangerous File Blocked

The file you attempted to download was determined to be dangerous. For your protection, MediaFire does not enable distribution of dangerous files.

Still have questions, or think we've made a mistake? Please contact support for further assistance."

Can you try Zippyshare?
Quatari
Profile Joined February 2010
Australia44 Posts
February 18 2018 12:03 GMT
#9
Sounds really helpful. I have had so much frustration and headaches trying to get Brood War bots to work for me locally. I still can't download a valid file because I am also getting "Dangerous file Blocked" and the original link is still corrupt according to 7-Zip. The md5sum is the same as before, i.e. 3e1c6b80069286768854ff4177d968b7
PVJ
Profile Blog Joined July 2012
Hungary5214 Posts
February 18 2018 12:39 GMT
#10
On February 18 2018 09:49 Moataz wrote:
Show nested quote +
On February 18 2018 09:19 PVJ wrote:
Is it password protected? I am getting a file is not RAR archive - No files to extract error.

It's not password protected, try changing the download method or use another browser.

Thanks.

I've tried w/ FF and Chrome using UnRarX on OSX. Same issue as others have pointed out.

Hash is also 3e1c6b80069286768854ff4177d968b7
The heart's eternal vow
Moataz
Profile Joined January 2018
Egypt267 Posts
Last Edited: 2018-02-20 23:56:44
February 18 2018 15:18 GMT
#11
Try this one:
http://www27.zippyshare.com/v/SnA2KMF4/file.html
"All who believe in Allah and the last day, either say good or be silent." Muhammad
LetaBot
Profile Blog Joined June 2014
Netherlands557 Posts
February 18 2018 17:15 GMT
#12
You can follow this tutorial as well:

If you cannot win with 100 apm, win with 100 cpm.
Quatari
Profile Joined February 2010
Australia44 Posts
February 18 2018 17:40 GMT
#13
I just tried http://www27.zippyshare.com/v/SnA2KMF4/file.html and I get a slightly larger file (33,652,021 bytes, md5sum is 0802f8e91b32f16bfb91ab23d8ced9ab) but 7-Zip still gives me the same error message. I suggest you check you can open the file using 7-Zip before uploading it, or repackage it as a ZIP file, and tell us what the md5sum should be. Looking forward to opening it - just can't open it though!
Moataz
Profile Joined January 2018
Egypt267 Posts
February 18 2018 18:51 GMT
#14
On February 19 2018 02:40 Quatari wrote:
I just tried http://www27.zippyshare.com/v/SnA2KMF4/file.html and I get a slightly larger file (33,652,021 bytes, md5sum is 0802f8e91b32f16bfb91ab23d8ced9ab) but 7-Zip still gives me the same error message. I suggest you check you can open the file using 7-Zip before uploading it, or repackage it as a ZIP file, and tell us what the md5sum should be. Looking forward to opening it - just can't open it though!

Really sorry about that, But I think I have noted earlier, its .rar file (actually rar5 file), so its best opened with WinRAR, 7-Zip 16.03 can open rar5, although I'm using 18.01, and 7-zip extract it with no issue.

The MD5 is exactly as you said also. If the problem persist, I can upload it as .zip for the 4th time !
"All who believe in Allah and the last day, either say good or be silent." Muhammad
Moataz
Profile Joined January 2018
Egypt267 Posts
February 18 2018 18:57 GMT
#15
On February 19 2018 02:15 LetaBot wrote:
You can follow this tutorial as well:

https://www.youtube.com/watch?v=v99ZIMsjTPM

Thanks for your contribution at solving BWAPI AI issues, I learned from that video and your comments, but I'm planing to make comprehensive video that doesn't confuse new comers.
"All who believe in Allah and the last day, either say good or be silent." Muhammad
Quatari
Profile Joined February 2010
Australia44 Posts
February 18 2018 19:29 GMT
#16
Apologies, it was because I wasn't using the latest version of 7-Zip. I upgraded 7-Zip to version 18.01 and am now able to open the files.
Moataz
Profile Joined January 2018
Egypt267 Posts
February 21 2018 05:31 GMT
#17
The tutorial video has been added.
"All who believe in Allah and the last day, either say good or be silent." Muhammad
Quatari
Profile Joined February 2010
Australia44 Posts
Last Edited: 2018-02-22 03:52:05
February 22 2018 03:50 GMT
#18
The https://goo.gl/r1LiUt link in the OP and in the YouTube video doesn't work for me - I'm guessing Google Drive thinks it contains malware, or their malware scanner doesn't support the latest version of the archive format you're using. Here's the page I see:

"Google Drive

We're sorry. You can't access this item because it is in violation of our Terms of Service.

Find out more about this topic at the Google Drive Help Center."

It doesn't bother me because I already downloaded the file via the other links - just thought I'd let you know. Thanks for doing all this - it's great!
Quatari
Profile Joined February 2010
Australia44 Posts
February 22 2018 05:18 GMT
#19
Very useful video - quite a lot of stuff I didn't know, and the download makes it very easy to set up.

A couple of things you might also want to mention in the video or the description are:

* Some bots don't work in Windows XP (esp. most .exe bots like Bereaver & krasi0 & tscmoo's recent versions, and some recent .dll bots). You may need to use Windows 7 or higher for those bots.
* Until now, SSCAIT/AIIDE/CIG bots used Normal speed (not Fastest) in the Game Speed slider in the game lobby. The turn rate and number of latency frames is different between Normal and Fastest, and not all bots will necessarily work properly on Fastest. At least, some probably haven't been tested using Fastest anyway. So, if you notice bugged/strange micro behavior, perhaps try using Normal to see if this is the explanation.
Moataz
Profile Joined January 2018
Egypt267 Posts
Last Edited: 2018-02-22 10:49:09
February 22 2018 08:43 GMT
#20
On February 22 2018 12:50 Quatari wrote:
The https://goo.gl/r1LiUt link in the OP and in the YouTube video doesn't work for me - I'm guessing Google Drive thinks it contains malware, or their malware scanner doesn't support the latest version of the archive format you're using. Here's the page I see:

"Google Drive

We're sorry. You can't access this item because it is in violation of our Terms of Service.

Find out more about this topic at the Google Drive Help Center."

It doesn't bother me because I already downloaded the file via the other links - just thought I'd let you know. Thanks for doing all this - it's great!

Google & Mediafire are deceiving companies (uploader doesn't know anything until logged off from their sites), Its actually violation of the uploader rights to be informed of what he did wrong, thanks for letting me know.

On February 22 2018 14:18 Quatari wrote:
Very useful video - quite a lot of stuff I didn't know, and the download makes it very easy to set up.

A couple of things you might also want to mention in the video or the description are:

* Some bots don't work in Windows XP (esp. most .exe bots like Bereaver & krasi0 & tscmoo's recent versions, and some recent .dll bots). You may need to use Windows 7 or higher for those bots.
* Until now, SSCAIT/AIIDE/CIG bots used Normal speed (not Fastest) in the Game Speed slider in the game lobby. The turn rate and number of latency frames is different between Normal and Fastest, and not all bots will necessarily work properly on Fastest. At least, some probably haven't been tested using Fastest anyway. So, if you notice bugged/strange micro behavior, perhaps try using Normal to see if this is the explanation.

* Glad it helped, I know that exe bots doesn't work on XP, but who depends only on XP these days? I'm not going to throw it in the recycle bin or use win10 as Microsoft wish, but many games like SC:R doesn't even work on XP, users should solve some of the issues by themselves, if you compared the old video with the new one you'll know that its not a big issue.

* I'm not sure I get you correctly on this, but everything works fine with me, tell me you beat someone.
"All who believe in Allah and the last day, either say good or be silent." Muhammad
1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 4h 47m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
UpATreeSC 196
IndyStarCraft 155
StarCraft: Brood War
Britney 26296
Calm 3955
Rain 1856
Sea 1728
Dewaltoss 181
soO 26
Mind 17
Shine 11
Dota 2
Gorgc7432
qojqva3772
League of Legends
Trikslyr67
Counter-Strike
Foxcn1690
pashabiceps1093
Stewie2K586
flusha363
Super Smash Bros
C9.Mang0154
Heroes of the Storm
Grubby2794
Liquid`Hasu571
Khaldor168
Other Games
FrodaN1475
ceh9533
KnowMe130
Mew2King77
QueenE70
BRAT_OK 43
NightEnD20
Rex8
MindelVK8
Organizations
Other Games
BasetradeTV11
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• Reevou 6
• OhrlRock 2
• Dystopia_ 2
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• FirePhoenix5
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV610
League of Legends
• Jankos2166
• TFBlade1223
Other Games
• imaqtpie1500
• Shiphtur328
Upcoming Events
Replay Cast
4h 47m
OSC
4h 47m
Replay Cast
14h 47m
Road to EWC
19h 47m
Replay Cast
1d 14h
SC Evo League
1d 16h
Road to EWC
1d 19h
Afreeca Starleague
2 days
BeSt vs Soulkey
Road to EWC
2 days
Wardi Open
3 days
[ Show More ]
SOOP
4 days
NightMare vs Wayne
Replay Cast
4 days
Replay Cast
5 days
GSL Code S
5 days
Cure vs Zoun
Solar vs Creator
The PondCast
5 days
Online Event
5 days
Clem vs ShoWTimE
herO vs MaxPax
GSL Code S
6 days
GuMiho vs Bunny
ByuN vs SHIN
Online Event
6 days
Liquipedia Results

Completed

Proleague 2025-05-16
2025 GSL S1
Calamity Stars S2

Ongoing

JPL Season 2
ASL Season 19
YSL S1
BSL 2v2 Season 3
BSL Season 20
China & Korea Top Challenge
KCM Race Survival 2025 Season 2
NPSL S3
Heroes 10 EU
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025
ESL Pro League S21

Upcoming

Rose Open S1
Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLAN 2025
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Bellum Gens Elite Stara Zagora 2025
2025 GSL S2
DreamHack Dallas 2025
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.