python-sc2 icon indicating copy to clipboard operation
python-sc2 copied to clipboard

How to reset the default game path?

Open iwahova opened this issue 3 years ago • 1 comments

Hi I just begun to learn to build a bot and I found the default game path is "C:\Program Files (x86)\StarCraft II\Versions\SC2_x64.exe" in this library. The problem is I don't get enough space for that game in Drive C. How can I reset the path used? Also, in latest versions of StarCraft2, there is an additional "Base87702" file before the exe files in "Versions". How can I fix that?

iwahova avatar Jul 17 '22 07:07 iwahova

Dang I'll pull out my old windows rig and see if I can figure anything out :grimacing:

Andrew-Pynch avatar Sep 22 '22 22:09 Andrew-Pynch

You should be able to change the path the library tries to find SC2 by setting/changing the environment variable:

SC2PATH='/home/burny/Games/battlenet/drive_c/Program Files (x86)/StarCraft II/'

BurnySc2 avatar Jan 14 '23 13:01 BurnySc2