Obfuscate to avoid cheating and code steal.

Options
Paradoks
Paradoks
edited March 2013 in DotNet
Hi all,

I am trying to use the Darktable's Obfuscarator to obfuscate my webBuild.
I few time ago, i succed to obfuscate a build but the build was so obfuscated that i could not work.
So i tried many ways to improve the template.xml and the Obfuscarator.cs - with no succes.
Even worst, i could not figure out how i made it work the first time ...
Darktable told me on his site that he had no time for support.

When doing my research on obfuscation over the unity forums and answers, i realised that obfuscation was something
requested by the community.
I am making a multiplayer game using a*Path + PhotonCloud, because of the non-server kind of the game, i think that people can cheat easily and ruin the game.
I can imagine also that people dont want to have their code stealed ( me too btw).
So if you feel concerned, feel free to give a little help.

What i got so far:
-the unity package:
https://dl.dropbox.com/u/27431359/Obfus ... itypackage

- the xml template that seems to work for angrybots:
https://gist.github.com/darktable/3942495

- here is the gitHub page:
https://github.com/darktable/Obfuscar

-here are two other ...
https://github.com/AngryAnt/obfuscar
https://github.com/remobjects/Obfuscar

i found that the "combinePath" at line 227:
var frameworksPath = CombinePaths(EditorApplication.applicationContents Path, "Frameworks", "Mono", "lib", "mono", "unity_web");
had to be changed for web build by:
var frameworksPath = CombinePaths(EditorApplication.applicationContents Path, "Mono", "lib", "mono", "unity_web");

also i found that all the DLL detection have to be hardcoded too.

I got not many time, but i will update this topic every time i got something new.

Paradoks
ps: this is a copy topic that i ran on unity forum
pps: if you thing that obfuscation is a waste of time, dont waste your time telling it here please.

Comments

  • Tobias
    Options
    Paradoks: Nice stuff. If you run a Unity-Forum thread, feel free to link to it.