Giter VIP home page Giter VIP logo

Comments (19)

HaibeiZhu avatar HaibeiZhu commented on May 12, 2024 4

Actually I got the same error even with the Battle.net folder.

pysc2.lib.remote_controller.RequestError: SC2APIProtocol.ResponseReplayInfo.Error.ParsingError: 'Could not open initData for the replay: C:\Users\xx\AppData\Local\Temp\StarCraft II\TempReplayInfo.SC2Replay'

Is it because of the map files? Thanks

from pysc2.

miguelgondu avatar miguelgondu commented on May 12, 2024 1

One small comment: this just happened to me on MacOS. For some reason it was reading the Battle.net in /Users/Shared/Blizzard/Battle.net. I fixed it by copying the Battle.net folder from /Applications/StarCraft II/Battle.net into that one.

from pysc2.

H-Park avatar H-Park commented on May 12, 2024

Can you open the replay in question in the official blizzard released game? If you don't have a copy of the game, feel free to send me the replay and I will attempt to play it for you in the game.

from pysc2.

yukang2017 avatar yukang2017 commented on May 12, 2024

Thank you. It's not a big problem.
I can play it on Linux, but cannot on Mac in the official blizzard released game. The replay file is download from https://github.com/Blizzard/s2client-proto#downloads

from pysc2.

rayenough avatar rayenough commented on May 12, 2024

@TuringsEgo I have the same problem in Linux. I downloaded replay packs from blizzard sc2 github site, extracted to replay folder, can't load replay from it. However I can load replays played by me.

from pysc2.

H-Park avatar H-Park commented on May 12, 2024

I am not a blizzard or google employee

I downloaded the replay pack and the replay in question loaded fine for me in game, in windows.

What all have you tried to fix the issue? Would you clear you cache and try loading the replay (and map) from a more permanent file location?

from pysc2.

KevinCalderone avatar KevinCalderone commented on May 12, 2024

@rayenough Did you extract the Battle.net folder as well?

from pysc2.

rayenough avatar rayenough commented on May 12, 2024

@KevinCalderone Blizzard only provided compressed replays files, didn't see battle.net folder inside the compressed file.

from pysc2.

KevinCalderone avatar KevinCalderone commented on May 12, 2024

@rayenough Please see issue #9. We made a mistake when uploading the pack initially. It has been reuploaded and now includes the Battle.net folder. Sorry for the confusion.

Here is the new download link:
http://blzdistsc2-a.akamaihd.net/ReplayPacks/3.16.1-Pack_1-fix.zip

from pysc2.

GoingMyWay avatar GoingMyWay commented on May 12, 2024

Actually I got the same error even with the Battle.net folder.

pysc2.lib.remote_controller.RequestError: SC2APIProtocol.ResponseReplayInfo.Error.ParsingError: 'Could not open initData for the replay: C:\Users\xx\AppData\Local\Temp\StarCraft II\TempReplayInfo.SC2Replay'

Is it because of the map files? Thanks

Hi, @zhuseashell Have you fixed it?

from pysc2.

HaibeiZhu avatar HaibeiZhu commented on May 12, 2024

Actually I got the same error even with the Battle.net folder.
pysc2.lib.remote_controller.RequestError: SC2APIProtocol.ResponseReplayInfo.Error.ParsingError: 'Could not open initData for the replay: C:\Users\xx\AppData\Local\Temp\StarCraft II\TempReplayInfo.SC2Replay'
Is it because of the map files? Thanks

Hi, @zhuseashell Have you fixed it?

Hi @GoingMyWay
Actually, I haven't fixed it. I used Blizzard/s2client-proto directly to parse replay data.

from pysc2.

GoingMyWay avatar GoingMyWay commented on May 12, 2024

Actually I got the same error even with the Battle.net folder.
pysc2.lib.remote_controller.RequestError: SC2APIProtocol.ResponseReplayInfo.Error.ParsingError: 'Could not open initData for the replay: C:\Users\xx\AppData\Local\Temp\StarCraft II\TempReplayInfo.SC2Replay'
Is it because of the map files? Thanks

Hi, @zhuseashell Have you fixed it?

Hi @GoingMyWay
Actually, I haven't fixed it. I used Blizzard/s2client-proto directly to parse replay data.

This bug occurred when I want to play the replay file.

from pysc2.

HaibeiZhu avatar HaibeiZhu commented on May 12, 2024

Actually I got the same error even with the Battle.net folder.
pysc2.lib.remote_controller.RequestError: SC2APIProtocol.ResponseReplayInfo.Error.ParsingError: 'Could not open initData for the replay: C:\Users\xx\AppData\Local\Temp\StarCraft II\TempReplayInfo.SC2Replay'
Is it because of the map files? Thanks

Hi, @zhuseashell Have you fixed it?

Hi @GoingMyWay
Actually, I haven't fixed it. I used Blizzard/s2client-proto directly to parse replay data.

This bug occurred when I want to play the replay file.

I think if you just want to play (or parse) the replays, you could directly use the Blizzard API. However, if you need to do RL research, then you would need to fix this issue. Although I didn't fix this, I guess this may be related to your game installation.

from pysc2.

