[TUT][1.5]Fix all GunZ Runnable Errors

Status
Not open for further replies.
Junior Spellweaver
Joined
Apr 28, 2012
Messages
114
Reaction score
22
Hello Everybody,

I'm going to start this because i see that much people have problems with set up a proper Gunz Source.
First of all you have to know that everything is almost in the Runnable(Gunz.exe). You have to put all your custom stuff in this.


1) Set up your runnable.
Code:
    - Download the Gunz Source here:
    http://forum.ragezone.com/f245/gunz-1-5-summer-2011-a-796257/
     
    - Follow this TUT for cryptopp
    http://forum.ragezone.com/f497/guide-build-gunz-source-code-796269/
     
    After you're done with everything
    - Start your GunZ Source ('/Gunz/Gunz.sln')
     
    - Build GunZ in KOR_Release_Publish
    [URL=http://imageshack.us/photo/my-images/585/lolxp.png/][IMG]https://forum.ragezone.com/images/404_image.png[/IMG][/URL]
     
    - Go to your client and then decompile system.mrs.
    Then go to locale.xml
    crtl + h USA to KOR

2) Remove .MEF
Code:
    - Crtl + H   += ".mef" to += ""
    - Crtl + H   xml.mef to xml

3) Fix the Netmarble Certification
Code:
    - Crtl + F type Netmarble Certification
    You see return false; under that, replace it with return true;

4) Remove XTrap
Code:
    - Project -> Gunz Properties -> C/C++ -> Preprocessor -> Remove _XTRAP from that first line

5) Enable GunZ Login Labels
Code:
- Find
#if defined(_DEBUG)	|| defined(_RELEASE)
ShowWidget("Login_Logo", false);
ShowWidget("Label_ID", false);
ShowWidget("LoginID", false);
ShowWidget("Label_Password", false);
ShowWidget("LoginPassword", false);
#else
ShowWidget("Login_Logo", false);
ShowWidget("Label_ID", false);
ShowWidget("LoginID", false);
ShowWidget("Label_Password", false);
ShowWidget("LoginPassword", false);
ShowWidget("LabelServerIP", false);
ShowWidget("ServerAddress", false);
ShowWidget("ServerPort", false);

- Replace with:
#if defined(_DEBUG)	|| defined(_RELEASE)
ShowWidget("Login_Logo", false);
ShowWidget("Label_ID", true);
ShowWidget("LoginID", true);
ShowWidget("Label_Password", true);
ShowWidget("LoginPassword", true);
#else
ShowWidget("Login_Logo", false);
ShowWidget("Label_ID", true);
ShowWidget("LoginID", true);
ShowWidget("Label_Password", true);
ShowWidget("LoginPassword", true);
ShowWidget("LabelServerIP", false);
ShowWidget("ServerAddress", false);
ShowWidget("ServerPort", false);

6) Delete korean text at loading screen
Code:
    - Crtl + F   sprintf( m_szNotice, "??½?°£?? °??? ??¿??÷ °?°­?» ???¥ ¼? ??½?´?´?.");
     
    You see:       
    if ( (rand() % 2) == 0)
    sprintf( m_szNotice, "??½?°£?? °??? ??¿??÷ °?°­?» ???¥ ¼? ??½?´?´?.");
    else
    sprintf( m_szNotice, "°?÷?¿? ??¿¡ ??½??? ??¿???µ???, °??? ??¿?¿¡µµ ?????? ??½??? ??¿? ??´?´?.");
     
    Uncomment it:
    /*
    if ( (rand() % 2) == 0)
    sprintf( m_szNotice, "??½?°£?? °??? ??¿??÷ °?°­?» ???¥ ¼? ??½?´?´?.");
    else
    sprintf( m_szNotice, "°?÷?¿? ??¿¡ ??½??? ??¿???µ???, °??? ??¿?¿¡µµ ?????? ??½??? ??¿? ??´?´?.");
    */



--
Support will be given

