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.
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[2024-4-19. : 1:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
[2024-4-18. : 10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
Please log in to shout.


Members Online: Oh_Man