GoingMyWay avatar GoingMyWay commented on May 12, 2024

Actually I got the same error even with the Battle.net folder.
pysc2.lib.remote_controller.RequestError: SC2APIProtocol.ResponseReplayInfo.Error.ParsingError: 'Could not open initData for the replay: C:\Users\xx\AppData\Local\Temp\StarCraft II\TempReplayInfo.SC2Replay'
Is it because of the map files? Thanks

Hi, @zhuseashell Have you fixed it?

Hi @GoingMyWay
Actually, I haven't fixed it. I used Blizzard/s2client-proto directly to parse replay data.

This bug occurred when I want to play the replay file.

I think if you just want to play (or parse) the replays, you could directly use the Blizzard API. However, if you need to do RL research, then you would need to fix this issue. Although I didn't fix this, I guess this may be related to your game installation.

Hi, I want to play the replay to make videos for my research project presentation. Do you know how to use the API of Blizzard to play the replay?

from pysc2.

HaibeiZhu avatar HaibeiZhu commented on May 12, 2024

Actually I got the same error even with the Battle.net folder.
pysc2.lib.remote_controller.RequestError: SC2APIProtocol.ResponseReplayInfo.Error.ParsingError: 'Could not open initData for the replay: C:\Users\xx\AppData\Local\Temp\StarCraft II\TempReplayInfo.SC2Replay'
Is it because of the map files? Thanks

Hi, @zhuseashell Have you fixed it?

Hi @GoingMyWay
Actually, I haven't fixed it. I used Blizzard/s2client-proto directly to parse replay data.

This bug occurred when I want to play the replay file.

I think if you just want to play (or parse) the replays, you could directly use the Blizzard API. However, if you need to do RL research, then you would need to fix this issue. Although I didn't fix this, I guess this may be related to your game installation.

Hi, I want to play the replay to make videos for my research project presentation. Do you know how to use the API of Blizzard to play the replay?

Sure, you could check the repo of "Blizzard/s2client-api", and then check the function of "s2client-api/examples/replay.cc". "replay.cc" can help you with play replays. You may need to slightly modify the code.

from pysc2.

GoingMyWay avatar GoingMyWay commented on May 12, 2024

Actually I got the same error even with the Battle.net folder.
pysc2.lib.remote_controller.RequestError: SC2APIProtocol.ResponseReplayInfo.Error.ParsingError: 'Could not open initData for the replay: C:\Users\xx\AppData\Local\Temp\StarCraft II\TempReplayInfo.SC2Replay'
Is it because of the map files? Thanks

Hi, @zhuseashell Have you fixed it?

Hi @GoingMyWay
Actually, I haven't fixed it. I used Blizzard/s2client-proto directly to parse replay data.

This bug occurred when I want to play the replay file.

I think if you just want to play (or parse) the replays, you could directly use the Blizzard API. However, if you need to do RL research, then you would need to fix this issue. Although I didn't fix this, I guess this may be related to your game installation.

Hi, I want to play the replay to make videos for my research project presentation. Do you know how to use the API of Blizzard to play the replay?

Sure, you could check the repo of "Blizzard/s2client-api", and then check the function of "s2client-api/examples/replay.cc". "replay.cc" can help you with play replays. You may need to slightly modify the code.

Thanks, that is that CPP code, OK, I will try it.

from pysc2.

GoingMyWay avatar GoingMyWay commented on May 12, 2024

Actually I got the same error even with the Battle.net folder.
pysc2.lib.remote_controller.RequestError: SC2APIProtocol.ResponseReplayInfo.Error.ParsingError: 'Could not open initData for the replay: C:\Users\xx\AppData\Local\Temp\StarCraft II\TempReplayInfo.SC2Replay'
Is it because of the map files? Thanks

Hi, @zhuseashell Have you fixed it?

Hi @GoingMyWay
Actually, I haven't fixed it. I used Blizzard/s2client-proto directly to parse replay data.

This bug occurred when I want to play the replay file.

I think if you just want to play (or parse) the replays, you could directly use the Blizzard API. However, if you need to do RL research, then you would need to fix this issue. Although I didn't fix this, I guess this may be related to your game installation.

Hi, I want to play the replay to make videos for my research project presentation. Do you know how to use the API of Blizzard to play the replay?

Sure, you could check the repo of "Blizzard/s2client-api", and then check the function of "s2client-api/examples/replay.cc". "replay.cc" can help you with play replays. You may need to slightly modify the code.

Hi, the s2clientprotocol/sc2api.pb.h is not found, how can I get them?

from pysc2.

H-Park avatar H-Park commented on May 12, 2024

@yukang2017 is this still a problem? I have it when I run pysc2.bin.replay_info, but I get around it but explicitly setting the game version in run_configs.get(version={VERSION}).

@GoingMyWay your issue is unrelated to PySC2, but I'm not convinced it's an issue with Blizzard/s2client-api itself, but rather how you're compiling replay.cc.

from pysc2.

mrquorr avatar mrquorr commented on May 12, 2024

I was having this issue running on Windows 10. I think the issue was that the replay was from an old game version. I fixed it by running the replay on the game client so it downloaded the necessary files by itself.

from pysc2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.