Skip to content

sebosp/swarmy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swarmy 1.1.0

Starcraft 2 Replay in Rerun

Web UI Setup

The timeline must be switched to the "game_timeline" in the dropdown. The gamespeed seems to be 22 FPS for "faster" game speed. This kindof matches replays.

Screenshot from 2023-05-17 23-04-31

Recorded/Processed Replays

Rerun 0.5.1:

2023-GSL-S1-RO16-GroupA-Winners-Match

Running on native.

For now this has been tested on Linux.

Install Rust Clone this repo.

# Clone this repository.
$ cargo run -r -- --source <FILE>
# To run the example file provided in this repo:
# cargo run -- --source assets/2023-04-08-2v2AI.SC2Replay
# The first time the code is compiled it will take a few minutes.
# Subsequent runs should not need compilation.

Running in browser.

Running in browser requires exporting the .rrd file from the previous step. Basically load the Rerun viewer, in the menu Export the RRD and download.

$ cargo install rerun
$ rerun --web-viewer my-downloaded-file.rrd

Status

Very basic initial setup.

The minerals are recognized and drawn.

The drones are visible in their initial position.

Motivation:

Appreciate a fantastic game at a lower level, learn how people use and learn the game.

Uses:

One of the first uses I'll add is a helper for Casters.

Initial Focus

  • Colored fog of war, which player has scouted which area.
  • Hint on next region of interest: Since this is for replays, we know when important events are going to happen. we can guide the caster to position the window to specific regions where in the next X gameloops, an important activity is happening, for example massive damage or massive death on an area, i.e. splash from widow mines, disruptors, tanks. This could be similar to how a warning is seen for a Nydus or Nukes.
  • Different visualizations on events, for example, we could draw the amount of deaths per regions of the map, like piling up bodies and showing what regions of a map have been more active than others.
  • We can add many data visualizations.

Future focus

  • It is possible to capture a replay for training purposes, so that one has to follow the same actions a Pro-player does. for example, a pro-player may execute a build order and export it, then it can be imported into swarmy, you would have to follow the same operations/steps the Pro-player and you can be graded in timing/accuracy/etc.

TODO:

Everything, this is super early state, all suggestions are welcome.

About

Starcraft 2 Replay in Rerun

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published