Skip to Content

WoW.com has the latest on the upcoming WoW: Cataclysm expansion!
Joystiq

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

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?

Filed under: Patches, Analysis / Opinion, Fan stuff, Odds and ends, Blizzard

Subscribe to these comments

Reader Comments (Page 1 of 4)

Add your comments

Please keep your comments relevant to this blog entry. Email addresses are never displayed, but they are required to confirm your comments.

When you enter your name and email address, you'll be sent a link to confirm your comment, and a password. To leave another comment, just use that password.

To create a live link, simply type the URL (including http://) or email address and we will make it a live link for you. You can put up to 3 URLs in your comments. Line breaks and paragraphs are automatically converted — no need to use <p> or <br /> tags.

Around Azeroth

Around Azeroth

Featured Galleries

Plushies in the Wild
Plushies in Captivity
Rob Pardo @ GDC: Making A Standard and Sticking To It
Gryphon Hatchling and Wind Rider Cub plushies
GM Island and the Player Jail
Patch 3.3.3 PTR: PvP Legacy Armor, Weapons and Mount Changes
Patch 3.3.3 PTR: New toys
Cataclysm models and doodads
Patch 3.3.3: New models

 

Categories