obfuscate files missing on 3.0 beta

obfuscate files missing on 3.0 beta
0.0 0


I was using the js bindings on 2.x and today updated to 3.0beta.
It seems that ‘obfuscate_exclude_cocos2d.js’ and ‘obfuscate_exclude_chipmunk.js’ are missing from 3.0beta.
The file tools/closure-compiler/template.xml still references these files so I don’t know whether they are not required anymore and template.xml must be corrected or they are still required but missing from the 3.0beta.

Any hints?


Same for me, i get the following error

ant buildfile obfuscate.xml
Buildfile: /Users/macuser/SDK/cocos2d-x-3.0alpha1/projects/game/obfuscate.xml
Compiling 19 file with 42 extern
Cannot read: /Users/macuser/SDK/cocos2d-x-3.0alpha1/scripting/javascript/bindings/obfuscate/obfuscate_exclude_cocos2d.js
[jscomp] 1 error(s), 0 warning(s)
/Users/macuser/SDK/cocos2d-x-3.0alpha1/projects/game/obfuscate.xml:10: Compilation failed.


For JSB solutions, you should try convert everything to JSC or bytecode medium

it is more secure than obfuscated code, as it is irreversible, and faster than obfuscated code.

it also works 100% of the time, unlike obfuscation, which you must follow their rules


how do you do that, is there a tutorial on it ?


use this tool