TorchCraftAI icon indicating copy to clipboard operation
TorchCraftAI copied to clipboard

How can I run CherryPi.exe correctly?

Open lujingyu opened this issue 6 years ago • 3 comments

I have followed the Installation Guide and compiled on Win10 successfully. Copying the necessary .dll files and CherryPi.exe to a new folder $WORKDIR, then I run CherryPi.exe as administrator, a blank CMD window pops up, and dismisses after few seconds. It feels like nothing happened. If I continue the rest steps, the SC will freeze when the game starts. Obviously, the fact is the CherryPi.exe I built is not work, but I'm not sure what it should be like after running CherryPi.exe? Is there any way to check if the compiled files are correct?

Environment: Windows10 GFX1060 Visual Studio 2017 CUDA10.1 StarCraft 1.16.1

lujingyu avatar Sep 11 '19 10:09 lujingyu

You can try this distribution of CherryPi.exe from a recent tournament, which is known to work: https://www.cs.mun.ca/~dchurchill/starcraftaicomp/2018/bots/CherryPi.zip (You'll need to pair it with the included copy of CherryPi.dll)

dgant avatar Sep 11 '19 18:09 dgant

Also make sure you're using BWAPI 4.2. Specifically, bwapi.dll needs to be from the BWAPI 4.2 distribution.

dgant avatar Sep 11 '19 18:09 dgant

Thank you! I have compared with the CherryPi.zip, the DLLs are not the same. I think this is because the different versions, and now I'm going to try CUDA9.0.

lujingyu avatar Sep 17 '19 04:09 lujingyu