A bridge between Torch and StarCraft.
A general overview of the system (and motivations for using TorchCraft) can be found in:
Synnaeve, G., Nardelli, N., Auvolat, A., Chintala, S., Lacroix, T., Lin, Z., Richoux, F. and Usunier, N., 2016. TorchCraft: a Library for Machine Learning Research on Real-Time Strategy Games - arXiv:1611.00625.
See examples/
for a list of scripts that you can try.
The simplest examples come in two flavors: DLL based and server-client based.
- Open
bwapi.ini
and setai = PATH\TO\BWENV.dll
(or copy ours fromconfig/bwapi.in
) - Start ChaosLauncher, enable
BWAPI DLL Injector [Release]
. - Press
Start
.
- Run
$ cd examples
$ th simple_dll.lua
- Start
BWEnv.exe
.
- Run
$ cd examples
$ th simple_exe.lua
Please cite the arXiv paper if you use TorchCraft in your work:
@article{synnaeve2016torchcraft,
title={TorchCraft: a Library for Machine Learning Research on Real-Time Strategy Games},
author={Synnaeve, Gabriel and Nardelli, Nantas and Auvolat, Alex and Chintala, Soumith and Lacroix, Timoth{\'e}e and Lin, Zeming and Richoux, Florian and Usunier, Nicolas},
journal={arXiv preprint arXiv:1611.00625},
year={2016}
}