Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User iron_man's Avatar
    Join Date
    Feb 2007
    Location
    France
    Posts
    12
    Greeting,

    How can I avoid the power of decompiler? I don't use double in my game, if somebody else wants to get the code, a simplest decompiler can do the job in one second. If I want to sell my game, it shoudn't be an open source.

    I note some commercial game, even the name of class is a, b, c, d..., I guess in the code, it's seam thing.

    Which tool I can use to do it?

    Best regard.

  2. #2
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,413
    The keyword to search for (here or using your favourite Internet search engine) is "obfuscator".

    If you want something more than that, switch to C++ and native code, instead of Java.

  3. #3
    Registered User iron_man's Avatar
    Join Date
    Feb 2007
    Location
    France
    Posts
    12
    cool, thanks!!

  4. #4
    Registered User wzjimmy's Avatar
    Join Date
    Mar 2007
    Posts
    5
    you can use the ProGuard

  5. #5
    Registered User Redwid's Avatar
    Join Date
    Apr 2007
    Posts
    18
    Quote Originally Posted by wzjimmy
    you can use the ProGuard
    or RetroGuard

  6. #6
    Registered User pksm's Avatar
    Join Date
    Feb 2005
    Posts
    10
    ProGuard will solve ur problem easily.

  7. #7
    Registered User srinivasvurrinkala's Avatar
    Join Date
    Apr 2007
    Location
    Hyderabad
    Posts
    21
    yes use the obfuscators as well dont write whole logic in the main MIDLet class
    since thats visible

  8. #8
    Registered User adilb's Avatar
    Join Date
    May 2007
    Posts
    13
    Hi,
    As suggested above by most of them u definetly can use any obfuscator in the market available like proguard,retroguard or any othe rif u like ..all these obfuscators what they do is try and change the function names variable names which are like a_ , abyte0 etc dependin upon there own algoritms...however since there are various types of obfuscators available and each one uses a differnt technique to do this ..it nearly impossible to get back the java code from class files using decompile techniques ...morover u may obsere that the code even won 't compile sometimes after u have decompiled it.. another thing is that decompiler tools like DJ java decompiler what they do is make an approximation of code in the sense most of the time we will se switch in place of the ifelse blocks we had added ...so stop worrying about it and enjoy ur development..however there are always chances that they might be able to figure out some logic from ur code afer long hours of analysis of the decompiled code..thats actually unavoidable

  9. #9
    ProGuard, absolutly.

    but... remember you have to use carefully classforname calls, and sometimes (a few time in my developer career), if your code is too complex (recursive nidifications, long 'if' blocks etc), ProGuard is unable to obfuscate it.

    Alfio

    Lead Programmer
    http://www.javartgames.com

Similar Threads

  1. [Pys60, 3rd Ed.] build problems
    By MHOOO in forum Python
    Replies: 3
    Last Post: 2007-04-09, 19:00
  2. Link errors when trying to Display bitmap
    By Bkc82 in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-01-16, 22:46
  3. Start Java Application C++ code this way it works!
    By timatima in forum Symbian C++
    Replies: 0
    Last Post: 2005-03-30, 12:59
  4. Can we make the Java API to access network parameter?
    By surasaku in forum Mobile Java General
    Replies: 0
    Last Post: 2005-03-22, 11:36
  5. Fixing a bug in an already obfuscated midlet (no source code) ?
    By SPGremlin in forum Mobile Java General
    Replies: 1
    Last Post: 2004-01-12, 21:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved