Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jan 2008
    Location
    Winnipeg, Canada
    Posts
    13
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Converting code back to normal

    I have a .class file that is in some weird code but its fully functional.
    When i try to copy or paste the code out of textpad it says something like "cannot cut, copy, drag and drop code null(code = 0). How do i get this code back to regular syntax?

  • #2
    New Coder
    Join Date
    Jan 2008
    Location
    Winnipeg, Canada
    Posts
    13
    Thanks
    4
    Thanked 0 Times in 0 Posts
    never mind i download the project DJ Java and Cavaj which are decompilers. It transfered my code back to normal format except randomly generated varibale names and some method names. Anyways its all good!

  • #3
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    try using jad thats pretty simple to use and can run from the command line
    You never have to change anything you got up in the middle of the night to write. -- Saul Bellow

  • #4
    New Coder
    Join Date
    Sep 2006
    Posts
    92
    Thanks
    4
    Thanked 1 Time in 1 Post
    Is there a way to prevent this from being possible?
    I am working on a client version for the game I have coded and was considering Java.
    But am not too keen on handing a client version out to see it get decompiled, manipulated and so on by anyone that gets their hands on it.
    Nemesis War
    Online browser based space combat game.
    It's free, it's great, you'll love it.
    Come join us at http://www.nemesiswar.net/


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •