Home > cl-starcraft-proxybot

cl-starcraft-proxybot

Cl-starcraft-proxybot is a project mainly written in Common Lisp, based on the View license.

A StarCraft Proxybot client for Common Lisp

CL-STARCRAFT-PROXYBOT

A StarCraft ProxyBot client for Common Lisp

status: stalled

I started this project intending to participate in the StarCraft AI Competition but I quickly gave other projects higher priority.

Notes

  • This project is still in its early stages.
  • StarCraft AI Competition

Introduction

This is a client for ProxyBot (v2.6.1 as of this writing), which is a project to make the BWAPI for StarCraft available to other languages than C++.

For this to work you need to following besides my project:

  • BWAPI Beta 2.6.1
  • Chaoslauncher
  • ProxyBot 2.6.1
  • StarCraft 1.16.1

(You can upgrade StarCraft to 1.16.1 by connecting to a Battle.net server.)

Check the README for BWAPI for installation instructions except that you don't need to compile an ExampleAIModule.dll. We'll be using the one that comes with ProxyBot (ProxyBot-2.6.1/client/ExampleAIModule.dll).

License

This project is released under the simplified BSD license.

Documentation

None. There's extensive documentation on the BWAPI wiki.

Also see the code and examples/fatalist.lisp. If all the dependencies have been installed correctly you should be able to run examples/fatalist.sh which will wait for a connection from the StarCraft ProxyBot.

Running StarCraft on a Virtual Machine

If you're not developing on Windows you can run StarCraft in a virtual machine like VirtualBox. You need to provide a tunnel to the ProxyBot, which can be done using, for example, PuTTY. When starting a PuTTY session go to Connection -> SSH -> Tunnels and add a tunnel to your Linux box:

  • Source port: 12345
  • Destination: your.machine.net:12345

Initiate an SSH session to your.machine.net which is running the ProxyBot, start the fatalist.sh in the examples directory and then start StarCraft with BWAPI:

  1. Single Player
  2. StarCraft Brood War Expansion
  3. Choose / Make a profile
  4. Play Custom
  5. Double click on a map.

The fatalist script should start playing now.

Platforms

The latest Git checkout has been tested on the following platforms:

  • CCL 1.3-r12775M / Windows Vista SP2
  • SBCL 1.0.31.0.debian / Debian Linux 2.6.32-trunk-686

If you don't develop on Windows: StarCraft is an old game and runs fine in a virtual machine like VirtualBox.

I have not been able to run StarCraft with the BWAPI from Chaoslauncher under Wine.

Previous:Chaaps-UI