PM me for contact.

I'm not supporting for a whole new source to create but only for small fixes.

Credits:
- iDelta(Writing this tutorial)
- Vusion(for teaching me stuff)
 
Last edited:
hi sir delta i followed your tutorial but i got lots of errors and warnings i dont know to fix it. can you please help me? i cant fix it my self
 
While this tutorial, but lacking for the quest and survival worked, are disabled when compiling.
 
Hi, i got this error i tried to look for the directory i dont have that lib file. please help. "LINK : fatal error LNK1181: cannot open input file '\Documents and Settings\Administrator\Desktop\Gunz Source Project\Gunz\Stable\cml\lib\cmld.lib'"

i also got this problem sir

"MRsaEncrypt.cpp
c:\Documents and Settings\Administrator\Desktop\Gunz Source Project\Gunz\Stable\cml\source\MRsaEncrypt.cpp(6) : fatal error C1083: Cannot open include file: 'rsa.h': No such file or directory"

Help sir please. i tried to search the file on google. i didnt find it.
 
This is the files i needed to build cml,

#include "rsa.h"
#include "randpool.h"
#include "gzip.h"
#include "hex.h"
#include "files.h"

Can anyone answer on how to get that please

EDIT: OH I GOT IT I FORGOT TO PUT sdk folder inside Gunz and put the contents of Include from cryptopp.

I got another problem, and i guess this is the last problem,

"fatal error C1083: Cannot open compiler intermediate file: 'f:\cryptopp\source\release\cryptlib.pch': Permission denied
LINK : fatal error LNK1257: code generation failed"

Please help! :<
 
Last edited:
This is the files i needed to build cml,

#include "rsa.h"
#include "randpool.h"
#include "gzip.h"
#include "hex.h"
#include "files.h"

Can anyone answer on how to get that please

EDIT: OH I GOT IT I FORGOT TO PUT sdk folder inside Gunz and put the contents of Include from cryptopp.

I got another problem, and i guess this is the last problem,

"fatal error C1083: Cannot open compiler intermediate file: 'f:\cryptopp\source\release\cryptlib.pch': Permission denied
LINK : fatal error LNK1257: code generation failed"

Please help! :<
You didn't done cryptopp good or you have to rebuild it.
Don't delete the cryptopp folder and let it be on the same directovery!
 
i will try to rebuild the crypto

i didnt delete any of the folders files. but okay i will try what you said.

Using vs2003 Pro is okay? or it really should be enterprise?
 
Help-me

MLOG
Code:
GUNZ 1,0,0,290 launched. build (Jul 13 2012 14:00:46) 
Log time (07/13/12 14:02:26)
CPU ID = GenuineIntel ( family = 262 , model = 7 , stepping = 10 ) @ 2599 MHz
Display Device = Intel(R) G33/G31 Express Chipset Family ( vendor=8086 device=29c2 subsys=2a78103c revision=10 )
Display Driver Version = 6.14.0010.5218
Windows = 5.1 Build 2600 , Service Pack 3 (2097151KB) :  Windows xp..
Cannot open system/locale.xml file.
Error!! - StringTable Initalize Failed
Cannot open (null) file.
Invalid Locale
 
Help-me

MLOG
Code:
GUNZ 1,0,0,290 launched. build (Jul 13 2012 14:00:46) 
Log time (07/13/12 14:02:26)
CPU ID = GenuineIntel ( family = 262 , model = 7 , stepping = 10 ) @ 2599 MHz
Display Device = Intel(R) G33/G31 Express Chipset Family ( vendor=8086 device=29c2 subsys=2a78103c revision=10 )
Display Driver Version = 6.14.0010.5218
Windows = 5.1 Build 2600 , Service Pack 3 (2097151KB) :  Windows xp..
Cannot open system/locale.xml file.
Error!! - StringTable Initalize Failed
Cannot open (null) file.
Invalid Locale
me too have the same error
 
Status
Not open for further replies.
Back