Latest in Gaming

Image credit:

PopCap's addons are obfuscated, Blizzard is OK with that

Mike Schramm
May 4, 2009
Share
Tweet
Share

Sponsored Links

We've posted about both the Bejeweled and the Peggle addons here lots -- we're big fans of PopCap releasing free versions of their games for us to play in Azeroth. But all might not be well in addon land -- a few authors have come to us to point out that PopCap's addons actually contain obfuscated code in them. Obfuscation is a little hard to define -- it's a coding technique that makes code difficult to be read by other programmers, either for purposes of compression or to deliberately hide the code's function or purpose from anyone reading it. Obfuscation is strictly prohibited by Blizzard's addon policy, and so when addon authors dived into PopCap's code and found it obfuscated, they were concerned that PopCap is dodging Blizzard's rules.

We spoke with PopCap about the issue, and they told us that yes, they run a program called luasrcdiet on their code to shrink it down and keep the memory footprint to a minimum. While working on their addons, they were in contact with Blizzard (and showed them the original, non-obfuscated code), and they tell us that Blizzard decided that since the purpose of the obfuscation rule in the policy was to allow the community to police their own addons for bad code (and since Blizzard trusted PopCap, there were no concerns there), then Blizzard was OK with PopCap releasing obfuscated addon code.

So. Has PopCap broken the rules? In the strictest sense, yes -- the rules say no obfuscated code, and PopCap's addons do make things hard to read. But Blizzard, who wrote the rules to begin with, has no problem with making an exception for PopCap, and in doing so, their reasoning seems pretty sound. It doesn't seem fair to make an exception in any case, but we admit, if you're going to make an exception for anyone, you can't go wrong with PopCap. What do you think?





All products recommended by Engadget are selected by our editorial team, independent of our parent company. Some of our stories include affiliate links. If you buy something through one of these links, we may earn an affiliate commission.
Share
Tweet
Share

Popular on Engadget

The 2020 Engadget Holiday Gift Guide

The 2020 Engadget Holiday Gift Guide

View
Curiosity rover finds evidence of ancient megafloods on Mars

Curiosity rover finds evidence of ancient megafloods on Mars

View
Watch a Porsche Taycan break the Guinness World Record for an EV drift

Watch a Porsche Taycan break the Guinness World Record for an EV drift

View
Joe Biden's presidential transition launches with BuildBackBetter.gov

Joe Biden's presidential transition launches with BuildBackBetter.gov

View
How to make sense of Logitech's universal remote lineup

How to make sense of Logitech's universal remote lineup

View

From around the web

Page 1Page 1ear iconeye iconFill 23text filevr