Difference between revisions of "Map Obfuscation"

From HIVE
Jump to navigation Jump to search
(Created page with "Map Obfuscation is a method in which you make it hard for people who open your map to understand what everything is and does. Generally, this is in an attempt to make your map mo...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
== Manual Obfuscation ==
 
== Manual Obfuscation ==
 
Manual obfuscation is basically manually making variable names, object names, unit names, etc. hard to understand, either by typing random letters (dgfgsdgergsdgd) for each name, or unexplanatory names (v1, v2, v3, v4 etc.). While it may take some time, this method is quite solid.
 
Manual obfuscation is basically manually making variable names, object names, unit names, etc. hard to understand, either by typing random letters (dgfgsdgergsdgd) for each name, or unexplanatory names (v1, v2, v3, v4 etc.). While it may take some time, this method is quite solid.
 +
 +
=== Small example ===
 +
Rodrigo, the maker of Nexus Word War and Debates, has been using quite a clever method to protect its [[Banks|SC2Bank]] files: he mixes lower-case 'L', capital 'i', and possibly the character '|' (to verify), to protect his banks.
 +
 +
For example, try to determine the difference between: llIIlIlll and IlIIllllI. It is pretty hard, indeed. Of course, you could start copy-pasting every single code in a text-editor program and change their font, but you are kind of forced to admit it could discourage quite a few people.
  
 
== Program Obfuscation ==
 
== Program Obfuscation ==
You can use programs to automatically obfuscate your map data. Currently only one exists: [[http://www.sc2mapster.com/assets/map-obfuscation/| StragusMapster's Data Obfuscation Tool]].
+
You can use programs to automatically obfuscate your map data. Currently only one exists: [http://www.sc2mapster.com/assets/map-obfuscation/ StragusMapster's Data Obfuscation Tool].
  
 
[[Category:StarCraft II]][[Category:Reference]][[Category:Stubs]]
 
[[Category:StarCraft II]][[Category:Reference]][[Category:Stubs]]

Latest revision as of 05:20, 16 May 2011

Map Obfuscation is a method in which you make it hard for people who open your map to understand what everything is and does. Generally, this is in an attempt to make your map more Closed Source, rather than Open Source (See Open Source and Closed Source. Note: Don't obfuscate your version of the map that you edit, or you'll end up being really confused. Alternatively, write in a text file what each changed name means, and refer to that.

Manual Obfuscation

Manual obfuscation is basically manually making variable names, object names, unit names, etc. hard to understand, either by typing random letters (dgfgsdgergsdgd) for each name, or unexplanatory names (v1, v2, v3, v4 etc.). While it may take some time, this method is quite solid.

Small example

Rodrigo, the maker of Nexus Word War and Debates, has been using quite a clever method to protect its SC2Bank files: he mixes lower-case 'L', capital 'i', and possibly the character '|' (to verify), to protect his banks.

For example, try to determine the difference between: llIIlIlll and IlIIllllI. It is pretty hard, indeed. Of course, you could start copy-pasting every single code in a text-editor program and change their font, but you are kind of forced to admit it could discourage quite a few people.

Program Obfuscation

You can use programs to automatically obfuscate your map data. Currently only one exists: StragusMapster's Data Obfuscation Tool.