[GUIDE] How to build Gunz source code

Page 1 of 10 123456789 ... LastLast
Results 1 to 15 of 140
  1. #1
    HeroGamers Developer emisand is offline
    MemberRank
    Mar 2006 Join Date
    UruguayLocation
    330Posts

    [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.
    Last edited by emisand; 20-11-11 at 09:14 AM.


  2. #2

    Re: [GUIDE] How to build Gunz source code

    Thus hell now breaks loose!

  3. #3
    Account Upgraded | Title Enabled! XxLoverxX is offline
    MemberRank
    Oct 2007 Join Date
    w/Charlie SheenLocation
    484Posts

    Re: [GUIDE] How to build Gunz source code

    Quote Originally Posted by GUNZ DEVELOPER View Post
    Thus hell now breaks loose!
    hell wouldn't be so bad atleast the section will liven up.

  4. #4
    Account Upgraded | Title Enabled! TheCodeOfGunz is offline
    MemberRank
    Oct 2010 Join Date
    PhilippinesLocation
    532Posts

    Re: [GUIDE] How to build Gunz source code

    oh you are back idol tyvm!

  5. #5
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: [GUIDE] How to build Gunz source code

    Great tutorial.
    Thread stuck.

  6. #6
    Banned Requnael is offline
    BannedRank
    Apr 2009 Join Date
    EstoniaLocation
    378Posts

    Re: [GUIDE] How to build Gunz source code



    wt?!

  7. #7
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,301Posts

    Re: [GUIDE] How to build Gunz source code

    Thanks for the tutorial.

  8. #8
    Retired. Don't PM. SecretsOThePast is offline
    DeveloperRank
    Jan 2009 Join Date
    643Posts

    Re: [GUIDE] How to build Gunz source code

    Quote Originally Posted by Requnael View Post


    wt?!
    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.

  9. #9
    Dude I'm Tripping Balls theSuperior is offline
    MemberRank
    Mar 2010 Join Date
    CanadaLocation
    287Posts

    Re: [GUIDE] How to build Gunz source code

    emisand, I love you.

  10. #10
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: [GUIDE] How to build Gunz source code

    Thanks But if i have WINDOWS 7 Pro?

  11. #11
    igunz.net Dawson is offline
    LegendRank
    Feb 2010 Join Date
    ::1 (Canada BC)Location
    2,581Posts

    Re: [GUIDE] How to build Gunz source code

    Quote Originally Posted by qet123 View Post
    Thanks But if i have WINDOWS 7 Pro?

    Then do it anyway?

  12. #12
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    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

  13. #13
    igunz.net Dawson is offline
    LegendRank
    Feb 2010 Join Date
    ::1 (Canada BC)Location
    2,581Posts

    Re: [GUIDE] How to build Gunz source code

    Quote Originally Posted by qet123 View Post
    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

    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.

  14. #14
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: [GUIDE] How to build Gunz source code

    Quote Originally Posted by Dawson View Post
    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>

  15. #15
    Die() Secured is offline
    MemberRank
    Sep 2011 Join Date
    /home/SDev/Location
    555Posts

    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.



Page 1 of 10 123456789 ... LastLast

Advertisement