• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 07:11
CEST 13:11
KST 20:11
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL22] Ro24 Preview: Siren's Call8[ASL22] Ro24 Preview: Summer's End9Serral wins HomeStory Cup 2915Serral wins Maestros of the Game 244ByuL, and the Limitations of Standard Play3
Community News
Official StarCraft website teases new content ahead of BlizzCon?76Stellar Fest TWO the Moon (Dec 16-20)9Weekly Cups (August 24-30): Patches' balance mod takes over3New 3v3 BGH Ladder (and more) on ShieldBattery!40Weekly Cups (August 17-23): Zerg dominate the week6
StarCraft 2
General
Nexon wins bid to develop StarCraft IP content, distribute Overwatch mobile game SC4ALL: II Winner Will Earn a Spot at HSC 30! Weekly Cups (August 24-30): Patches' balance mod takes over Balance hotfix patch 5.0.16b (July 16) September World Ranking: herO leads, Serral climbs
Tourneys
Stellar Fest TWO the Moon (Dec 16-20) IntoTheTV X SOOP SC2 League : Weekly & Monthly SC2 INu's Battles#20 [BO.9] 2026 GSTL Announcement PIG STY FESTIVAL 8.0! (13 - 23 August)
Strategy
[G] Having the right mentality to improve
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 541 Binary Choice The PondCast: SC2 News & Results Mutation # 540 Dodge This Mutation # 539 Thunder Dome
Brood War
General
ASL22 General Discussion Gypsy to Korea Official StarCraft website teases new content ahead of BlizzCon? [Personal Project Share] Terran Defense v0.60 BW General Discussion
Tourneys
KCM Race Survival 2026 Season 3 Brood War in Budapest ! WORTEX 2026 BW Finals [Megathread] Daily Proleagues BSL LAN Party - Kraków 29-30 August - OPEN SIGNUPS
Strategy
Replay Review Process - What do you do? Game Theory for Starcraft Odyssey Mineral Stack Saturation Fighting Spirit mining rates
Other Games
General Games
Nintendo Switch Thread Diablo IV EVE Corporation [Maplestory Hardcore] Let's Play~!! General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Power Rank TL Mafia Community Thread NeO.D_StephenKing vs This Guy From 1 Million Dance
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread Artificial Intelligence Thread UK Politics Mega-thread
Fan Clubs
MarineLorD Fan Club The Creator Fan Club The ShoWTimE Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Northern Ireland Global Starcraft
Blogs
Dreaming of BW patches (mod…
c3rberUs
Regacy Esports: The Bh…
regacyesports
Violent Games and Crime Rate…
TrAiDoS
LOCKPICKING NOOB
LUCKY_NOOB
Cathedral Of CS And NY pizza a…
FuDDx
Customize Sidebar...

Website Feedback

Closed Threads



Active: 6964 users

1.18 replay format - compression

Forum Index > BW General
Post a Reply
Normal
LoneySoul7
Profile Joined April 2017
4 Posts
Last Edited: 2017-04-02 21:53:51
April 02 2017 21:50 GMT
#1
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,
LML
Profile Blog Joined March 2007
Germany1794 Posts
April 02 2017 22:56 GMT
#2
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.
LML
LoneySoul7
Profile Joined April 2017
4 Posts
April 03 2017 03:48 GMT
#3
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.
Jealous
Profile Blog Joined December 2011
10361 Posts
April 03 2017 04:12 GMT
#4
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.
"The right to vote is only the oar of the slaveship, I wanna be free." -- бум бум сучка!
xboi209
Profile Blog Joined June 2011
United States1173 Posts
April 03 2017 04:41 GMT
#5
They're not just going to release that information
http://www.reddit.com/r/broodwar/
writer22816
Profile Blog Joined September 2008
United States5775 Posts
April 03 2017 07:14 GMT
#6
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
8/4/12 never forget, never forgive.
Dakota_Fanning *
Profile Joined January 2008
Hungary2369 Posts
Last Edited: 2017-04-03 08:29:04
April 03 2017 08:28 GMT
#7
Please send me 1.18 replays, and I take a look.
+ Show Spoiler [My email is] +
[image loading]
https://repmastered.icza.net
mo0n_sniper
Profile Joined March 2017
Romania6 Posts
April 03 2017 08:48 GMT
#8
You can post in the starcraft forum. Some devs read the forum and post there.
https://us.battle.net/forums/en/starcraft/
Entaro Adun
Dakota_Fanning *
Profile Joined January 2008
Hungary2369 Posts
April 03 2017 10:33 GMT
#9
Can anyone send me 1.18 replays?
+ Show Spoiler [My email is] +
[image loading]
https://repmastered.icza.net
LoneySoul7
Profile Joined April 2017
4 Posts
Last Edited: 2017-04-03 19:48:52
April 03 2017 19:48 GMT
#10
@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
Stilwell
Profile Joined April 2017
1 Post
Last Edited: 2017-04-04 08:31:11
April 04 2017 06:54 GMT
#11
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 *
Profile Joined January 2008
Hungary2369 Posts
Last Edited: 2017-04-04 19:18:05
April 04 2017 17:25 GMT
#12
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... ).
https://repmastered.icza.net
cysin
Profile Joined February 2006
China4 Posts
April 06 2017 14:01 GMT
#13
@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 *
Profile Joined March 2006
France52 Posts
April 15 2017 23:33 GMT
#14
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!

