Encrypted files...

Results 1 to 16 of 16
  1. #1
    Account Upgraded | Title Enabled! Wish Q is offline
    MemberRank
    Jul 2012 Join Date
    LiveScoreLocation
    456Posts

    Encrypted files...

    I encrypted .mrs files with gunnycrypt.exe, Now my zpatchbuilder gives me checksum 0 on the .mrs file how to fix this issue?

    Thanks for helping tho.


  2. #2
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Encrypted files...

    Change your PatchBuilder with the one XZeenon released for encrypted files.

  3. #3
    Account Upgraded | Title Enabled! Fur Zi is offline
    MemberRank
    Feb 2012 Join Date
    HellLocation
    279Posts

    Re: Encrypted files...

    Quote Originally Posted by Wish Q View Post
    I encrypted .mrs files with gunnycrypt.exe, Now my zpatchbuilder gives me checksum 0 on the .mrs file how to fix this issue?

    Thanks for helping tho.
    Encrypt your launcher too.

  4. #4
    Account Upgraded | Title Enabled! Wish Q is offline
    MemberRank
    Jul 2012 Join Date
    LiveScoreLocation
    456Posts

    Re: Encrypted files...

    Quote Originally Posted by Sensor View Post
    Change your PatchBuilder with the one XZeenon released for encrypted files.
    It give me CRC error.

    Code:
    16:05:54:505   [ZFileTransfer] Download successfully complete.
    16:05:54:505   [ZUpdate] Successfully download '.\PATCH\system.mrs_'
    16:05:54:505   [ZUpdate] Patch files successfully complete.
    16:05:54:506   [ZUpdate] Move patch files.
    16:05:54:506   [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\system.mrs_'
    16:05:54:506   [ZUpdate] ERROR : Invalid CRC '.\PATCH\system.mrs_'
    16:05:54:506   [ZUpdate] Move patch files successfully complete.
    16:05:54:506   [ZUpdate] ERROR : Cannot move patch files.
    16:05:54:506   [APP] ERROR - Update fail
    16:05:54:506   [APP] Updater error message :
    
    This file is corrupt or missing : '.\PATCH\system.mrs_'
         [Tip] Please check for file authorization
         [Tip] Try delete this file
    This file is corrupt or missing : '.\PATCH\system.mrs_'
         [Tip] Please check for file authorization
         [Tip] Try delete this file
    Invalid CRC from the downloaded patch file. : .\PATCH\system.mrs_
         [Tip] Please check for anti-virus program or firewall running on your system.
    
    16:05:54:506   [App] File transfer error message :
    
    (404) File not found.
    Last edited by Wish Q; 19-06-13 at 04:09 PM.

  5. #5
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Encrypted files...

    Quote Originally Posted by cdrking View Post
    Encrypt your launcher too.
    Dude you dont encrypt your launcher unless you encrypt your source, even then it does it for you. Hes using GunnyCrypt.

  6. #6
    Valued Member aV3PQmCJjM9L is offline
    MemberRank
    Jun 2013 Join Date
    100Posts

    Re: Encrypted files...

    .cml/source/MZip.cpp
    Code:
    ... 
    void ConvertChar(char* pData,int _size)
    {
         if(!pData) return;
    
        for(int i = 0; i < _size; i++)
        {
            unsigned char b = pData[i];
            _asm
            {
                mov al, b
                add al, [Enc code 5]
                xor al, [Enc code 4]
                sub al, [Enc code 3]
                xor al, [Enc code 2]
                rol al, [Enc code 1]
                mov b, al
            }
            pData[i] = b;
        }
    }
    
    void RecoveryChar(char* pData,int _size)
    {
         if(!pData) return;
    
        for(int i = 0; i < _size; i++)
        {
            unsigned char b = pData[i];
            _asm
            {
                mov al, b
                ror al, [Enc code 1]
                xor al, [Enc code 2]
                add al, [Enc code 3]
                xor al, [Enc code 4]
                sub al, [Enc code 5]
                mov b, al
            }
            pData[i] = b;
        }
    }
    ...
    Type your encryption code used in GunnyCrypt.

    For example, if you used/typed encryption code with 1, 3, 6, 9, 15 the result will be :
    Code:
     ---> ConvertChar.
             add al, 15
             xor al, 9
             sub al, 6
             xor al, 3
             rol al, 1
    
     ---> RecoveryChar.
             ror al, 1
             xor al, 3
             add al, 6
             xor al, 9
             sub al, 15
    Now build your ZPatchBuilder and use it.

  7. #7
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Encrypted files...

    Quote Originally Posted by aV3PQmCJjM9L View Post
    .cml/source/MZip.cpp
    Code:
    ... 
    void ConvertChar(char* pData,int _size)
    {
        if(!pData) return;
    
        for(int i = 0; i < _size; i++)
        {
            unsigned char b = pData[i];
            _asm
            {
                mov al, b
                add al, [Enc code 5]
                xor al, [Enc code 4]
                sub al, [Enc code 3]
                xor al, [Enc code 2]
                rol al, [Enc code 1]
                mov b, al
            }
            pData[i] = b;
        }
    }
    
    void RecoveryChar(char* pData,int _size)
    {
        if(!pData) return;
    
        for(int i = 0; i < _size; i++)
        {
            unsigned char b = pData[i];
            _asm
            {
                mov al, b
                ror al, [Enc code 1]
                xor al, [Enc code 2]
                add al, [Enc code 3]
                xor al, [Enc code 4]
                sub al, [Enc code 5]
                mov b, al
            }
            pData[i] = b;
        }
    }
    ...
    Type your encryption code used in GunnyCrypt.

    For example, if you used/typed encryption code with 1, 3, 6, 9, 15 the result will be :
    Code:
     ---> ConvertChar.
             add al, 15
             xor al, 9
             sub al, 6
             xor al, 3
             rol al, 1
    
     ---> RecoveryChar.
             ror al, 1
             xor al, 3
             add al, 6
             xor al, 9
             sub al, 15
    Now build your ZPatchBuilder and use it.
    I did not know you could do that. Thanks, (if it works :P)

  8. #8
    Account Upgraded | Title Enabled! Wish Q is offline
    MemberRank
    Jul 2012 Join Date
    LiveScoreLocation
    456Posts

    Re: Encrypted files...

    Quote Originally Posted by aV3PQmCJjM9L View Post
    .cml/source/MZip.cpp
    Code:
    ... 
    void ConvertChar(char* pData,int _size)
    {
         if(!pData) return;
    
        for(int i = 0; i < _size; i++)
        {
            unsigned char b = pData[i];
            _asm
            {
                mov al, b
                add al, [Enc code 5]
                xor al, [Enc code 4]
                sub al, [Enc code 3]
                xor al, [Enc code 2]
                rol al, [Enc code 1]
                mov b, al
            }
            pData[i] = b;
        }
    }
    
    void RecoveryChar(char* pData,int _size)
    {
         if(!pData) return;
    
        for(int i = 0; i < _size; i++)
        {
            unsigned char b = pData[i];
            _asm
            {
                mov al, b
                ror al, [Enc code 1]
                xor al, [Enc code 2]
                add al, [Enc code 3]
                xor al, [Enc code 4]
                sub al, [Enc code 5]
                mov b, al
            }
            pData[i] = b;
        }
    }
    ...
    Type your encryption code used in GunnyCrypt.

    For example, if you used/typed encryption code with 1, 3, 6, 9, 15 the result will be :
    Code:
     ---> ConvertChar.
             add al, 15
             xor al, 9
             sub al, 6
             xor al, 3
             rol al, 1
    
     ---> RecoveryChar.
             ror al, 1
             xor al, 3
             add al, 6
             xor al, 9
             sub al, 15
    Now build your ZPatchBuilder and use it.



    I have checksum 0 still, It doesn't update files. I added it correct in the source what is wrong?

  9. #9
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Encrypted files...

    Quote Originally Posted by Wish Q View Post
    Thanks this works!

    Other question does it update new files? it gives 0 checksum but the launcher start without any problem.
    Test it. Delete your system.mrs or something and then update.

  10. #10
    Valued Member aV3PQmCJjM9L is offline
    MemberRank
    Jun 2013 Join Date
    100Posts

    Re: Encrypted files...

    Quote Originally Posted by Wish Q View Post
    I have checksum 0 still, It doesn't update files. I added it correct in the source what is wrong?
    Did you remove patch.xml when running ZPatchBuilder.exe? It looks appending patch list and doesn't delete old list.
    Also build your GunzLauncher.exe too. and try it.

  11. #11
    Account Upgraded | Title Enabled! Wish Q is offline
    MemberRank
    Jul 2012 Join Date
    LiveScoreLocation
    456Posts

    Re: Encrypted files...

    Quote Originally Posted by Sensor View Post
    Test it. Delete your system.mrs or something and then update.
    It's fine, Now i get an invalid locale on system.mrs weird.

  12. #12
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Encrypted files...

    locale.xml or make sure ur system.mrs is encrypted.

  13. #13
    Valued Member aV3PQmCJjM9L is offline
    MemberRank
    Jun 2013 Join Date
    100Posts

    Re: Encrypted files...

    Quote Originally Posted by Wish Q View Post
    It's fine, Now i get an invalid locale on system.mrs weird.
    Build your Gunz.exe then. but don't use GunnyCrypt (the MZip.cpp fixes already got what GunnyCrypt does).

  14. #14
    Account Upgraded | Title Enabled! Wish Q is offline
    MemberRank
    Jul 2012 Join Date
    LiveScoreLocation
    456Posts

    Re: Encrypted files...

    Quote Originally Posted by aV3PQmCJjM9L View Post
    Build your Gunz.exe then. but don't use GunnyCrypt (the MZip.cpp fixes already got what GunnyCrypt does).
    I did all 3 of them, It wont start it gives me invalid locale everytime I'll check if every .mrs file is encrypted right.

  15. #15
    Account Upgraded | Title Enabled! Wish Q is offline
    MemberRank
    Jul 2012 Join Date
    LiveScoreLocation
    456Posts

    Re: Encrypted files...

    Quote Originally Posted by aV3PQmCJjM9L View Post
    Build your Gunz.exe then. but don't use GunnyCrypt (the MZip.cpp fixes already got what GunnyCrypt does).
    Thanks it works now, I figured it out what i was doing wrong.
    Wrong codes in cml incorrectly placed.

  16. #16
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Encrypted files...

    Mine works fine, but the launcher doesnt update, it does but it dont move from the PATCH folder so who knows.



Advertisement