[Help] My Online encryption/decryption

Results 1 to 4 of 4
  1. #1
    Account Upgraded | Title Enabled! or30n is offline
    MemberRank
    Jun 2005 Join Date
    731Posts

    [Help] My Online encryption/decryption

    Hello guys,

    Is there someone who can explain about mu online file encryption/decryption .
    Why is important to me?
    So, I start to recreate mu in unity engine using mu client resources. I use a client of season 6 and now i try season15 but I couldn't convert items, players,objects using pentium tool so I start to collect all season 15 client files for lower version as season 6 or decrypted files from others.
    Until now I have create a simple map so I can test move, items and objects but unity doesn't support .map or .att files.
    After a little search I found this https://github.com/Balgas/muonline/t...urces/MuPacket
    So this guy create a little project in unity and he can use .map files and .att using xor keys or what ever it is. If someone download these files there is a mutest.apk for android where maps are original like mu.
    So, my question, is there any way/code of decryption I can use in unity so I can use original .map files from season 6 and if yes, can I use every .map files like this for example http://forum.ragezone.com/f195/relea...p-low-1169369/
    Hope someone can help with this cause to recreate all maps from scratch is a little bit crazy.
    This is the last thing I should solve and after that I will release all test files and source here I rz for everyone who interest to help.

    Thank you


  2. #2

    Re: [Help] My Online encryption/decryption

    i think u must create an encryption which will convert lets say to a new extension example: (.or) so your main.exe must know how to decrypt that .OR first and then it should run the client.

    make code that says when run main.exe convert the specific .map/.obj/ files from .OR to the original extension. So basically you tell the main.exe how to encrypt/decrypt. When main is running it will decrypt the specific files you encrypted in your client with your custom extension .or and then main KNOWS how to decrypt with the command you have to put after main.exe is running.. or else it will try to connect in game but tell you that those files are missing or invalid.

    hope this can give u an idea.

  3. #3
    0x4D696E68 myheart is offline
    MemberRank
    Jun 2017 Join Date
    354Posts

    Re: [Help] My Online encryption/decryption

    example read .map files

    Code:
    void MapFileDecrypt(BYTE* OutBuffer, BYTE* InBuffer, int Size)
    {
        static const BYTE Key[16] = {
      0xD1,0x73,0x52,0xF6,0xD2,
      0x9A,0xCB,0x27,0x3E,0xAF,
      0x59,0x31,0x37,0xB3,0xE7,
      0xA2
        };
    
        BYTE Sub = 0x5E;
    
        for (int n = 0; n < Size; n++)
        {
      OutBuffer[n] = (Key[n % 16] ^ InBuffer[n]) - Sub;
      Sub = InBuffer[n] + 0x3D;
        }
    }
    Code:
    struct MAP_FILE_INFO
    {
        BYTE Head;
        BYTE MapIndex;//1
        BYTE Layer1[65536];//2
        BYTE Layer2[65536];//65538
        BYTE Alpha[65536];//131074 -> float Alpha / 255.0
    };
    Last edited by myheart; 09-12-19 at 09:45 AM.

  4. #4
    Apprentice dusksoft is offline
    MemberRank
    Dec 2017 Join Date
    21Posts

    Re: [Help] My Online encryption/decryption

    Can you give me a detailed example?



Advertisement