Page 1 of 2 12 LastLast
Results 1 to 20 of 21
Like Tree1Likes

Thread: Projectx-pcode.jar

  1. #1
    Sniper_Fan is offline Member
    Join Date
    Aug 2012
    Posts
    10
    Rep Power
    0

    Question Projectx-pcode.jar

    Hello,
    I'm very new to Java programming... I don't really consider myself even a novice with java. I have managed to open a .JAR file using IZArc and I was MIND BLOWN when I saw the hundreds of documents and what seemed like thousands of files. Of course, this was my first so i do not know if that is a lot for a .JAR file. The files were 99% CLASS files. I opened them in notepad and they contained some kind of script? Part of which I could understand, emphasis on (PART). You see... another part of the CLASS file contained odd characters.... some kind of code I assume. Example: 1 "


    ! ()V <init> ! , * * Y

    |  $ *
    ‹ Œ
    and stuff like that, there were rectangles between some of the empty spaces. I have no idea what language this is, i don't know if it's C/C++, Python...etc I don't know what it is. If anybody understands that, or knows how I can translate it into something humanely understandable, please help me.
    And if you're willing to give 1 on 1 support, you can contact me via email: [Moderator edit: email address removed]
    Last edited by DarrylBurke; 08-01-2012 at 06:49 AM. Reason: Removed email address

  2. #2
    awinston is offline Student
    Join Date
    Jul 2012
    Location
    United States
    Posts
    328
    Rep Power
    3

    Default Re: Projectx-pcode.jar

    I've tested Show My Code a few times, but it does not translate perfectly. You will at least be able to understand it, though.

    There are probably some decompilers that you can download if you search around.

    Edit: Here is a decompiler that even has an Eclipse plug-in.
    Last edited by awinston; 08-01-2012 at 02:07 AM.
    "Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill

  3. #3
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,423
    Rep Power
    25

    Default Re: Projectx-pcode.jar

    Can you contact the author of the class files in the jar file and ask him for a copy of the source files?
    If you don't understand my response, don't ignore it, ask a question.

  4. #4
    noctarius is offline Member
    Join Date
    Jun 2012
    Location
    Remscheid, Germany
    Posts
    61
    Rep Power
    0

    Default Re: Projectx-pcode.jar

    After a little bit of google searching: It seems that the projectx-pcode.jar is taken from the SEGA game Spiral Knight.

    So even if he would know how to use a decompiler (I don't think so according the questions above) I'm pretty sure that the Java classes would be obfuscated.

  5. #5
    Sniper_Fan is offline Member
    Join Date
    Aug 2012
    Posts
    10
    Rep Power
    0

    Default Re: Projectx-pcode.jar

    Quote Originally Posted by noctarius View Post
    After a little bit of google searching: It seems that the projectx-pcode.jar is taken from the SEGA game Spiral Knight.

    So even if he would know how to use a decompiler (I don't think so according the questions above) I'm pretty sure that the Java classes would be obfuscated.
    That is precisely the game. projectx-pcode.jar is an old game patch. What do you mean obfuscated?

  6. #6
    Sniper_Fan is offline Member
    Join Date
    Aug 2012
    Posts
    10
    Rep Power
    0

    Default Re: Projectx-pcode.jar

    Quote Originally Posted by Norm View Post
    Can you contact the author of the class files in the jar file and ask him for a copy of the source files?
    What are the source files for? I thought those were the CLASS files.

  7. #7
    awinston is offline Student
    Join Date
    Jul 2012
    Location
    United States
    Posts
    328
    Rep Power
    3

    Default Re: Projectx-pcode.jar

    The source files are the files with the ".java" extension. This is the high-level code that people actually write when they want to create a program in Java.
    "Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill

  8. #8
    Sniper_Fan is offline Member
    Join Date
    Aug 2012
    Posts
    10
    Rep Power
    0

    Default Re: Projectx-pcode.jar

    Quote Originally Posted by awinston View Post
    The source files are the files with the ".java" extension. This is the high-level code that people actually write when they want to create a program in Java.
    "If there's a will, there's a way" This high-level code must be decodable. If Java is capable of reading these files, it surely can translate them. Perhaps it could put them into binary or Java bytecode and then into something humanly understandable. The problem is: I don't know what the code means. I will look through each and every file, I just need the contents of the file simplified to a level I can understand.

  9. #9
    awinston is offline Student
    Join Date
    Jul 2012
    Location
    United States
    Posts
    328
    Rep Power
    3

    Default Re: Projectx-pcode.jar

    Quote Originally Posted by Sniper_Fan View Post
    "If there's a will, there's a way" This high-level code must be decodable. If Java is capable of reading these files, it surely can translate them. Perhaps it could put them into binary or Java bytecode and then into something humanly understandable. The problem is: I don't know what the code means. I will look through each and every file, I just need the contents of the file simplified to a level I can understand.
    No, you don't need to decode the files that have a ".java" extension. These files are already understandable to a Java programmer. If you have files with the ".class" extension, you can either:

    1. Request the source files (as Norm suggested).

    2. Try out that website that I linked to.

    3. Download a decompiler.
    "Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill

  10. #10
    Sniper_Fan is offline Member
    Join Date
    Aug 2012
    Posts
    10
    Rep Power
    0

    Default Re: Projectx-pcode.jar

    Quote Originally Posted by awinston View Post
    No, you don't need to decode the files that have a ".java" extension. These files are already understandable to a Java programmer. If you have files with the ".class" extension, you can either:

    1. Request the source files (as Norm suggested).

    2. Try out that website that I linked to.

    3. Download a decompiler.
    I have a decompiler; DJ Java Decompiler and IZArc. I thought it was already decompiled... I will try and request the source files, but forums have been down for awhile so can't. I like to keep busy so want to try without asking until forums are up.
    Three Rings : Open Source Software
    That link shows what core libraries and ActionScript libraries they used. How complicated is the Java language? I will learn this language if I know where to learn it. The website didn't help much, maybe I could give you the file and you could take a look at it?

  11. #11
    awinston is offline Student
    Join Date
    Jul 2012
    Location
    United States
    Posts
    328
    Rep Power
    3

    Default Re: Projectx-pcode.jar

    Quote Originally Posted by Sniper_Fan View Post
    I have a decompiler; DJ Java Decompiler and IZArc. I thought it was already decompiled... I will try and request the source files, but forums have been down for awhile so can't. I like to keep busy so want to try without asking until forums are up.
    Three Rings : Open Source Software
    That link shows what core libraries and ActionScript libraries they used. How complicated is the Java language? I will learn this language if I know where to learn it. The website didn't help much, maybe I could give you the file and you could take a look at it?
    What is the extension of the files that you are looking at? If it is ".class", then you will need to decompile them. If it is of ".java", then you do not need to decompile them because these are the source files.

    If you are interested in learning the Java language, The Java Tutorials is a great place to start.
    "Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill

  12. #12
    Sniper_Fan is offline Member
    Join Date
    Aug 2012
    Posts
    10
    Rep Power
    0

    Default Re: Projectx-pcode.jar

    Quote Originally Posted by awinston View Post
    What is the extension of the files that you are looking at? If it is ".class", then you will need to decompile them. If it is of ".java", then you do not need to decompile them because these are the source files.

    If you are interested in learning the Java language, The Java Tutorials is a great place to start.
    It was a .JAR file and I opened it with IZArc and found many CLASS files. How do I decompile the CLASS files? As simplified as possible please.

  13. #13
    awinston is offline Student
    Join Date
    Jul 2012
    Location
    United States
    Posts
    328
    Rep Power
    3

    Default Re: Projectx-pcode.jar

    You said that you have a DJ Java Decompiler, so here is the manual for that.

    Or you could go this this website: Show My Code --- All you have to do here is click "Choose File", find the class file, enter the CAPTCHA letter, and click "Show My Code!"
    "Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill

  14. #14
    Sniper_Fan is offline Member
    Join Date
    Aug 2012
    Posts
    10
    Rep Power
    0

    Default Re: Projectx-pcode.jar

    Quote Originally Posted by awinston View Post
    You said that you have a DJ Java Decompiler, so here is the manual for that.

    Or you could go this this website: Show My Code --- All you have to do here is click "Choose File", find the class file, enter the CAPTCHA letter, and click "Show My Code!"
    I tried using Show My Code but it didn't work; I can't access the CLASS files inside for the JAR file (I'll try again). I'm reading the DJ Java Decompiler guide now.

  15. #15
    awinston is offline Student
    Join Date
    Jul 2012
    Location
    United States
    Posts
    328
    Rep Power
    3

    Default Re: Projectx-pcode.jar

    Directions from DJ Compiler website:
    To decompile a .JAR file select the .JAR file -> In Windows Explorer Right mouse-button click -> pop-up menu "Open with..." -> DJ -> "Archiver" tool -> "Decompile" button. You can also associate .JAR files with DJ Java Decompiler.
    Also, make sure that it is legal to decompile the JAR file. I can't help you out in determining this, but the licensing of the software may have information. I wouldn't know if it is legal or not, but I'm just warning you.
    "Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill

  16. #16
    Sniper_Fan is offline Member
    Join Date
    Aug 2012
    Posts
    10
    Rep Power
    0

    Default Re: Projectx-pcode.jar

    Quote Originally Posted by awinston View Post
    Directions from DJ Compiler website:


    Also, make sure that it is legal to decompile the JAR file. I can't help you out in determining this, but the licensing of the software may have information. I wouldn't know if it is legal or not, but I'm just warning you.
    I have the intention of reverse engineering... which technically violates their user license agreement. But I have no intention of applying this. I'm simply trying to learn and explore. I took up this task as a recreational project, and intend on finishing it and testing it on a test server (client sided= nothing is saved). So it partially violates a part of the license agreement, but never really penetrates it.

  17. #17
    awinston is offline Student
    Join Date
    Jul 2012
    Location
    United States
    Posts
    328
    Rep Power
    3

    Default Re: Projectx-pcode.jar

    Quote Originally Posted by Sniper_Fan View Post
    How complicated is the Java language? I will learn this language if I know where to learn it.
    Quote Originally Posted by Sniper_Fan View Post
    I have the intention of reverse engineering... which technically violates their user license agreement. But I have no intention of applying this. I'm simply trying to learn and explore. I took up this task as a recreational project, and intend on finishing it and testing it on a test server (client sided= nothing is saved). So it partially violates a part of the license agreement, but never really penetrates it.
    Obviously what you do is your choice. However, I strongly suggest that first you learn Java: The Java Tutorials

    This seems like a pretty ambitious recreational project, and I think that there are much better and safer ways to learn and explore (especially for a beginner). Why even make yourself vulnerable to legal consequences when there are plenty of other tutorials and projects that you can make?
    Last edited by awinston; 08-01-2012 at 11:12 PM.
    "Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill

  18. #18
    Sniper_Fan is offline Member
    Join Date
    Aug 2012
    Posts
    10
    Rep Power
    0

    Default Re: Projectx-pcode.jar

    [QUOTE=awinston;296008]Obviously what you do is your choice. However, I strongly suggest that first you learn Java: The Java Tutorials

    This seems like a pretty ambitious recreational project, and I think that there are much better and safer ways to learn and explore (especially for a beginner). Why even make yourself vulnerable to legal consequences when there are plenty of other tutorials and projects that you can make?[/QUO

    I don't know. I want to learn and possibly apply for a job at OOO one day. But I have much to learn... I'm young and I'm trying to learn everything while I'm young; young minds or knowledge sponges. I'm not the kind of person who understands thing mentally, I learn visually much better. That's why i require the hands-on experience. Java is pretty complex from my understanding, and one requires a "teacher" who will be able to answer any question your mind whips up.

  19. #19
    awinston is offline Student
    Join Date
    Jul 2012
    Location
    United States
    Posts
    328
    Rep Power
    3

    Default Re: Projectx-pcode.jar

    Quote Originally Posted by Sniper_Fan View Post
    Quote Originally Posted by awinston View Post
    Obviously what you do is your choice. However, I strongly suggest that first you learn Java: The Java Tutorials

    This seems like a pretty ambitious recreational project, and I think that there are much better and safer ways to learn and explore (especially for a beginner). Why even make yourself vulnerable to legal consequences when there are plenty of other tutorials and projects that you can make?

    I don't know. I want to learn and possibly apply for a job at OOO one day. But I have much to learn... I'm young and I'm trying to learn everything while I'm young; young minds or knowledge sponges. I'm not the kind of person who understands thing mentally, I learn visually much better. That's why i require the hands-on experience. Java is pretty complex from my understanding, and one requires a "teacher" who will be able to answer any question your mind whips up.
    The Java Tutorials are extremely thorough and provide sample programs so that you can visually experience what a program does and then apply the concepts that you learned to your own code. There are even visual indexes for a lot of the concepts.

    You may be extremely gifted and able to learn from reverse engineering, but chances are a proper tutorial is a better educational route. I'm fairly young as well, and I find the combination of tutorials and the volunteers on this forum to be sufficient for my needs.
    Sniper_Fan likes this.
    "Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill

  20. #20
    Sniper_Fan is offline Member
    Join Date
    Aug 2012
    Posts
    10
    Rep Power
    0

    Default Re: Projectx-pcode.jar

    Quote Originally Posted by awinston View Post
    The Java Tutorials are extremely thorough and provide sample programs so that you can visually experience what a program does and then apply the concepts that you learned to your own code. There are even visual indexes for a lot of the concepts.

    You may be extremely gifted and able to learn from reverse engineering, but chances are a proper tutorial is a better educational route. I'm fairly young as well, and I find the combination of tutorials and the volunteers on this forum to be sufficient for my needs.
    Thank you for your help. I look forward to learning all I can! I will most certainly not hesitate to ask if I stumble on something beyond my capabilities.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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