• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:48
CEST 03:48
KST 10:48
  • 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
[ASL21] Ro24 Preview Pt2: News Flash10[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy18ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book20
Community News
Weekly Cups (March 23-29): herO takes triple6Aligulac acquired by REPLAYMAN.com/Stego Research8Weekly Cups (March 16-22): herO doubles, Cure surprises3Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool51Weekly Cups (March 9-15): herO, Clem, ByuN win4
StarCraft 2
General
Team Liquid Map Contest #22 - Presented by Monster Energy Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool What mix of new & old maps do you want in the next ladder pool? (SC2) Aligulac acquired by REPLAYMAN.com/Stego Research Weekly Cups (March 23-29): herO takes triple
Tourneys
RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament StarCraft Evolution League (SC Evo Biweekly) WardiTV Mondays World University TeamLeague (500$+) | Signups Open
Strategy
Custom Maps
[M] (2) Frigid Storage Publishing has been re-enabled! [Feb 24th 2026]
External Content
The PondCast: SC2 News & Results Mutation # 520 Moving Fees Mutation # 519 Inner Power Mutation # 518 Radiation Zone
Brood War
General
BSL 22 Map Contest — Submissions OPEN to March 10 so ive been playing broodwar for a week straight. Klaucher discontinued / in-game color settings BGH Auto Balance -> http://bghmmr.eu/ Pros React To: JaeDong vs Queen
Tourneys
[Megathread] Daily Proleagues [ASL21] Ro24 Group E [ASL21] Ro24 Group F Azhi's Colosseum - Foreign KCM
Strategy
What's the deal with APM & what's its true value Fighting Spirit mining rates Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Starcraft Tabletop Miniature Game Nintendo Switch Thread General RTS Discussion Thread Darkest Dungeon
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread The Chess Thread NASA and the Private Sector Things Aren’t Peaceful in Palestine
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Broowar part 2
qwaykee
China Uses Video Games to Sh…
TrAiDoS
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
ASL S21 English Commentary…
namkraft
Electronics
mantequilla
Customize Sidebar...

Website Feedback

Closed Threads



Active: 10305 users

StarCraft: Remastered, Emulating a buffer overflow

Forum Index > BW General
Post a Reply
Vendethiel
Profile Joined February 2017
213 Posts
Last Edited: 2018-02-05 10:52:40
February 05 2018 10:39 GMT
#1
Hey,

A presentation was posted by some SC:R devs, might be interesting to technical users.

StarCraft: Remastered – Emulating a buffer overflow for fun and profit [pdf]

Also interesting:
Unfortunately, we did not have private or
public symbols for StarCraft 1.16.1. I had to
start reversing the game executable from
scratch


Because triggers are hard to program, the South
Korean hacker (nicknamed Trigger King / trgk) wrote
a trigger compiler

You write proper logic in a
JavaScript/Python like language called
epScript
Maru <3
fish_radio
Profile Blog Joined March 2017
182 Posts
Last Edited: 2018-02-05 22:40:54
February 05 2018 22:32 GMT
#2
wtf..? it's not Trigger King. it's Park Hyun Woo....

Blizzard please give proper name and credit his open source work:

https://github.com/phu54321/epScript

(edit: different Park Hyun Woo, not Squirtle)
Sebyul Server W.I.P.
ninazerg
Profile Blog Joined October 2009
United States7291 Posts
February 05 2018 23:13 GMT
#3
"Patch 1.17 was slated for release but was held back
because it would break mods, tools, and launchers"

lol, my sides just bust open and my guts are falling out onto the floor. I know that's not true because Chaoslauncher has been updated many times for patches.

http://www.teamliquid.net/forum/brood-war/65196-chaoslauncher-for-1161

Maybe someone told you that was the official reason for no 1.17 patch, but I have a very hard time believing that.
"If two pregnant women get into a fist fight, it's like a mecha-battle between two unborn babies." - Fyodor Dostoevsky
2Pacalypse-
Profile Joined October 2006
Croatia9530 Posts
February 05 2018 23:59 GMT
#4
On February 06 2018 08:13 ninazerg wrote:
"Patch 1.17 was slated for release but was held back
because it would break mods, tools, and launchers"

lol, my sides just bust open and my guts are falling out onto the floor. I know that's not true because Chaoslauncher has been updated many times for patches.

http://www.teamliquid.net/forum/brood-war/65196-chaoslauncher-for-1161

Maybe someone told you that was the official reason for no 1.17 patch, but I have a very hard time believing that.

1.17 was slated for release in late 2016 / early 2017 afaik, which was the time when most people that developed those tools (including Chaoslauncher) have moved on, so it's quite unlikely they would be updated.

However, I agree that there was probably more at play on why the 1.17 patch was skipped and they went straight to 1.18/Remastered announcement.
Moderator"We're a community of geniuses because we've found how to extract 95% of the feeling of doing something amazing without actually doing anything." - Chill
Craton
Profile Blog Joined December 2009
United States17281 Posts
Last Edited: 2018-02-06 02:54:00
February 06 2018 02:53 GMT
#5
The things people like that can manage to do are incredible.
twitch.tv/cratonz
Chef
Profile Blog Joined August 2005
10810 Posts
February 06 2018 16:24 GMT
#6
On February 06 2018 08:13 ninazerg wrote:
"Patch 1.17 was slated for release but was held back
because it would break mods, tools, and launchers"

lol, my sides just bust open and my guts are falling out onto the floor. I know that's not true because Chaoslauncher has been updated many times for patches.

http://www.teamliquid.net/forum/brood-war/65196-chaoslauncher-for-1161

Maybe someone told you that was the official reason for no 1.17 patch, but I have a very hard time believing that.

I don't know about that. It's always been the case that there was a bit of backlash when a patch felt kind of meaningless but created a lot of work for people to update programs, and certainly some never get updated. It's been that way since 1.12, although 1.12 was a really, really good patch. Back when bwprogrammers used to exist, the usefulness of a Blizzard patch against the cost to community programming was definitely a topic of debate.

At the very least, it's a plausible excuse even if the real reason is something more like 'It looked like a bigger project than we first thought.'

There have a been a lot of interesting tools for making triggers in maps easier over the years. Users from staredit.net made a number of them.
LEGEND!! LEGEND!!
tarpman
Profile Joined February 2009
Canada720 Posts
Last Edited: 2018-02-15 04:03:34
February 15 2018 03:53 GMT
#7
Just ran into this today while reading about some other REcon presentations. Great presentation and an impressive amount of work - really shows their commitment to backwards compatibility with all these existing maps.

Surprised to read they couldn't find any debug symbols for the 1.16.1 binary. And what's more it sounds like he couldn't find the exact code 1.16.1 was built from either? or am I reading more into
  • Used the closest source code snapshot for 1.16.1

than it actually says...

Also - this reveals that SC:R changed a lot more about the game code than I realized! Core data structures like CUnit changed; Storm library code actually replaced entirely with modern utilities in some much more invasive places than I would have guessed (linked lists)!

Anyone know what the "cave area of the string chunk" is that he mentions in a few spots?
Saving the world, one kilobyte at a time.
S.I.
Profile Joined April 2017
58 Posts
February 17 2018 01:07 GMT
#8
I think its briefly explain in the talk:
The string segment of the map file has a header saying "The next XYZ bytes of data are string data". However, in the string data the string format also stored a max length. If the first length is larger than the second length, then there is extra memory allocated which can't be accessed via strings - that is what is meant by cave area. EUD triggers can access that memory to do stuff with it
Please log in or register to reply.
Live Events Refresh
Next event in 8h 12m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft405
RuFF_SC2 143
Ketroc 60
PattyMac 18
ProTech8
StarCraft: Brood War
GuemChi 5519
Artosis 689
ggaemo 83
Bale 37
NaDa 18
Dota 2
monkeys_forever560
canceldota132
NeuroSwarm11
Counter-Strike
tarik_tv5128
Heroes of the Storm
Khaldor154
Other Games
summit1g18697
JimRising 527
ViBE92
Organizations
Other Games
gamesdonequick1106
BasetradeTV140
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Hupsaiya 137
• davetesta18
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• Azhi_Dahaki8
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV284
League of Legends
• Doublelift3296
Other Games
• Scarra652
• Shiphtur118
Upcoming Events
Afreeca Starleague
8h 12m
Wardi Open
8h 12m
Replay Cast
22h 12m
Sparkling Tuna Cup
1d 8h
Kung Fu Cup
2 days
The PondCast
3 days
Replay Cast
3 days
Replay Cast
4 days
CranKy Ducklings
5 days
BSL
5 days
[ Show More ]
Replay Cast
5 days
Sparkling Tuna Cup
6 days
BSL
6 days
Replay Cast
6 days
Liquipedia Results

Completed

CSL Elite League 2026
RSL Revival: Season 4
NationLESS Cup

Ongoing

BSL Season 22
ASL Season 21
CSL Season 20: Qualifier 2
CSL 2026 SPRING (S20)
StarCraft2 Community Team League 2026 Spring
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026

Upcoming

Escore Tournament S2: W2
IPSL Spring 2026
Escore Tournament S2: W3
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
RSL Revival: Season 5
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
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.