• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

TorchCraft: Connecting Torch to StarCraft

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

TorchCraft

开源软件地址:

https://gitee.com/jlxing/TorchCraft

开源软件介绍:

TorchCraft

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 Researchon Real-Time Strategy Games - arXiv:1611.00625.

Installation

Please follow the installation instructions.

You will need to have a license of StarCraft: Brood War.

The most tested and stable way to set it up is to have StarCraft running on Windowsand Torch running in Linux or Mac OS X. If you already have StarCraft, you need toinstall BWAPI,copy a few files,and either launch the AIModule (DLL)OR launch the AIClient (EXE).

You can also run StarCraft on Linux through Wine, but this may be a bit morecomplicated, start withBWAPI on Linux.

Running TorchCraft

See examples/ for a list of scripts that you can try.The simplest examples come in two flavors: DLL/AIModule based and EXE/AIClientbased. In all cases, the $server_ip is the ip address of the machine runningStarCraft.

DLL/AIModule TorchCraft

Windows

  1. Open bwapi.ini and set ai = PATH\TO\BWEnv.dll (or copyours from config/bwapi.in)
  2. Start ChaosLauncher, enable BWAPI DLL Injector [Release].
  3. Press Start.

Linux

  1. Run
$ cd examples$ th simple_dll.lua -t $server_ip

EXE/AIClient TorchCraft

Windows

  1. Start BWEnv.exe.

Linux

  1. Run
$ cd examples$ th simple_exe.lua -t $server_ip

Citation

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}}

Contributing

See Contributing


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap