Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

How to save replay? #27

Open
ThyrixYang opened this issue Oct 27, 2019 · 3 comments
Open

How to save replay? #27

ThyrixYang opened this issue Oct 27, 2019 · 3 comments

Comments

@ThyrixYang
Copy link

ThyrixYang commented Oct 27, 2019

Hi,
I have tried to set save_replay in the bwapi.ini file, and tried to set BWAPI_CONFIG_AUTO_MENU__SAVE_REPLAY variable.
But I still can't see any saved replay file.

@dgant
Copy link

dgant commented Oct 27, 2019

How are you launching games?

@ThyrixYang
Copy link
Author

OPENBW_ENABLE_UI=0 BWAPI_CONFIG_AI__RACE=Zerg BWAPI_CONFIG_AI__AI="/home/yangjq/Downloads/TorchCraftAI/build/3rdparty/torchcraft/BWEnv/BWEnv.so" BWAPI_CONFIG_AUTO_MENU__AUTO_MENU="LAN" BWAPI_CONFIG_AUTO_MENU__MAP=/home/yangjq/Downloads/TorchCraftAI/test/maps/micro-empty2.scm TORCHCRAFT_PORT=1111 ./BWAPILauncher

@dgant
Copy link

dgant commented Oct 30, 2019

What invocation are you using with BWAPI_CONFIG_AUTO_MENU__SAVE_REPLAY ?

Note that the game needs to successfully complete for a replay to be generated. If StarCraft/OpenBW die before the game ends, no replay will be emitted.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants