Blizzard / s2client-proto

StarCraft II Client - protocol definitions used to communicate with StarCraft II.
MIT License
3.76k stars 431 forks source link

Where could I download Battle.net Cache? #12

Closed wuhuikai closed 6 years ago

wuhuikai commented 6 years ago

I downloaded Replays.zip and unzip it, but only found replay files. Where could I download the map from Battle.net Cache? Thank you !

SafPlusPlus commented 6 years ago

Perhaps I misunderstood you, but do you mean these (mentioned at https://github.com/Blizzard/s2client-proto/blob/master/README.md#map-packs ) ?

wuhuikai commented 6 years ago

@SafPlusPlus I have downloaded the maps you mentioned above. What I need is the maps used for replays. The instructions told me to replace the "Battle.net" and "Replays" folders with the ones in the zip file(https://github.com/Blizzard/s2client-proto#replay-packs-1), but I didn't find any.

KevinCalderone commented 6 years ago

The intention was for it to be included in the zip file, but it looks like we forgot to include it. Sorry about that. I will reupload the package today.

KevinCalderone commented 6 years ago

I've reuploaded the replay pack with the missing files. Sorry for the confusion: http://blzdistsc2-a.akamaihd.net/ReplayPacks/3.16.1-Pack_1-fix.zip

KevinCalderone commented 6 years ago

For future reference in case we forget again:

The tool we use to generate this is actually in the retail Windows client:

  1. Place all the replays in the standard Replay directory. (C:\Program Files (x86)\StarCraft II\Replays)
  2. If there is an existing folder named "Battle.net" in the retail install directory, delete it.
  3. Launch the game with the command line "-PrePopulateCache". a. Open the Battle.Net launcher and select StarCraft II. b. Options -> Game Settings c. Select the "Game Settings" tab d. Check "Additional command line arguments" box. e. Enter -PrePopulateCache in the field. f. Click "Play" to launch the game.
  4. Press "Ok" in the dialog box that pops up, and wait for it to finish. -> There Battle.net folder will now be fully populated with the data required to play those replays offline.
wuhuikai commented 6 years ago

On both Mac and Ubuntu 16.04, I replace the Battle.net folder with the one unzipped from http://blzdistsc2-a.akamaihd.net/ReplayPacks/3.16.1-Pack_1-fix.zip, and then I could play all the replays. Thanks for your help!

wenyeting commented 5 years ago

@KevinCalderone
I tried to use -PrePopulateCache but there was an error -download failed。