Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

How can I run CherryPi.exe correctly? #22

Open
lujingyu opened this issue Sep 11, 2019 · 3 comments
Open

How can I run CherryPi.exe correctly? #22

lujingyu opened this issue Sep 11, 2019 · 3 comments

Comments

@lujingyu
Copy link

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

@dgant
Copy link

dgant commented Sep 11, 2019

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
Copy link

dgant commented Sep 11, 2019

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

@lujingyu
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants