Code Monkey home page Code Monkey logo

ogz-source's Introduction

Open GunZ Source

This is the Open GunZ (GunZ The Duel game) source repo. It was forked from the Refined GunZ source (https://github.com/Asunaya/RefinedGunz) and updated by the International GunZ (http://igunz.net) private server developers.

Building the source for the first time

Windows:

Requisites:

  • GCC x64 Windows: http://tdm-gcc.tdragon.net/download

  • CMake 3.7 or later: Download the latest release from https://cmake.org/download/ under "Binary distributions." In the installer, select "Add CMake to the system PATH for all users". Picture here.

  • Install Visual Studio 2019 Community edition (https://visualstudio.microsoft.com/downloads/)

    • In the installer, select the Desktop development with C++

    • Under Installation details on the right, select the following option: C++ MFC for latest v142 build tools (x86 & x64)

    • Select Individual components on the top bar and search for C++ Windows XP Support for VS 2017 (v141) tools [Depreciated]

  • OPENSSL: Download and install in C:\OpenSSL-Win32 from here

    • For "copy OpenSSL DLLs to" prompt, choose "The Windows system directory".
    • Next download vs2017 OpenSSL files from here
    • Delete everything in C:\OpenSSL-Win32 and replace it with the vs2017 files.
  • Zlib Download: From here and extract that on your system C:\Program Files (x86)\zlib.

To build, run build-win32-VS2019.bat in source folder. Wait until it says "Build succeeded" with possibly some warnings in yellow. The built files can be found in ogz-source\build\win32 and ogz-source\install.

Optional: Removing warning MSB8051 during build process

Warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio.

To disable the warning open
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets

Replace: <VCMessage Code="MSB8051" Type="Warning" Condition="'$(XPDeprecationWarning)' != 'false'" />
With: <VCMessage Code="MSB8051" Type="Warning" Condition="'$(XPDeprecationWarning)' == 'false'" />

Linux:

Requisites:

  • Install the following packages:
    • sudo apt install cmake
    • sudo apt install zlib1g-dev
    • sudo apt install build-essential checkinstall zlib1g-dev -y
    • sudo apt-get install -y libsodium-dev
    • apt-get install libssl-dev
    • sudo apt-get install libsqlite3-dev
    • sudo apt-get install libasio-dev
    • sudo apt-get install libcurl4-openssl-dev
    • sudo apt-get install libsystemd-dev

To build, run build-linux.sh in source folder.

If you are using Windows Subsystem for Linux, and the source is somwhere in /mnt/c, during compilation you might get messages saying that some packages are missing. But, if everything is set correctly it should still compile fine. To avoid these messages all together, compile from somwhere in the Windows Subsystem for Linux for example: /opt/igunz/source

Launching local test client for the first time

Requisites:

  • Download the server and client files.
  • Replace the GunZ.exe and MatchServer.exe in their respective client/server folders, you can either build them yourself as described above or download the executables here
  • Change IP to 127.0.0.1 in config file --> C:\Users\[username]\Documents\Open GunZ\config.xml.
  • In the server folder, make sure server.ini has these values:
    • FREELOGINIP, KEEPERIP, DBAgentIP set to 127.0.0.1.
  • Launch MatchServer.exe from the server folder.
  • Run GunZ.exe from client folder (DO NOT USE Launcher.exe as it will downgrade to what is placed on the website for patching).
  • You can also run GunZ.exe on Linux using Wine. Currently everything seems to work, but text rendering is broken and text is unreadable.
  • Register a test account within the client and login.

Contact

Feel free to post any issue in the issues section.
You can also reach us on our discord via this link.

Credits

Crawly (https://github.com/Asunaya/RefinedGunz)

SuhBruh (https://igunz.net)

Michael Steshenko (https://igunz.net)

ThievingSix (https://igunz.net)

ogz-source's People

Contributors

michael-steshenko avatar suhbruh avatar hymnosi avatar mhs02 avatar krisdgreat avatar mataha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.