Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The decoded data of location by S2Protocol #9

Open
Ivens-Zhang opened this issue Aug 24, 2023 · 1 comment
Open

The decoded data of location by S2Protocol #9

Ivens-Zhang opened this issue Aug 24, 2023 · 1 comment

Comments

@Ivens-Zhang
Copy link

Hi, I'm a computer science student at the University of Adelaide and I am working on a project which focuses on combining the game commentary transcript and replay statistics using GPT to improve the professional player’s efficiency.

I downloaded some replays and parsed them using S2Protocol(https://github.com/Blizzard/s2protocol) and found a lot of information but don't know what to use. I parsed game events but couldn't understand the meaning. Recently, I found Swarmy, it seems like could render the location of each unit on a 3D map, which means you may know how to get the location from decoded data. I would really appreciate it if you could let us know where we could find the data for units or buildings, like location, action, clusters, birthtime, dead time, attack/track, abilities, building type, building orders and etc.

7631042d2d671d1e4fa1ea4e49b8dac

Besides, there is still some raw data we can’t figure out the exact meaning of some attributes. We are very interested in knowing where we can find the documentation.

Thank you so much and this repo is so helpful to us who would like to try to analyse data from the SC2 game.

@sebosp
Copy link
Owner

sebosp commented Aug 24, 2023

Hello!

Do you have an example format/message you would like to emit in mind? doesn't have to be very specific or formulated, can be just broad words examples of things you would extract. Perhaps we can work on the initial generation together to feed the model. Feel free to add me to discord, my username is sebosp maybe easier to chat there?

You can kindof see how the position/etc is checked by looking at https://github.com/sebosp/swarmy/blob/main/src/game_events/mod.rs

There is a lot of info on the replays but the unit movement is not there, only the unit initial position, its targeting, etc, the rest of the unit movement is calculated by the game engine itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants