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.
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[2024-4-25. : 7:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
Please log in to shout.


Members Online: jjf28