Staredit Network > Forums > General StarCraft > Topic: Questions About BWAPI
Questions About BWAPI
Nov 10 2020, 2:04 am
By: Saladin  

Nov 10 2020, 2:04 am Saladin Post #1



Hey! I was just wondering what hardware requirements will my pc need to make a bot that will function in BWAPI and SSCAIT? The questions I am asking are:

  • Do I need at least 8GB of ram to run any machine learning algorithms or more? Like 32GB?
  • Do the AI bots (I'm Assuming DLLs) need to be made in 32 bit binary or can they be released in 64 bit binary and interact with the 32-bit StarCraft Brood War?
  • If not, what are really the system requirements necessary to run without too many errors?


That's all I can think of. Do I need something along the lines of a high end gaming computer or is a modern laptop enough? I've searched all over and even on github and I haven't found any answers or I'm not clever enough to find them anywhere else concerning BWAPI. Please advise!

addendum: Just out of curiosity, Is it possible to submit a bot made in python by making a better, more compatible python (or cython) wrapper and it playing in SSCAIT or is only Java and C++ allowed?

Post has been edited 2 time(s), last time on Nov 11 2020, 7:02 am by Saladin.



None.

Nov 11 2020, 5:43 pm Saladin Post #2



I found something that seems like it might be close to hardware requirements but I'm not sure if its official. It goes like:
  • 1 CPU core of an AMD Ryzen 7 1700X.
  • 1 GB of RAM (- memory used by OS).
  • Up to 100MB of disk space total for your read + write + ai directories.

Is that all I need to get a bot working? If it is, I can work with that.



None.

Nov 12 2020, 9:50 am Heinermann Post #3

SDE, BWAPI owner, hacker.

Quote
Do I need at least 8GB of ram to run any machine learning algorithms or more? Like 32GB?
That would be specific to the algorithm. In my experience with ML, if you have the memory and CPU you will use all of it no matter how much you have for training. For real time inference you probably don't need much unless your model is excessively large.

Quote
Do the AI bots (I'm Assuming DLLs) need to be made in 32 bit binary or can they be released in 64 bit binary and interact with the 32-bit StarCraft Brood War?
Yes the current BWAPI 4.x DLLs are 32-bit because Starcraft 1.16.1 is 32-bit. BWAPI 5 will support remote 64-bit processes but it is not yet finished.

Quote
If not, what are really the system requirements necessary to run without too many errors?
For a bot in general, you don't need much more than the minimum requirements of Starcraft itself. It would be specific to the bot and algorithm. SSCAIT runs its own hardware but I don't remember what it is. You can try contacting them for their hardware specs. Generally you want to make sure that every Starcraft update + your bot's update frame is under 42 milliseconds or it will slow down the game, though games on SSCAIT are run at 2x fastest (at 20ms per frame).


For further support check out the SSCAIT Discord.




Nov 13 2020, 6:21 pm Saladin Post #4



Thanks! :)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:33 am]
lil-Inferno -- if you beg enough you get given veteran
[11:36 pm]
Roy -- Dem0n
Dem0n shouted: Roy how tf am I not a veteran
Due to the faking of your death back in 2012, the Staff is still tied up in ongoing discussions on what else you could have been lying about in regards to your interactions within the community. Until this internal quarrel is resolved, no progress can be made on the consideration of your promotion.
[11:00 pm]
Ultraviolet -- Dem0n
Dem0n shouted: Roy how tf am I not a veteran
you're not alone little Dem0n, rough down here in po' regular town
[09:19 pm]
NudeRaider -- either that, or the mods just don't like you :P
[08:32 pm]
Vrael -- and are no longer defined based on any active criteria
[08:32 pm]
Vrael -- Dem0n
Dem0n shouted: Roy how tf am I not a veteran
because all rank decisions were made years ago and have calcified into an immutable state
[07:52 pm]
Dem0n -- Roy
Roy shouted: Anyone else having issues viewing the veteran forums? They disappeared from the forum index a while ago. I can still navigate to them directly like http://www.staredit.net/forum/43/, but I only see topics from several months ago there.
how tf am I not a veteran
[07:26 pm]
Andrea Rosa -- :wob:
[2022-11-26. : 9:47 pm]
Ultraviolet -- buncha convict descendants :P
[2022-11-26. : 5:40 pm]
Oh_Man -- then how come AUS doesnt do it
Please log in to shout.


Members Online: Roy