wc3edit.net

United Warcraft 3 map hacking!
It is currently March 29th, 2024, 6:13 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Jass Obsfucation
PostPosted: November 3rd, 2007, 6:00 am 
Offline
Newcomer

Joined: September 19th, 2007, 3:45 am
Posts: 11
I was wondering about the general mechanics of obsfucation of Jass. I tried deprotecting DotA 6.49b, and saw in http://forum.wc3edit.net/viewtopic.php?f=3&t=2522 this topic that the weirdly structured code and function names were due to optimization. Is that what obsfucated code looks like? And is there a way to undo it (besides manually) to make reading clearer?

Object Ids aren't really a problem with the program JJ posted in the thread I linked to, but I was wondering if there was an easier way. Will obsfucation affect custom objects/imported files as well?

Also, how is obsfucation done anyway? I'm quite new to this, and I'm just wondering about all these things. I'm trying to add cheats or anything; it's just this funny general-knowledge-thing I have.


Top
 Profile  
 
 Post subject: Re: Jass Obsfucation
PostPosted: November 3rd, 2007, 6:49 am 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
wc3mapoptimizer4.5 - Vexorians optimizer is how its done..

the rest of the questions... don't really need answering from me


Top
 Profile  
 
 Post subject: Re: Jass Obsfucation
PostPosted: November 3rd, 2007, 4:06 pm 
Offline
Old Wrinkly Member
User avatar

Joined: January 27th, 2007, 4:46 pm
Posts: 272
Location: Denver, Colorado
Title: OxyContin
Obfuscated code looks like what is going on in notepad in this picture:
Image

You can unobfuscate it by just copying it all and then pasting it into JassCraft. Obfuscation won't mess up anything, it just makes it hard for humans to read. Same with the functions; they are named things like lolololololo to make them hard to read too. You can read more about it here: http://en.wikipedia.org/wiki/Obfuscated_code.

_________________
You know why the Yankees always win, Frank?
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 29 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)