APM? Never heard of it...
andiCR
Profile Blog Joined March 2008
Costa Rica2273 Posts
April 19 2017 23:10 GMT
#15
I was looking for this, thanks jca!
Nightmare1795 wrote: I played a guy in bronze who said he was Japanese. That was the only game I ever dropped a nuke, which was purely coincidental.
andiCR
Profile Blog Joined March 2008
Costa Rica2273 Posts
April 19 2017 23:10 GMT
#16
jca, could you just host your version of the code on github and let the community branch/fill in the blanks?
Nightmare1795 wrote: I played a guy in bronze who said he was Japanese. That was the only game I ever dropped a nuke, which was purely coincidental.
cysin
Profile Joined February 2006
China4 Posts
April 20 2017 00:30 GMT
#17
@jca2, could you please open source your code? Thanks
Jealous
Profile Blog Joined December 2011
10361 Posts
April 23 2017 00:10 GMT
#18
Keeps telling me that some perfectly functional replays are corrupt ): Perhaps because they are from PTR, but 1.18 plays them just fine.
"The right to vote is only the oar of the slaveship, I wanna be free." -- бум бум сучка!
Milzo
Profile Joined March 2004
France656 Posts
April 23 2017 17:15 GMT
#19
jca still going strong after all these years! Merci beaucoup
rich-
Profile Joined February 2008
United States144 Posts
April 23 2017 17:51 GMT
#20
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.
mca64Launcher_
Profile Joined June 2015
Poland629 Posts
April 23 2017 18:17 GMT
#21
bwchart is just awesome!
Incanus
Profile Joined October 2009
Canada695 Posts
Last Edited: 2017-04-23 20:26:17
April 23 2017 20:20 GMT
#22
On April 16 2017 08:33 jca2 wrote:
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

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.
Flash: "Why am I so good?" *sob sob*
Dakota_Fanning *
Profile Joined January 2008
Hungary2369 Posts
Last Edited: 2017-04-24 08:58:48
April 24 2017 08:58 GMT
#23
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...
https://repmastered.icza.net
ldv
Profile Blog Joined April 2017
United States103 Posts
April 25 2017 19:25 GMT
#24
Open source or riot.
simplyserenity
Profile Joined May 2017
2 Posts
May 07 2017 01:19 GMT
#25
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.
LoneySoul7
Profile Joined April 2017
4 Posts
May 07 2017 02:57 GMT
#26
Nothing has changed other than the decompression, wherever you would previously use PKWARE's implode variant, now you just need to decode zlib.
simplyserenity
Profile Joined May 2017
2 Posts
May 08 2017 05:53 GMT
#27
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!
Ishtar
Profile Joined February 2014
Poland26 Posts
May 25 2017 22:22 GMT
#28
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....
i know that i know nothing
Bonyth
Profile Joined August 2010
Poland612 Posts
July 13 2017 17:06 GMT
#29
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
Malkiyah
Profile Joined April 2012
Russian Federation92 Posts
August 28 2017 16:52 GMT
#30
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.
epicdoom
Profile Blog Joined January 2009
United States489 Posts
August 28 2017 17:31 GMT
#31
BWchart is open source. You can find other open source tools for reference here:
http://www.teamliquid.net/forum/brood-war/487990-open-source-bw-projects

Specifically BWChart
http://wiki.teamliquid.net/starcraft/BWChart

It would be cool to have a Teamliquid github organization that these tools can live in and continue to be developed for.
Eclipse1
Profile Joined August 2017
2 Posts
August 29 2017 01:24 GMT
#32
can you remake the bwreinfo tool too? this would be awesome ! missing this tool so much

