[GUIDE] How to build Gunz source code
Hello,
As Gunz source code got recently released by Dawson, I am making a simple guide that explains how to build the Gunz solution.
Prerequisites:
- Microsoft Windows XP SP3 Professional
- Microsoft Visual Studio 2003 including Visual C++
Procedure:
1- Download Gunz source code from Dawson's post here: http://forum.ragezone.com/f245/gunz-...2011-a-796257/
2- Create a folder called Gunz
3- Inside that folder extract the Gunz source code package from Dawson. So you will have a Gunz/Stable folder
4- Create a folder called sdk inside Gunz folder.
5- Create a folder called crypto inside the sdk folder you created.
You will have this file structure:
./Gunz/Stable
./Gunz/sdk/crypto
6- Download Crypto++ 5.2.3 Win32 from here: Download Crypto++ from SourceForge.net
7- Extract crypto++ into a folder called Cryptopp (outside Gunz folder)
8- Copy the contents of the Cryptopp/Include folder inside the following folders:
Cryptopp/Source
Gunz/sdk/crypto
9- Open the Cryptopp project located at Cryptopp/Source/cryptlib.vcproj
10- Build that project both in Debug and Release profiles
11- Rename Cryptopp/Source/Debug/cryptlib.lib to cryptlib2003d.lib
12- Rename Cryptopp/Source/Release/cryptlib.lib to cryptlib2003.lib
13- Copy cryptlib2003d.lib and cryptopp.lib to the following directories:
Gunz/Stable/cml/lib
Gunz/Stable/Gunz/LIB
NOTE: You may need to copy this .lib files into some other folders if you want to build MatchServer, Locator or some other solutions.
14- Open Gunz solution located at Gunz/Stable/Gunz/Gunz.sln
15- In the Gunz project, open the file Gunz/Game/ZGlobal.cpp
Replace the line: #include "SVNRevision/SVNRevision.cpp"
With: //#include "SVNRevision/SVNRevision.cpp"
Replace the line: return GlobalGetSVNRevision();
With: return 0;
16- Edit the file located at Gunz/Stable/Gunz/Gunz.rc
Find:
Code:
MANIFEST_RESOURCE_ID RT_MANIFEST "Runtime/Gunz.exe.manifest"
Replace it with:
Code:
// MANIFEST_RESOURCE_ID RT_MANIFEST "Runtime/Gunz.exe.manifest"
Save that file.
17- Now you should be able to Build Gunz in Debug or Release modes. The compiled files are saved at Gunz/Stable/Gunz/runtime folder.
If you have any trouble building Gunz, I won't give any further support, you should be able to solve it by yourself.
If you can't solve it, then it's useless for you to use Gunz source code.
DISCLAMER
THIS THREAD IS JUST FOR EDUCATIONAL PURPOSES.
YOU MUST NOT USE GUNZ SOURCE CODE OR ANY OTHER INTELLECTUAL PROPERTY FROM MAIET WITHOUT THEIR AUTHORIZATION.
Re: [GUIDE] How to build Gunz source code
Thus hell now breaks loose!
Re: [GUIDE] How to build Gunz source code
Quote:
Originally Posted by
GUNZ DEVELOPER
Thus hell now breaks loose!
hell wouldn't be so bad atleast the section will liven up.
Re: [GUIDE] How to build Gunz source code
oh you are back idol tyvm!
Re: [GUIDE] How to build Gunz source code
Great tutorial.
Thread stuck.
Re: [GUIDE] How to build Gunz source code
Re: [GUIDE] How to build Gunz source code
Re: [GUIDE] How to build Gunz source code
Quote:
Originally Posted by
Requnael
You're trying to debug a DLL. I don't know if I can help you, but:
Build it as a lib, and point the lib to your lib path within GunZ. Make sure you are compiling in 'debug configuration' for both of them since your cryptopp lib seems to be a debug version.
Alternatively, for lesser exe size, remove cryptopp as most of you won't be using mef anyways.
Re: [GUIDE] How to build Gunz source code
Re: [GUIDE] How to build Gunz source code
Thanks But if i have WINDOWS 7 Pro?
Re: [GUIDE] How to build Gunz source code
Quote:
Originally Posted by
qet123
Thanks But if i have WINDOWS 7 Pro?
Then do it anyway?
Re: [GUIDE] How to build Gunz source code
Download: Windows® Server 2003 R2 Platform SDK Full Download - Microsoft Download Center - Download Details
This may be useful :)
1>c:\program files\microsoft sdks\windows\v7.0a\include\afxwin.h(63): fatal error C1083: Cannot open include file: 'CPoint.h': No such file or directory
Re: [GUIDE] How to build Gunz source code
Quote:
Originally Posted by
qet123
That's really not useful at all... you should have afxwin.h if you've ever installed any microsoft extra packs. afxwin is I believe either part of MFC or internet explorer. Not to be an ass but can you change your title and signature, it annoys me every time you post.
Re: [GUIDE] How to build Gunz source code
Quote:
Originally Posted by
Dawson
That's really not useful at all... you should have afxwin.h if you've ever installed any microsoft extra packs. afxwin is I believe either part of MFC or internet explorer. Not to be an ass but can you change your title and signature, it annoys me every time you post.
i already have afxwin.h but i don't have what he include:
Code:
#include <ofcglobals.h>
#include <CPoint.h>
#include <CSize.h>
#include <CRect.h>
#include <CString.h>
#include <CString_inline.h>
#include <CObject.h>
#include <CException.h>
#include <CFile.h>
#include <CArchive.h>
#include <CArchive_inline.h>
#include <CObjFromHandle.h>
#include <CGdiObject.h>
#include <CGdiObject_inline.h>
#include <CCmdUI.h>
#include <CCmdTarget.h>
#include <CCmdTarget_inline.h>
#include <CWnd.h>
#include <CWnd_inline.h>
#include <CDocument.h>
#include <CDocument_inline.h>
#include <CDocTemplate.h>
#include <CDocTemplate_inline.h>
#include <CView.h>
#include <CView_inline.h>
#include <CFrameWnd.h>
#include <CFrameWnd_inline.h>
Re: [GUIDE] How to build Gunz source code
I found a friend with vs c++ 2003 disk.
I compiled client after a while of work and like 5 other developers.