|
Hello,
I run a website that serves as a league for a small community of players (somewhere around 100 active players) for a custom map on StarCraft. A necessary component of the league is the ability to parse replays that are uploaded and provide game statistics. Only the replay header information is necessary.
From my 1.18 testing, it seems as though the replays are not backwards compatible with 1.16. In particular, the replay header, which previously used a variant of PKWARE's implode algorithm for compression, now uses something different. As a result, I am not able to parse 1.18 replays, and this would be fatal to the league, and possibly to our small community. A workaround has been prepared that entails manual watching of replays and filling in the necessary information, but this is not sustainable in the long run.
I have been trying to find out what compression algorithm this is, or how to decompress, with no luck. Is there anyone who has this information? Is it one of Blizzard's secrets or can this be public knowledge? If I contacted Blizzard directly, what are the chances that they would provide this information?
Thanks and regards,
|
On April 03 2017 06:50 LoneySoul7 wrote: If I contacted Blizzard directly, what are the chances that they would provide this information?
Try it and you will find out. I guess it doesn't hurt. It will give you a definite answer, and on top of that you can share it here with people who may run into the same issue.
|
What is the best/easiest way to contact Blizzard for something like this? Filing a customer support ticket doesn't seem quite appropriate for something like this. I've never done anything like this before, so pardon my ignorance.
|
Why not just stay with 1.16 if worst comes to worst? Seems like you already have a dedicated community from what I understand, nothing really has to change for you guys.
It would be nice if Blizzard did release that info, but I wouldn't hold my breath.
|
They're not just going to release that information
|
On April 03 2017 07:56 LML wrote:Show nested quote +On April 03 2017 06:50 LoneySoul7 wrote: If I contacted Blizzard directly, what are the chances that they would provide this information? Try it and you will find out. I guess it doesn't hurt. It will give you a definite answer, and on top of that you can share it here with people who may run into the same issue.
this but i wouldnt hold my breath
|
Dakota_Fanning
Hungary2342 Posts
|
|
Dakota_Fanning
Hungary2342 Posts
|
@Dakota_Fanning, I've sent you replays by email.
@mo0n_sniper, I cannot seem to be able to make threads on that forum. There is a dialog saying "BattleTag Required", even though I already made one, and I clearly see it on my account settings... tried clearing cookies, restarting browser; nothing worked
|
Loney,
The devs read TL as well. Posting it here might get a reply, and they'll help you troubleshoot posting on their forums as well.
Cheers
|
Dakota_Fanning
Hungary2342 Posts
On April 04 2017 04:48 LoneySoul7 wrote: @Dakota_Fanning, I've sent you replays by email.
@mo0n_sniper, I cannot seem to be able to make threads on that forum. There is a dialog saying "BattleTag Required", even though I already made one, and I clearly see it on my account settings... tried clearing cookies, restarting browser; nothing worked Thanks for the reps. I have analyzed them and I have good news for you.
It turns out Blizzard made 1.18 replays somewhat easier to "read". As mentioned, pre-1.18 replays used a modified PKWARE implode compression algorithm, and since 1.18, the compressed data blocks start with the 78 9C bytes, which are zlib magic headers:
78 9C - Default compression
I've tested it and they are indeed standard zlib compressed blocks.
Not sure if you're working on your own replay parsing lib, but I'm preparing something for SC-BW 1.18 and SC:R as well (it sort of became my habit... ).
|
@Dakota_Fanning Any further findings? Looks like 1.18 replays consists of zlib compressed blocks. Would you please share the replay format if you have dumped it?
|
jca2
France52 Posts
Hi there,
digged up my old bwchart source code and added the zlib stuff for 1.18. Here is a little alpha version of it, if anyone is interested.
https://www.dropbox.com/s/og3vbnwvueihypp/bwchart200b.exe?dl=0
I don't have the latest source code of bwchart, the one that was modified after I made it open source, so this version will miss all the updates that have been done since. If someone can point me out where the most recent source code is, I could add the zlib stuff in that version too.
Happy Easter!
|
I was looking for this, thanks jca!
|
jca, could you just host your version of the code on github and let the community branch/fill in the blanks?
|
@jca2, could you please open source your code? Thanks
|
Keeps telling me that some perfectly functional replays are corrupt ): Perhaps because they are from PTR, but 1.18 plays them just fine.
|
Milzo
France656 Posts
jca still going strong after all these years! Merci beaucoup
|
Nice job guys.I wonder if blizzard will patch the compatibility and allow viewing of old replays in sc:r.
Dakota are you back playing bgh yet? we should get a bgh tournament going to kick off sc:r. The games I've played on east were pretty low, but channel )v( was back.
|
|
Great great work, thank you! I was sorely missing bwchart for 1.18. Even went so far as to glance through the source, but it's not so easy to update without context haha. Unfortunately I'm getting crashes on most dialogs on Windows 10.
|
Dakota_Fanning
Hungary2342 Posts
On April 24 2017 02:51 rich- wrote:Nice job guys.I wonder if blizzard will patch the compatibility and allow viewing of old replays in sc:r. Dakota are you back playing bgh yet?  we should get a bgh tournament going to kick off sc:r. The games I've played on east were pretty low, but channel )v( was back. Not yet back, couldn't make 1.18 run under linux. Also, I haven't played SC:BW for 7 years, I'm gonna need some time to get back in shape...
|
|
Does anybody have more information on the changes to replays as of 1.18? I've been spending some time trying to figure everything out and I can parse the replay header correctly, but not much else.
|
Nothing has changed other than the decompression, wherever you would previously use PKWARE's implode variant, now you just need to decode zlib.
|
I realize now that I had just made a silly mistake in my code, and it led me to believe something else changed, got it working now! thanks!
|
Hi! So i have a question.. Where are replays saved? When i enter my starcraft folder i dont see any new replays only old ones.. Also wLauncher wont work properly with this shit called 1.18 etc. help and tell me pls how to save replays in this shit and hwo to get to them cuz autoreplay wont work....
|
Yo, bwchart has problems with korean replay names I think. I cannot imagine changing every replay name that was played on Fish server. Is there a way to go around the problem, or do you think we should wait for an update or just for Remaster and forget about these reps now? :D
|
Russian Federation92 Posts
Hi all.
Can someone make a command-line tool that replaces the compression in 1.20 with the old PKWARE compression, so the replays can be used in the old programs that are not updated for remastered.
|
|
can you remake the bwreinfo tool too? this would be awesome ! missing this tool so much
and thanks also for the remake of bwchart
|
|
On August 29 2017 12:46 JiYan wrote: crashes for me =\ same
|
Bearded Elder29903 Posts
On May 26 2017 07:22 Ishtar wrote: Hi! So i have a question.. Where are replays saved? When i enter my starcraft folder i dont see any new replays only old ones.. Also wLauncher wont work properly with this shit called 1.18 etc. help and tell me pls how to save replays in this shit and hwo to get to them cuz autoreplay wont work.... First link in google.
Documents > Starcraft > Maps > Replays
|
Russian Federation92 Posts
|
Hi everyone, I have tried the tool but it read some replays from SC remastered and some it sais they are corrupt...any fix for it ?
thank you !
|
|
thank you ! it works now !
any antihack or hack detec tool that works with remastered ?
|
not to my knowledge. I haven't run into anyone noticeably hacking yet though. Just one guy using a ums map that gave him super powers -_-
|
i have loaded the replays from last months and the most used hack seems to be the map one, according to the bwchart. ppl selecting buildings/units when they could not possible see them. I know that bwchart could have false positives sometimes - but is not impossible to start seeing pl with hacks again.
|
Hi,
thanks for your work jca2, it works pretty well for me too, I have one corrupt replay file though, you can get it at:
http://bwreplays.com/e1ghr
Also, I second the request for source on github 
Thanks!
|
|
|
|