• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 01:18
CET 07:18
KST 15:18
  • 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
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3
Community News
[BSL21] RO32 Group Stage1Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win62025 RSL Offline Finals Dates + Ticket Sales!10BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION3
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" TL.net Map Contest #21: Voting RSL S3 Round of 16 [TLCH] Mission 7: Last Stand Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Monday Nights Weeklies SC4ALL $6,000 Open LAN in Philadelphia $3,500 WardiTV Korean Royale S4 Crank Gathers Season 2: SC II Pro Teams
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
[ASL20] Ask the mapmakers — Drop your questions SnOw's ASL S20 Finals Review [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ RSL S3 ro16
Tourneys
BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION [ASL20] Grand Finals Small VOD Thread 2.0 The Casual Games of the Week Thread
Strategy
Current Meta How to stay on top of macro? PvZ map balance Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Dawn of War IV Stormgate/Frost Giant Megathread ZeroSpace Megathread General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Dating: How's your luck? Canadian Politics Mega-thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Why we need SC3
Hildegard
Career Paths and Skills for …
TrAiDoS
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1799 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
10228 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
PiGosaur Monday
01:00
#56
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech139
StarCraft: Brood War
Rain 14491
Tasteless 169
Icarus 7
League of Legends
Reynor46
Counter-Strike
m0e_tv342
Super Smash Bros
Mew2King149
Other Games
summit1g9720
WinterStarcraft441
C9.Mang0262
SortOf44
Organizations
Other Games
gamesdonequick932
Counter-Strike
PGL89
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21289
League of Legends
• Lourlo929
• Stunt786
Other Games
• Scarra1056
Upcoming Events
Replay Cast
2h 42m
WardiTV Korean Royale
5h 42m
LAN Event
8h 42m
OSC
16h 42m
The PondCast
1d 3h
LAN Event
1d 8h
Replay Cast
1d 16h
LAN Event
2 days
Korean StarCraft League
2 days
CranKy Ducklings
3 days
[ Show More ]
WardiTV Korean Royale
3 days
LAN Event
3 days
IPSL
3 days
dxtr13 vs OldBoy
Napoleon vs Doodle
Replay Cast
3 days
Sparkling Tuna Cup
4 days
WardiTV Korean Royale
4 days
LAN Event
4 days
IPSL
4 days
JDConan vs WIZARD
WolFix vs Cross
Replay Cast
5 days
Wardi Open
5 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 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.