Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

New mrs + exe

Experienced Elementalist
Joined
May 12, 2014
Messages
260
Reaction score
61
I do not know what to say
You need VS2013 to compile

This code has edit to change the Encrypt code
dllmain.cpp
Code:
const unsigned char XOR[16] ={0x57, 0x03, 0x7B, 0x04, 0x34, 0x06, 0x01,0x08, 0x37, 0x0A, 0x12, 0x69, 0x41, 0x38,0x0F, 0x74};



SRC > CML > MZIP.cpp
Code:
const unsigned char XOR[16] =
{
    0x57, 0x02, 0x5B, 0x04, 0x34, 0x06, 0x01,
    0x08, 0x37, 0x0A, 0x12, 0x69, 0x41, 0x38,
    0x0F, 0x78
};
//
void RecoveryChar(char* pData, int _size)
{

    if (!pData) return;
    
    for (int i = 0; i < _size; i++)
    {
        BYTE x = pData[i];
  


      
        for (int o = 0; o < 16; o++)
        {
            x = x ^ XOR[o % (sizeof(XOR) / sizeof(char))];
        }
        pData[i] = x;
    
    }


}


void ConvertChar(char* pData, int _size)
{
    if (!pData) return;
    WORD w;
    BYTE b, bh;
    for (int i = 0; i<_size; i++) {
        b = *pData ^ 0xFF;
        w = b << 3;
        bh = (w & 0xff00) >> 8;
        b = w & 0xff;
        *pData = BYTE(b | bh);
        pData++;


    }
}


 
Last edited:
Newbie Spellweaver
Joined
Nov 25, 2016
Messages
69
Reaction score
0
I do not understand what I have to do with the files, someone explains to me please
 
Junior Spellweaver
Joined
Feb 22, 2011
Messages
114
Reaction score
6
how it works? i dont understand can someone help me how it works? when i change my mzip.cpp to my source and rebuild it my Gunz.exe doesn't work

check my mlog

GUNZ 1,0,0,290 launched. build (Apr 18 2020 18:06:12)
Log time (04/18/20 18:13:05)
CPU ID = GenuineIntel ( family = 518 , model = 10 , stepping = 7 ) @ 2494 MHz
Display Device = Intel(R) HD Graphics 3000 ( vendor=8086 device=126 subsys=c606144d revision=9 )
Display Driver Version = 9.17.0010.4229
Windows = 6.2 Build 9200 , (2097151KB) : ..
Cannot open system/locale.xml file.
Error!! - StringTable Initalize Failed
Cannot open (null) file.
Invalid Locale
 
Newbie Spellweaver
Joined
Aug 22, 2016
Messages
73
Reaction score
22
Well, i think u downloaded the files he released?
Unpack that rar file into a folder named: GunZ_Encryption or something.

In there you see these files:

1. CustomCrypt (Source Folder)
2. CustomCrypt.dll
3. Fantasyparket.exe
4. Parket.bat
5. unparket.bat

If you use the same encryption key he released then drag your decompiled folders into the folder you made and click on parket.bat.
It will open a command prompt, then it will ask u to insert the decompiled folder name.

If you've done that right it will compile without any errors and you should see something like: System.nxs

If you want to change .nxs to .mrs, hexedit the fantasyparket.exe and change nxs to mrs
Goodluck and let us know if it worked!
Feel free to ask any question!
 
Last edited:
Newbie Spellweaver
Joined
Sep 3, 2017
Messages
11
Reaction score
2
what is Fantasyparket.exe?
Why would anyone run random exes?
Does anyone has a link to the src for this?
Also the method used to XOR in the dll is super inefficient, could be done in n XOR operations instead of n* num_of_bytes_in_key XOR operations, not that XOR is very secure anyway.
 
Banned
Banned
Joined
Jun 26, 2012
Messages
254
Reaction score
10
what is Fantasyparket.exe?
Why would anyone run random exes?
Does anyone has a link to the src for this?
Also the method used to XOR in the dll is super inefficient, could be done in n XOR operations instead of n* num_of_bytes_in_key XOR operations, not that XOR is very secure anyway.
How strange, if you know about the subject you should know how to develop your own.
 
Be a kicker than cheater.
Joined
Dec 17, 2009
Messages
733
Reaction score
26
damn, maybe, I went a total of 40 hours since year 2020 just to have a custom encrypted runnable after built...
Studying and adding mlog today and yesterday just to get how to make a own encrypted after build.

Thanks, NesuxGxx
 
Junior Spellweaver
Joined
Apr 23, 2021
Messages
100
Reaction score
9
damn, maybe, I went a total of 40 hours since year 2020 just to have a custom encrypted runnable after built...
Studying and adding mlog today and yesterday just to get how to make a own encrypted after build.

Thanks, NesuxGxx

DO NOT base your studies as a coder on gunz source. it's just a mess, which would make real coders avoid getting involved(as they have avoided, by breaking away from incorporating it into their games.
), and coders who say that trying to understand it would make them more stupid.


Rather use this source, it's coder from Finland, who made game based on 90s duke nukem 3d engine, and released his game 2019 what was released on steam even its single player. and costs 20 bucks.

Ion Fury:
 
Last edited:
Back
Top