edf or .rdf Decryper

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Dbo Dev Daneos is offline
    MemberRank
    Sep 2009 Join Date
    GermanyLocation
    933Posts

    edf or .rdf Decryper

    Anyone have a working decrypter for the .edf or .rdf files?
    I really need it!


    Greetings
    Last edited by Daneos; 19-06-14 at 08:32 PM.


  2. #2
    AKCore ATIDOT3 is offline
    MemberRank
    Apr 2013 Join Date
    BinaryLocation
    536Posts

    Re: Decryper request

    http://www.dbocom.com/forum/showthread.php?t=30271

    and a tutorial video at the end

  3. #3
    Dbo Dev Daneos is offline
    MemberRank
    Sep 2009 Join Date
    GermanyLocation
    933Posts

    Re: Decryper request

    That one is not working

    - - - Updated - - -

    Also it doesnt really decrypt it.. A working decrypter creates an .xml file out of the .edf file

  4. #4
    Valued Member ihaki is offline
    MemberRank
    Nov 2008 Join Date
    FranceLocation
    144Posts

    Re: Decryper request

    It is working if you download the libraries that come with it, i'll search for the link and post it with credits (i didn't compile that)

  5. #5
    Dbo Dev Daneos is offline
    MemberRank
    Sep 2009 Join Date
    GermanyLocation
    933Posts

    Re: Decryper request

    its not correctly working.. I already tryed. It decrypt but the result is useless..

    read from edf file function I found:

    Code:
    			strFullFileName += ".edf";
    			pszCryptPassword = "KEY_FOR_GAME_DATA_TABLE";
    
    			if ( false == pCall->Call(strFullFileName.c_str(), &serializer, pszCryptPassword) )
    			{
    				return false;
    			}
    
    			int nDataSize = 0;
    			serializer >> nDataSize;
    
    			CNtlFileSerializer dataSerializer;
    			serializer.Out(dataSerializer, nDataSize);
    
    			Ntl_CleanUpHeapString(pchFileName);
    
    			if (false == pTextAllTable->LoadFromBinary( dataSerializer ) )
    			{
    				return false;
    			}
    - - - Updated - - -

    The dbo files are like this:

    xml = not encrypted <----- xml
    .rdf file = encrypted xml file <------- binary
    .edf file = encrypted .rdf file <------- secured binary

    - - - Updated - - -

    anyone have .rdf decrypter?

  6. #6
    Apprentice Hah Phil is offline
    MemberRank
    May 2014 Join Date
    6Posts

    Re: Decryper request

    Quote Originally Posted by Daneos View Post
    its not correctly working.. I already tryed. It decrypt but the result is useless..

    read from edf file function I found:

    Code:
                strFullFileName += ".edf";
                pszCryptPassword = "KEY_FOR_GAME_DATA_TABLE";
    
                if ( false == pCall->Call(strFullFileName.c_str(), &serializer, pszCryptPassword) )
                {
                    return false;
                }
    
                int nDataSize = 0;
                serializer >> nDataSize;
    
                CNtlFileSerializer dataSerializer;
                serializer.Out(dataSerializer, nDataSize);
    
                Ntl_CleanUpHeapString(pchFileName);
    
                if (false == pTextAllTable->LoadFromBinary( dataSerializer ) )
                {
                    return false;
                }
    - - - Updated - - -

    The dbo files are like this:

    xml = not encrypted <----- xml
    .rdf file = encrypted xml file <------- binary
    .edf file = encrypted .rdf file <------- secured binary

    - - - Updated - - -

    anyone have .rdf decrypter?
    The program linked to previously does exactly what you're asking for.

    .rdf = raw data file
    .edf = encrypted data file

    The data in the RDF files is not stored as XML. They're simple binary dumps of all the objects of a certain class. If you follow from the snippet you posted a little deeper, you should find where these classes are defined. From there you can learn how to read the files and, if you really want, convert them into XML.

  7. #7
    Dbo Dev Daneos is offline
    MemberRank
    Sep 2009 Join Date
    GermanyLocation
    933Posts

    Re: edf or .rdf Decryper

    .rdf is NOT a raw data.. .rdf is an encrypted xml file.

  8. #8
    Apprentice Hah Phil is offline
    MemberRank
    May 2014 Join Date
    6Posts

    Re: edf or .rdf Decryper

    It seems there's a tool (MiHaeng4) that converts .xml files into .rdf files, which I'm guessing is where this idea is coming from.

    There's only 3 files I'm aware of that have an .rdf file extension: characterproperty.rdf, itemproperty.rdf, and objectproperty.rdf (all in the prop0.pak file). When you say ".rdf", I'm not sure if you're referring to one of these 3 files, or decrypted .edf files. Technically there's no difference between the two, but if you open up some of the 3 .rdf files I've listed you should find some human readable text, which sorta goes against the idea that they're encrypted.

  9. #9
    Dbo Dev Daneos is offline
    MemberRank
    Sep 2009 Join Date
    GermanyLocation
    933Posts

    Re: edf or .rdf Decryper

    Well..
    xml file -> normal file which the DBO devs edited.
    .rdf file -> encrypted xml file
    .edf file -> encrypted .rdf file

    - - - Updated - - -

    If someone manage to create an .rdf decrypter which have readable .xml output then we can spawn monsters.

  10. #10
    AKCore ATIDOT3 is offline
    MemberRank
    Apr 2013 Join Date
    BinaryLocation
    536Posts

    Re: edf or .rdf Decryper

    don't think this is possible witout the encrypted key.

  11. #11
    Dbo Dev Daneos is offline
    MemberRank
    Sep 2009 Join Date
    GermanyLocation
    933Posts

    Re: edf or .rdf Decryper

    Who says we dont have it?

    !@*&(agebreak

  12. #12
    AKCore ATIDOT3 is offline
    MemberRank
    Apr 2013 Join Date
    BinaryLocation
    536Posts

    Re: edf or .rdf Decryper

    LOOOOL where did u find it xD

  13. #13
    Dbo Dev Daneos is offline
    MemberRank
    Sep 2009 Join Date
    GermanyLocation
    933Posts

    Re: edf or .rdf Decryper

    dboencryption.h

  14. #14
    AKCore ATIDOT3 is offline
    MemberRank
    Apr 2013 Join Date
    BinaryLocation
    536Posts

    Re: edf or .rdf Decryper

    some ppl in this forum should be able to make it with the key i think, some ppl like security ^^.

  15. #15
    Apprentice Hah Phil is offline
    MemberRank
    May 2014 Join Date
    6Posts

    Re: edf or .rdf Decryper

    Again, .rdf files are not .xml files, and they're not encrypted. You read them as binary data. They may or may not start off with some generic file header stuff (can't remember), and after that it's just a binary dump of a bunch of objects.

    The class definition for these objects (which will tell you exactly how to read from the file) is located in the "DboShared\NtlGameTable\" folder. The file you'd be looking for for Monster data is probably MobTable.h. You look in there and you find this:

    Code:
    	DWORD			dwMobGroup;		
    	WORD			wMob_Kind;
    	DWORD			dwDrop_Zenny;
    	float			fDrop_Zenny_Rate;
    	WORD			wExp;
    	BYTE			byGrade;
    	BYTE			byMob_Type;
    	TBLIDX			drop_Item_Tblidx;
    
    
    	bool			bSize;
    	WORD			wTMQPoint;
    	
    	TBLIDX			dropQuestTblidx;
    	TBLIDX			dropTypeTblidx;
    	TBLIDX			dropEachTblidx;
    
    
    	BYTE			byDropTypeRateControl;
    	BYTE			byDropEachRateControl;
    
    
    	BYTE			byDropNItemRateControl;
    	BYTE			byDropSItemRateControl;
    	BYTE			byDropEItemRateControl;
    	BYTE			byDropLItemRateControl;
    
    
    	bool			bShow_Name;
    
    
    	BYTE			byProperty;
    	BYTE			byHtbBlockRate;
    
    
    	WORD			wSightAngle;
    Once you find out where the objects start in the .rdf file, you just start reading data as it's defined above. First up is a DWORD. A DWORD is 4 bytes, so you read 4 bytes from the .rdf file and there you have the MobGroup for that monster, and you just keep going from there for all of the variables. Keep in mind that .rdf files use little endian encoding, so if you try to read a few of these by hand to verify, the variables will appear to be backwards.



Page 1 of 2 12 LastLast

Advertisement