EmuNewz Network
DLC Decryption - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56)
+---- Thread: DLC Decryption (/showthread.php?tid=8134)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


RE: DLC Decryption - sipomisery - 07-10-2012

great work m8, it would be nice if u posted the disgaea 2 dlc you are using after your done, cheers


RE: DLC Decryption - serio - 07-10-2012

won't happen, it'd be as illegal as uploading isos. if you want disgaea 2 dlc, go to psn store and get it from there, then decrypt with npdecrypter plugin.


RE: DLC Decryption - abood555 - 08-24-2012

hey hykem, just a question i'd like to ask... why did you put those codes into your comment? arent they supposed to be "a secret"? and how do you decrypt or crack the encryption of all this stuff? do you use some kind of program? or generate a code or something? please tell me... i am right now learning the python language.. after i am good with it i will switch to java.. and from java to C++. thx
EDIT : oh and will .edat dlc files work on jpcsp after you finish your stuff? if so can u post some kind of tutorial on how to do it? ty Smile


RE: DLC Decryption - serio - 08-24-2012

Quote:arent they supposed to be "a secret"?
not him, but why would it be a secret? jpcsp's an open source emulator, not some secret club.


RE: DLC Decryption - abood555 - 08-24-2012

(08-24-2012, 06:17 PM)serio Wrote:
Quote:arent they supposed to be "a secret"?
not him, but why would it be a secret? jpcsp's an open source emulator, not some secret club.

well emulators takes alot of work.. and i didnt see any .java/main() code files in the jpcsp folder or even any classes/subclasses... (I found some files that end with the .jar extension, but they look like theyre encrypted or protected or something. I tried openning them with Netbeans ide and Notepad ++ but no luck, all of the codes where just jiberish, i wish they were written in Lua or C++, then jpcsp would be more stable)

EDIT: Scratch that reply... i managed to find and open the main jpcsp.jar file with netbeans ide Smile
here is a this memory class i found (*sigh* i wish i knew what does all this mean)
Code:
package jpcsp;

import java.nio.Buffer;
import java.nio.ByteBuffer;
import jpcsp.settings.AbstractBoolSettingsListener;

public abstract class Memory {

    private class IgnoreInvalidMemoryAccessSettingsListerner extends AbstractBoolSettingsListener {

        private IgnoreInvalidMemoryAccessSettingsListerner() {
            //compiled code
            throw new RuntimeException("Compiled Code");
        }

        protected void settingsValueChanged(boolean value) {
            //compiled code
            throw new RuntimeException("Compiled Code");
        }
    }
    public static org.apache.log4j.Logger log;
    private static Memory instance;
    public static boolean useDirectBufferMemory;
    public static boolean useSafeMemory;
    public static boolean useDebuggerMemory;
    public static final int addressMask = 1073741823;
    private boolean ignoreInvalidMemoryAccess;
    protected static final int MEMORY_PAGE_SHIFT = 12;
    protected static boolean[] validMemoryPage;

    public static Memory getInstance() {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    protected Memory() {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public static void setInstance(Memory mem) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public void invalidMemoryAddress(int address, String prefix, int status) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public boolean read32AllowedInvalidAddress(int address) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public abstract void Initialise();

    public abstract int read8(int i);

    public abstract int read16(int i);

    public abstract int read32(int i);

    public abstract void write8(int i, byte b);

    public abstract void write16(int i, short s);

    public abstract void write32(int i, int i1);

    public abstract void memset(int i, byte b, int i1);

    public abstract Buffer getMainMemoryByteBuffer();

    public abstract Buffer getBuffer(int i, int i1);

    public abstract void copyToMemory(int i, ByteBuffer bb, int i1);

    protected abstract void memcpy(int i, int i1, int i2, boolean bln);

    public int strlen(int i) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public static final boolean isAddressGood(int i) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public static final boolean isAddressAlignedTo(int i, int i1) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public static final boolean isRawAddressGood(int i) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public boolean allocate() {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public long read64(int i) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public void write64(int i, long l) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public ByteBuffer readChunkZ(int i) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public ByteBuffer readChunk(int i, int i1) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public void memcpy(int i, int i1, int i2) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public void memmove(int i, int i1, int i2) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public int normalizeAddress(int i) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    protected boolean areOverlapping(int i, int i1, int i2) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public void load(ByteBuffer bb) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public void save(ByteBuffer bb) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    public boolean isIgnoreInvalidMemoryAccess() {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }

    private void setIgnoreInvalidMemoryAccess(boolean bln) {
        //compiled code
        throw new RuntimeException("Compiled Code");
    }
}



RE: DLC Decryption - hyakki - 08-24-2012

Jar files are just compressed zip files if you look at the header in a hex editor you will see it says PK (PKZIP) so you can probably open it in any archive program like winrar.
Jpcsp is open source under the GPL license and nothing is secret, you can access the full source code here.
http://code.google.com/p/jpcsp/source/browse/#svn%2Ftrunk


RE: DLC Decryption - montcer9012 - 08-24-2012

(08-24-2012, 08:40 PM)abood555 Wrote: well emulators takes alot of work.. and i didnt see any .java/main() code files in the jpcsp folder or even any classes/subclasses... (I found some files that end with the .jar extension, but they look like theyre encrypted or protected or something...)

EDIT: Scratch that reply... i managed to find and open the main jpcsp.jar file with netbeans ide Smile
here is a this memory class i found (*sigh* i wish i knew what does all this mean)
The package you download from http://buildbot.orphis.net/jpcsp/ does not contain the right files to be modified because it is the final modified compiled. Edit: Exactly what hyakki says.

As on almost computer languages, JAVA own dedicated extensions of files when a build is being working. When that build is finished it must be exported and the result file is the .jar file (I ignore if JAVA have other files extensions). The files that have the original code are almost on .java and can be edited even with Notepad++.

So, modified an compiled program like an .exe file without the source code is call "reverse engineering" cause you must decompile a file that already has been compiled. When serio told you that jpcsp's an open source emulator he means that the source code of JPCSP is able to be downloaded from web and you can edit all the files. However, without the right knowledge you can't do much even with the .java files.

JPCSP source code files looks like that:
           

And the code looks like that:
   

And the source code can be download from here:
http://jpcsp.googlecode.com/svn/trunk/

Also, gid15 told me that this program called Eclipde does a good work when a modification of the source code is needed and that program also can compiled JPCSP so you can try the modifications made. Can get it here:
http://www.eclipse.org/downloads/


RE: DLC Decryption - abood555 - 08-25-2012

thx for the quick replys, i will definetly take a look at them Smile


RE: DLC Decryption - Shina - 11-13-2012

So, what happened to this?


RE: DLC Decryption - Zekro - 11-13-2012

Right now it doesn't seem to advance due to hykem's dissapearance.We'll have to wait till he comes back