Skip to content

cpp-sc2/SC2AutoObserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sc2AutoObserver

About

Starcraft 2 replays auto observer inspired by the SSCAIT-ObserverModule.
The Sc2AutoObserver is used to view replays on the SC2 AI Arena 24/7 livestream

Build requirements

  1. Download (the password is iagreetotheeula) at least one of the following map packs:
  1. Put the downloaded maps into the Maps folder (create it if the folder doesn't exist):
  • Windows: C:\Program Files\StarCraft II\Maps
  • OS X: /Applications/StarCraft II/Maps
  1. Download and install CMake >= 3.10.

  2. A compiler with C++17 support.

  3. Install Google test >= 1.10.0

  4. Windows: Download and install Visual Studio

  5. OS X: Install XCode.

Build instructions

Windows (Visual Studio)

:: Clone the project.
$ git clone --recursive git@gitlab.com:aiarena/sc2autoobserver.git
$ cd sc2autoobserver

:: Create build directory.
$ mkdir build
$ cd build

:: Generate VS solution.
$ cmake ../ -G "Visual Studio 15 2017 Win64"

:: Build the project using Visual Studio.
$ start Observer.sln

:: Launch the observer.
$ bin/Observer.exe --Path "<Path to a single SC2 replay or directory with replay files>" --Speed <Replay speed>`

OS X (Xcode)

# Clone the project.
$ git clone --recursive [email protected]:aiarena/sc2autoobserver.git && cd sc2autoobserve

# Create build directory.
$ mkdir build && cd build

# Generate a Makefile.
# Use 'cmake -DCMAKE_BUILD_TYPE=Debug ../' if debuginfo is needed
# Debug build also contains additional debug features and chat commands support.
$ cmake ../ -G Xcode

# Build the project using Xcode.
$ open Observer.xcodeproj/

# Launch the observer.
$ ./bin/Observer --Path "<Path to a single SC2 replay or directory with replay files>" --Speed <Replay speed>`

Load replays from an older SC2 versions

To load replays from older an older SC2 version, one should additionally specify game version hash and path to the older SC2 executable, e.g. for 4.10 version:

Windows

$ bin/Observer.exe --Path "C:\Users\lladdy\Documents\358809_TyrZ_DoogieHowitzer_IceandChromeLE.SC2Replay" -- -d "B89B5D6FA7CBF6452E721311BFBC6CB2" -e "D:\Battle.net\StarCraft II\Versions\Base75689\SC2.exe"

OS X

$ ./bin/Observer --Path "/Users/alkurbatov/Downloads/358809_TyrZ_DoogieHowitzer_IceandChromeLE.SC2Replay" -- -d "B89B5D6FA7CBF6452E721311BFBC6CB2" -e "/Applications/StarCraft II/Versions/Base75689/SC2.app/Contents/MacOS/SC2"

License

Copyright (c) 2017 Daniel K�hntopp

Licensed under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published