s2client-api icon indicating copy to clipboard operation
s2client-api copied to clipboard

How to start an old version of the sc2 client?

Open lost1996 opened this issue 7 years ago • 5 comments

I use "coordinator.SetProcessPath("L:/StarCraft II/Versions/Base55958/sc2.exe");" to start the older version but there was a error info means "Your StarCraft installation is damaged.".

lost1996 avatar Apr 26 '18 07:04 lost1996

Why do u want to start an older version? If it's for replays, the api already is doing this for you.

Frigerius avatar Apr 26 '18 08:04 Frigerius

@Frigerius I trained a RNN to help the bot act by the old version replays.So I want to test the model in the older version.

lost1996 avatar Apr 26 '18 08:04 lost1996

I see, but can't you just test it in the current version? Where is the difference?

Frigerius avatar Apr 26 '18 16:04 Frigerius

@Frigerius There are something been deleted ,just like mothership core.

lost1996 avatar Apr 26 '18 18:04 lost1996

@lost1996, pass the sc2 executable to your both as an argument.

your_bot.exe -e "L:/StarCraft II/Versions/Base55958/sc2.exe"

For more info, try:

your_bot.exe --help

It will print this

Options -
  -e, --executable The path to StarCraft II.
  -s, --step_size How many steps to take per call.
  -p, --port The port to make StarCraft II listen on.
  -r, --realtime Whether to run StarCraft II in  real time or not.
  -m, --map Which map to run.
  -t, --timeout Timeout for how long the library will block for a response.

If you see that message again, probably your Base55958 version is broken/missing files.

herodrigues avatar Apr 28 '18 12:04 herodrigues