Install StarCraft 1 under Windows 10

  In the official installation tutorial , it is installed with two machines. StarCraft is installed on Windows. Linux based on ZeroMQ communication to obtain Windows StarCraft data and used for processing. This article is based on the installation of this article and the official documentation. There are some differences.

1. Install StarCraft (1.16.1):

  Download the file (zip) and unzip it to any directory. The unzipped directory is recorded as STARCRAFT. Run the setup.exefile in the current directory . If you need to verify the version information, you can download this software (http://ftp.blizzard.com/pub/broodwar/patches/PC/BW-1161.exe) to ensure that your version of Brood War is 1.16.1 .

Install BWAPI:

  Find it in the following link, and then double-click to run the installation. The installation directory is selected under the previous STARCRAFTdirectory (after you select it, you will add a folder yourself, the final path is STARCRAFT\BWAPI). After the installation is complete, STARCRAFTthe following two files are added to the directory: BWAPIand bwapi-data.

3.TorchCraft, common prerequisites

  Download the latest version of Release :

  • Copy TorchCraft/config/bwapi.ini in STARCRAFT/bwapi-data/bwapi.ini.
  • Copy TorchCraft/config/torchcraft.ini in STARCRAFT/bwapi-data/torchcraft.ini.
  • Copy TorchCraft/BWEnv/bin/*.dll into STARCRAFT/
  • Copy TorchCraft/maps/* into STARCRAFT/Maps/BroodWar

  I didn't find TorchCraft/BWEnvthis folder here , so I skipped it and didn't get it.
TorchCraft AIModule (DLL) for users:

  • Extract BWEnv.dll from the latest archive in the release page and put it in $STARCRAFT
  • Run STARCRAFT/BWAPI/ChaosLauncher/Chaoslauncher-MultiInstance.exe as administrator.
  • Check the “RELEASE” box from BWAPI.
  • Click Start.

Insert picture description here

  There is one in the lower left corner start, just click it, I do n’t show it here.

Insert picture description here

  This screen is normal. There is no connection Clientend.

4. Install MinGW-w64:

  Installation link

5.Anso Microsoft Visual Studio 2017

  Installation link

6. Compile Zeromq

  TorchCraftCompiled and installed, only used libzmq.dlland zmq.hthe official has been given windowsunder the Stable Release 4.0.4 , you can download and install on their own. TorchCraftIn the distribution zippackage , it is available in the bindirectory, libzmq.dlland it should be available directly.

7. Compile Zstd

  TorchCraftCompile and install only uses libzstd.dlland zstd.h; have been given official windowsrelease in the Releases , you can download and install on their own.

8. Modify the default compiler configuration of python distutils to MinGW-w64

  The original text of the subsequent steps are very detailed .

9. The results are as follows:

Insert picture description here

Insert picture description here

My WeChat public account name : Deep learning advanced intelligent decision
- making WeChat
public account ID : MultiAgent1024 public account introduction : mainly research deep learning, reinforcement learning, machine games and other related content! Looking forward to your attention, welcome to learn and exchange progress together!

Published 185 original articles · praised 168 · 210,000 views

Guess you like

Origin blog.csdn.net/weixin_39059031/article/details/104661886