I wanted to extract some game information from replays from WCS Valencia 2018 using Blizzard's API protocol. However, it appears an automatically downloaded Battle.net cache does not sufficiently enable a manual launch of the replay using an older version of the game client which allows protocol connections.
These replays are versioned as 4.4.0.65895. Using the battle.net-connected client that relaunches the replay offline, I can load and view these replays without issue.
I can review other replays and extract its game data using this protocol without issue (provided I already have the corresponding map version).
I have tried on Windows 10 and Windows 7 machines; both produce this issue. I haven't tried other OS.
There doesn't appear to be any issue with the 65895 version, the API connection or socket communication in other replays or games. Both matches and replays run normally with observation requests returning valid data.
PROBLEM STATEMENT:
Cannot play older replays using an older version of the SC2 game client manually launched offline with a valid connection to a compatible API client.
ERROR MESSAGE:
SC2APIProtocol.ResponseStartReplay.Error.LaunchError: 'The launch of this game makes reference to mod or map dependencies which are no longer available.'
STEPS TO REPRODUCE:
remove existing Battle.net folder from the main SC2 application folder.
Modify the command-line launch with the -PrePopulateCache option per these instructions.
Adding this option on the command line directly when launching a Base***** version also launches the downloader application, but it crashes.
Place all WCS 2018 - Valencia replays in the main SC2 application folder \ Replays. (For good measure, I also placed the replay files inside the C:\Users\ME\Documents\StarCraft II\Accounts\#######\1-S2-1-####\Replays\Multiplayer folder where other replays are located.)
Click 'Play' on the Blizzard game launcher.
A new window appears informing that additional downloads are required.
Game data is downloaded successfully; the window indicates as such.
SITUATION:
I wanted to extract some game information from replays from WCS Valencia 2018 using Blizzard's API protocol. However, it appears an automatically downloaded Battle.net cache does not sufficiently enable a manual launch of the replay using an older version of the game client which allows protocol connections.
PROBLEM STATEMENT:
Cannot play older replays using an older version of the SC2 game client manually launched offline with a valid connection to a compatible API client.
ERROR MESSAGE:
SC2APIProtocol.ResponseStartReplay.Error.LaunchError: 'The launch of this game makes reference to mod or map dependencies which are no longer available.'
STEPS TO REPRODUCE:
-PrePopulateCache
option per these instructions.C:\Users\ME\Documents\StarCraft II\Accounts\#######\1-S2-1-####\Replays\Multiplayer
folder where other replays are located.)C:/Program Files (x86)/StarCraft II\Versions\Base65895\SC2_x64.exe -listen 127.0.0.1 -port 16857 -dataDir C:/Program Files (x86)/StarCraft II\ -tempDir C:\Users\ME\AppData\Local\Temp\sc-a0tio9gx\ -displayMode 1 -dataVersion BF41339C22AE2EDEBEEADC8C75028F7D