Giter Site home page Giter Site logo

sc2api's Introduction

DISCONTINUED

This library is no longer maintained. Please use https://github.com/Blizzard/s2client-api instead.

SC2API

SC2API is a free C++ framework intended for AI projects to interact with Blizzard's RTS game, Starcraft 2. The library handles game state in a similar way to BWAPI in that information hidden to the local player is not available through the framework.

SC2API is a third party "hack" of the game based on reverse engineering, and thus violates the EULA of the game. In order to prevent SC2API being misused as a maphack, the internal code of the library is kept closed source. Instead, binary versions of the library (dll) are provided, and kept up to date with the game version.

Supported game client

StarCraft II 3.11.0 (51149), 32 bit Windows.

How to use

ExampleAI solution can be built with VS2015; by default the output files are located at Binaries/$(Configuration). That's also where other necessary SC2API files are located. Currently, SC2API only supports the 32 bit Windows client. Run SC2APILoader.exe and then run Starcraft 2 as 32 bit. The loader program will load SC2API.dll into the game, which then loads ExampleAI.dll.

If you create your own project using SC2API, please make sure the result dll is put along with other necessary files. You might need to open DreamSC2.ini and DreamSC2Default.ini to change the following section:

[SC2API]
AIModule=ExampleAI

where the value is name of the dll to be loaded.

sc2api's People

Contributors

eppie avatar thewisp avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.