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:27 am]
Moose -- :wob:
[2021-10-24. : 12:54 pm]
Ultraviolet -- :wob:
[2021-10-22. : 8:31 pm]
O)FaRTy1billion[MM] -- :wob:
[2021-10-22. : 6:07 pm]
UndeadStar -- :wob:
[2021-10-22. : 12:00 pm]
Ultraviolet -- :wob:
[2021-10-22. : 10:38 am]
jjf28 -- :wob::wob:
[2021-10-22. : 10:32 am]
Zycorax -- :wob: intensifies.
[2021-10-22. : 8:51 am]
Zincoshine -- :wob:
[2021-10-22. : 4:43 am]
RdeRenato -- :wob:
[2021-10-22. : 4:43 am]
RdeRenato -- : wob :
Please log in to shout.


Members Online: Roy, C(a)HeK, jun3hong, Wing Zero