Difference between revisions of "Multiple instances of StarCraft"
Line 8: | Line 8: | ||
[[File:Multi_tut_chaoslauncher.png]] | [[File:Multi_tut_chaoslauncher.png]] | ||
− | + | {{note|If option ''StarCraft Multi-Instance'' doesn't appear, go to <code>Starcraft/bwapi-data/</code> folder and execute the file <code>Multiple Instance Hack.bat</code>}} | |
− | |||
== BWAPI == | == BWAPI == | ||
To set up BWAPI for multiple instances, you must configure the AI path for each instance. Browse to <code>Starcraft/bwapi-data/</code> and open <code>bwapi.ini</code>.<br /> | To set up BWAPI for multiple instances, you must configure the AI path for each instance. Browse to <code>Starcraft/bwapi-data/</code> and open <code>bwapi.ini</code>.<br /> | ||
Line 25: | Line 24: | ||
[[File:Multi tut network.gif]] | [[File:Multi tut network.gif]] | ||
− | + | {{note|This network mode will only appear when BWAPI has been injected and will allow you to play matches between multiple instances.}} | |
− | + | {{note|If you have a bot that spams a lot of [[liquipedia:Actions_per_Minute|APM]], it can cause a disconnect in this mode due to some network recovery process not functioning in local PC mode.}} | |
− |
Revision as of 06:33, 7 August 2015
To play AI vs AI games in the same machine you can use the BWAPI Multi-Instance option.
Chaos Launcher
After installing BWAPI, navigate to the BWAPI/Chaoslauncher
directory and run Chaoslauncher - MultiInstance.exe
Select BWAPI Injector and any other plugins you wish to use.
Select StarCraft Multi-Instance from the combo box next to Start button.
Starcraft/bwapi-data/
folder and execute the file Multiple Instance Hack.bat
BWAPI
To set up BWAPI for multiple instances, you must configure the AI path for each instance. Browse to Starcraft/bwapi-data/
and open bwapi.ini
.
Now change the ai
entry to contain comma-separated paths to the AI modules you wish to use.
ai = bwapi-data/AI/SomeAI.dll, bwapi-data/AI/SecondInstance.dll, bwapi-data/AI/ThirdInstance.dll
Each comma-separated entry will be loaded for their respective instance (first instance loads the first entry, etc). If there are more instances than entries, then the last entry is used for all subsequent instances.
Networking
After installing BWAPI, a new network mode called Local PC should now be available after choosing Multiplayer.