and thanks also for the remake of bwchart
JiYan
Profile Blog Joined February 2009
United States3668 Posts
August 29 2017 03:46 GMT
#33
crashes for me =\
niteReloaded
Profile Blog Joined February 2007
Croatia5282 Posts
August 29 2017 09:53 GMT
#34
On August 29 2017 12:46 JiYan wrote:
crashes for me =\

same
739
Profile Blog Joined May 2009
Bearded Elder29905 Posts
August 29 2017 09:56 GMT
#35
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
WriterSalty oldboy that loves memes | One and only back-to-back Liquibet Winner
Malkiyah
Profile Joined April 2012
Russian Federation92 Posts
August 31 2017 04:47 GMT
#36
I need bwrepinfo too...
smokefield
Profile Joined December 2017
7 Posts
December 14 2017 16:32 GMT
#37
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 !
jimminy_kriket
Profile Blog Joined February 2007
Canada5540 Posts
December 14 2017 23:53 GMT
#38
There's a link here to an updated ver
http://www.teamliquid.net/forum/brood-war/529320-patch-121s-bwcharts-problem
life of lively to live to life of full life thx to shield battery
smokefield
Profile Joined December 2017
7 Posts
December 15 2017 16:08 GMT
#39
thank you ! it works now !

any antihack or hack detec tool that works with remastered ?
jimminy_kriket
Profile Blog Joined February 2007
Canada5540 Posts
December 15 2017 21:22 GMT
#40
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 -_-
life of lively to live to life of full life thx to shield battery
smokefield
Profile Joined December 2017
7 Posts
December 16 2017 05:55 GMT
#41
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.
Lingepumpe
Profile Joined April 2009
Germany15 Posts
March 03 2018 09:33 GMT
#42
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!
Normal
Please log in or register to reply.
Live Events Refresh
Big Brain Bouts
10:00
#128
Lambo vs Percival
TriGGeR vs ByuN
RotterdaM619
IndyStarCraft 182
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 619
IndyStarCraft 182
SHIN 78
StarCraft: Brood War
Calm 10951
Britney 7065
Hyuk 1672
Pusan 651
Horang2 319
Larva 291
Hyun 259
firebathero 194
Last 104
Barracks 87
[ Show more ]
hero 78
Mong 62
Free 52
HiyA 45
Sharp 45
Yoon 40
Shinee 38
910 26
NaDa 25
Aegong 25
sSak 22
scan(afreeca) 13
ajuk12(nOOB) 12
SilentControl 9
Noble 8
Sexy 4
Dota 2
resolut1ontv 118
Dendi76
League of Legends
JimRising 389
Counter-Strike
byalli892
edward69
Super Smash Bros
Mew2King168
Heroes of the Storm
Khaldor231
Other Games
B2W.Neo131
Fuzer 125
DeMusliM93
Organizations
Other Games
gamesdonequick893
StarCraft 2
WardiTV144
Other Games
BasetradeTV37
StarCraft: Brood War
UltimateBattle 22
lovetv 9
[ Show 10 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2304
Other Games
• WagamamaTV418
Upcoming Events
Sparkling Tuna Cup
22h 49m
OSC
1d
Shopify Rebellion Sundays
1d 3h
Mixu vs TBD
Spirit vs TBD
Clem vs TBD
Patches Events
1d 4h
OSC
1d 12h
Afreeca Starleague
1d 22h
Soma vs Shuttle
BeSt vs Rush
WardiTV Weekly
1d 23h
Monday Night Weeklies
2 days
Afreeca Starleague
2 days
Leta vs ggaemo
Jaedong vs Queen
GSL
2 days
[ Show More ]
PiGosaur Cup
3 days
Kung Fu Cup
3 days
Replay Cast
4 days
The PondCast
4 days
KCM Race Survival
4 days
Escore
5 days
IntoTheTV X SOOP
5 days
CranKy Ducklings
6 days
Liquipedia Results

Completed

Proleague 2026-09-02
PiG Sty Festival 8.0
Light Tournament 2026

Ongoing

KCM Race Survival 2026 Season 3
K-JUNGMAN
ASL Season 22
Super Anchor Qualifying S3
CSL 2026 AUTUMN (S22)
Acropolis #5
Acropolis #5 - TRS
RSL Revival: Season 6
Calamity Invitational
Big Dog Cup 2026 Div 1
BLAST Open Fall 2026
Esports World Cup 2026
Esports World Cup 2026: LCQ
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026

Upcoming

Escore Tournament S3: King of Kings
Blizzard Classic Cup 2026
Acropolis #5 - GSA
Acropolis #5 - GSB
Acropolis #5 - GSC
SC4ALL II: Brood War
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.