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

How could I watch the StarCraft II replays? #358

Open
issuey opened this issue Jan 18, 2024 · 1 comment
Open

How could I watch the StarCraft II replays? #358

issuey opened this issue Jan 18, 2024 · 1 comment

Comments

@issuey
Copy link

issuey commented Jan 18, 2024

When I want to render the video of the SC2, I used the following command as the intro shown
python -m pysc2.bin.play --norender --rgb_minimap_size 0 --replay 1c3s5z_2024-01-11-06-43-01.SC2Replay
But I met the warning before
ValueError: Unknown game version: 5.0.12. Known versions: ['4.6.2', 'latest'].
Is there anybody else met the problem before? how could I render the video?
Looking forward to your reply, thank you very much.

@KirtusLeyba
Copy link

Hi! I was also interested in doing this, and I figured out you could add versions into the pysc2/run_configs/lib.py file, and to generate the codes for the version you want to look at, you just run pysc2/replay_version.py and pass in the name of the replay. You can either find these python scripts within the library yourself or run them within a venv like you do the replay command

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