• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:41
CEST 12:41
KST 19:41
  • 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
[ASL22] Finals Preview: Sweet Victory!9[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5
Community News
[$1250] International ShieldBattery League29Weekly Cups (October 5-11): Farewell to 5.0.162Rollback Netcode in Brood War1275.0.17 Patch Notes - October 7, 202624Weekly Cups Results (Sep 28-Oct 4)0
StarCraft 2
General
No more sc2 streamers on team liquid? SCII needs to put more weight on strategy and tact Server Blocker Terran AddOns placement How do you feel about the mass reverts in the 5.0.17 PTR?
Tourneys
RSL goes to London! 2026 Offline Finals Nov 21-22 Sparkling Tuna Cup - Weekly Open Tournament Stellar Fest TWO the Moon (Dec 16-20) Master Swan Open (Global Bronze-Master 2) $3,500 WardiTV Not-Summer Championship
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[G] How to playtest arcade maps [A] Nemrods 1/4 players [M] (2) Sweltering Sands [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 547 Temple Of Terror Mutation # 546 Catch the Train Mutation # 545 And Drops and Rifts
Brood War
General
Practice Partners (Official) Rollback Netcode in Brood War [Megathread] Daily Funny Videos GG Lan Fest Sofia, Bulgaria [this November] [Recap] Hive ZvZ in MonstarZ vs Dreams
Tourneys
[ASL22] Grand Finals [$1250] International ShieldBattery League 2v2v2v2 Tournament Small VOD Thread 2.0
Strategy
Cliff Jump Revisited (1 in a 1000 strategy) Simple Questions, Simple Answers Replay Review Process - What do you do?
Other Games
General Games
Nintendo Switch Thread Dawn of War IV Warcraft III: The Frozen Throne Stormgate/Frost Giant Megathread General RTS Discussion Thread
Dota 2
Dota 2 Champions League Season 3 Begins April 25!
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Artificial Intelligence Thread The Chess Thread Things Aren’t Peaceful in Palestine
Fan Clubs
Serral Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion!
Sports
MLB/Baseball 2023 Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
ShieldBattery on Mac
Kraekkling
The Link Between Gaming and …
TrAiDoS
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
38 yo Retired SWE loo…
PurE)Rabbit-SF
Can Bots Beat Pros?? Starcr…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 9727 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
Hungary5221 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
Australia48 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
10403 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
Australia48 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
Hungary5221 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
Australia48 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
Australia48 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
Australia48 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
Australia48 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
Sparkling Tuna Cup
19:00
Weekly #151 (SHIN Mod Edition)
Percival vs Krystianer
ByuN292
CranKy Ducklings74
SHIN 17
CranKy Ducklings SOOP8
LiquipediaDiscussion
AI Arena Tournament
01:00
Swiss - Round 6
Laughngamez YouTube
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ByuN 292
SHIN 17
MindelVK 10
StarCraft: Brood War
Britney 40167
Calm 4270
Horang2 657
actioN 644
Stork 417
Soulkey 398
BeSt 370
Larva 367
Soma 321
Leta 258
[ Show more ]
EffOrt 246
sorry 144
Last 108
Free 106
Hyun 89
Shinee 87
Sharp 77
hero 54
Pusan 51
ggaemo 50
ToSsGirL 50
firebathero 44
HiyA 34
Sacsri 30
Killer 29
yabsab 14
Hm[arnc] 13
Dota 2
XaKoH 698
Counter-Strike
x6flipin285
Other Games
gofns57491
singsing597
Happy307
Fuzer 73
Khaldor62
Organizations
StarCraft: Brood War
UltimateBattle 17
StarCraft 2
TaKeTV 1
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH324
• StrangeGG 41
• LUISG 26
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV704
• lizZardDota2271
Upcoming Events
OSC
2h 19m
IPSL
5h 19m
BSL Open Qualifier
8h 19m
WardiTV Weekly
1d
IntoTheTV X SOOP
2 days
PiGosaur Cup
2 days
The PondCast
2 days
Kung Fu Cup
3 days
IntoTheTV X SOOP
4 days
FEL
5 days
[ Show More ]
FEL
6 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

ASL Season 22
Blizzard Classic Cup 2026
Copium Cup

Ongoing

Acropolis #5
IPSL Winter 2026-27
KCM Race Survival 2026 Season 4
Acropolis #5 - GSC
HCC Season 3
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026

Upcoming

BSL Season 23
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
eXTREMESLAND 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
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 © 2026 TLnet. All Rights Reserved.