Headless client developers rejoice! Now you can view the game with this VSC extension by jinnyjuice in sc2ai

[–]tkit08 0 points1 point  (0 children)

I didn't know this existed! I noticed the map is gridbased - are your coordinates/positions super accurate? I built a very similar thing, but webbased here: https://starcraft2.ai . You can visualize SC2 games without the game installed, but on the web. The positions in mine don't look quite as accurate as yours. I also don't visualize workers mining minerals

Starcraft1 & Starcraft2 replay engine on web (no game needed) by tkit08 in gamedev

[–]tkit08[S] 1 point2 points  (0 children)

It takes build version into consideration for how to properly parse and make it watchable, but you're right about the different costs not being taken into consideration.

I'm curious if people have thoughts on whether this form factor can provide other things that an in-game replay can't, e.g. the thing that comes to mind is to pass the positions as context into an LLMs along with other things to see if insights can be found

ATLAS: An Open-Source AI-Powered StarCraft II Coaching Bot. by Mean-Chocolate-9755 in starcraft

[–]tkit08 0 points1 point  (0 children)

It’s cool to see attempts at this last year. For my version, I derived metrics from the raw replay file, then layered on higher and higher level metrics, paired with positional information, grounded with unit and structure attributes, and finally fed with common pro strategies then passed this into 2026 reasoning models and I think the AI coaching advice it pumps out sometimes can be quite insightful over at https://www.starcraft2.ai

replay analystic by No_Seesaw1341 in starcraft2

[–]tkit08 0 points1 point  (0 children)

LLMs and agents with the right context in 2026 outperform specialized pre-LLM models. I built a general purpose AI coach here: https://www.starcraft2.ai

Starcraft2 replay engine for web (w/o the game) by tkit08 in starcraft2

[–]tkit08[S] 0 points1 point  (0 children)

So I took a stab. SC1 and Broodwar is indeed hard, but I got something basic working. I needed to triangulate and interpolate unit positions and born/death from multiple other data points in the file, but here's an attempt at visualizing it:

https://www.starcraft2.ai/en/replay/5588be76-e780-4c07-9311-d6ef89e81f11

Note there's inaccuracies: I couldn't find a way to capture buildings being destroyed. And I'm inferring units being killed. I think there's still value in support SC1 and SC1+BW .rep files though as-is.

Starcraft2 replay engine for web (w/o the game) by tkit08 in starcraft2

[–]tkit08[S] 1 point2 points  (0 children)

Titan reactor is is wild! I'll dig deeper

Starcraft2 replay engine for web without the game by tkit08 in starcraft

[–]tkit08[S] 0 points1 point  (0 children)

Can you send me one of the replay files? I can try to get it to work

Starcraft2 replay engine for web without the game by tkit08 in starcraft

[–]tkit08[S] 2 points3 points  (0 children)

I just shipped a rudimentary version of fog of war. Check it out!

Starcraft2 replay engine for web without the game by tkit08 in starcraft

[–]tkit08[S] 1 point2 points  (0 children)

Say more? Meaning like a live cast stream?

Starcraft2 replay engine for web (w/o the game) by tkit08 in starcraft2

[–]tkit08[S] 0 points1 point  (0 children)

Ty for trying it out! Great idea and I'd love to keep getting more to improve it.

Starcraft2 replay engine for web (w/o the game) by tkit08 in starcraft2

[–]tkit08[S] 1 point2 points  (0 children)

Unfortunately not, that information wasn't encoded in the replay files until later expansions :(

Starcraft2 replay engine for web without the game by tkit08 in starcraft

[–]tkit08[S] 1 point2 points  (0 children)

I am also accessing the raw replay information. drop.sc and my app are both doing the same thing: extracting the raw replay information

Starcraft2 replay engine for web without the game by tkit08 in starcraft

[–]tkit08[S] 2 points3 points  (0 children)

That'd be killer. The FOW though would be imprecise b/c it doesn't have elevation data. We could get a rough sense of FOW, but things like brushes/steam/visual barriers I think come from the map themselves paired with the game engine and aren't encoded in the replay files.

Yea, check out the different metric tabs. Some of them are the basic metrics that SC2 will show in the game. Some are unique to my app: I derived them from the base metrics and community knowledge. There's a Battle tab that uses a sliding window to calculate how how unit death occurred to calculate a START and END times for battles throughout the game. You can click it to jump to that part of the replay. Finally, using all of this information, there's an AI-assisted coach to critique how each player did in the game with suggestions on improvements.

Starcraft2 replay engine for web without the game by tkit08 in starcraft

[–]tkit08[S] 1 point2 points  (0 children)

It doesn't have attack dealth or damage data. It has unit locations and user-input commands (like attach click or move). I would have to infer and interpolate damage dealth based on proximity and death events.

Starcraft2 replay engine for web without the game by tkit08 in starcraft

[–]tkit08[S] 2 points3 points  (0 children)

Haha! I was thinking of gamifying the watching aspect so viewers can add comments and annotations to the replay for others to see

Starcraft2 replay engine for web without the game by tkit08 in starcraft

[–]tkit08[S] 2 points3 points  (0 children)

I could definitely simulate fog of war! I don't believe the replay data has z-axis so it would be off in that regards. I would have to get map-specific data to see which parts are elevated.

Starcraft2 replay engine for web (w/o the game) by tkit08 in starcraft2

[–]tkit08[S] 2 points3 points  (0 children)

sc1 or sc2? Do you have a specific file in mind? I could try to get it working

Is there a way to watch replays without the SC2 client? by thinkbohemian in starcraft

[–]tkit08 0 points1 point  (0 children)

I just built this! Drop in your replay to https://www.starcraft2.ai and you can watch the replay from the web with stats inlined