forked from Games-and-Simulations/sc-docker
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added instructions for setting up sc-docker in Windows PowerShell
- Loading branch information
Hao Pan
committed
Dec 16, 2018
1 parent
28b3d63
commit f93262a
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,3 +49,4 @@ scripts/py36to34.py | |
|
||
# VSCode | ||
.vscode/ | ||
docker/.Rhistory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
How to set up ByteKeeper's sc-docker in Windows PowerShell. Step-by-step instructions: | ||
|
||
0) Download jre-8u192-windows-i586.tar.gz and move it to the `sc-docker-master\docker` folder | ||
https://www.oracle.com/technetwork/es/java/javase/downloads/jre8-downloads-2133155.html?printOnly=1 | ||
Use of openjdk is not advised here as it is much slower. | ||
1) Open the file `sc-docker-master\docker\build_images.ps1` and do all commands listed there in PowerShell. | ||
You may want to run PowerShell in administrator mode. | ||
2) Do `pip install wheel` | ||
3) Do `py setup.py bdist_wheel` or `python3 setup.py bdist_wheel` depending on how your Python is setup. | ||
4) Do `pip3 install dist/scbw-1.0.4-py3-none-any.whl` | ||
5) When launching a game, append `--docker_image starcraft:game` | ||
An example command would look like this: | ||
`scbw.play --bots "Hao Pan" "Martin Rooijackers" --headless --timeout 630 --read_overwrite --game_speed 0 --map "sscai/(4)Fighting Spirit.scx" --docker_image starcraft:game` | ||
If you don't do this, the original image, `starcraft:game-1.0.4`, will be used. |