Goal of this application is to take a number of SC2 replay files (.SC2Replay
) as an input and automatically run them via the SC2API, using its C++ library by Blizzard.
As of now, this is merely a test. It is based upon this example.
Running replays works using the SC2API C++ library, but only in non-realtime (i.e., as fast as possibly executed). Setting coordinator->SetRealtime(true);
yields an assertion in the C++ library to fail, indicating that this feature is not implemented yet. A ticket for this has been opened here.
Caused by this, the SC2Streamer emulates realtime playback by manually making the playback slower on each game loop, approximating the 22.4 game loops per second the game has on speed "Faster".
- Configurability of main settings like replay file path and replay speed
- CLI parameter to override replay file path
- Interoperability with the Sc2LadderServer, probably via the SC2LadderWebHost