This is the Open GunZ source repo for GunZ.exe, MatchServer.exe, and associated game tools. 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.
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.
- Visual Studio 2017 with Windows XP support and ATL/MFC support free Community edition: https://www.visualstudio.com/downloads/.
- In the installer, select the
Desktop development with C++,and on the right underSummary,selectWindows XP support for C++andMFC and ATL support (x86 and x64). Picture here.
- In the installer, select the
- OPENSSL: Download and install in
C:\OpenSSL-Win32from here- For "copy OpenSSL DLLs to" prompt, choose "The Windows system directory".
- Next download vs2017 OpenSSL files from here
- Delete everything in
C:\OpenSSL-Win32and replace it with the vs2017 files.
- Zlib Download: From here and extract that on your system
C:\Program Files (x86)\zlib.- Update the build-win32.bat file with the correct zlib folder locations on the
call cmake -Gline in notepad.
- Update the build-win32.bat file with the correct zlib folder locations on the
To build, run build-win32.bat in source folder. Wait until it says "Build succeeded" with possibly some warnings in yellow.
Go to \source\build\win32\bin\Release or \source\install to find final build files.
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'" />
Requisites:
- Install the following dependencies on Debian based distribution:
sudo apt install cmake build-essential ninja-build checkinstall zlib1g-dev libsodium-dev libssl-dev libasio-dev libsqlite3-dev libcurl4-openssl-dev 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
Requisites:
- Download the server and client files.
- Retrieve updated files from
\source\build\win32\bin\Releaseand replace GunZ.exe, Launcher.exe, and MatchServer.exe in their respective client/server folders. - Change IP to
127.0.0.1in config file -->C:\Users\[username]\Documents\International GunZ\config.xml. - In the server folder, open
server.inifile in notepad:- Change the following:
FREELOGINIP,KEEPERIP,MONITORIP,DBAgentIPto127.0.0.1.
- Change the following:
- 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.
Feel free to post any issue in the issues section.
You can also reach us on our discord via this link.
Crawly (https://github.com/Asunaya/RefinedGunz)
Michael Steshenko (https://igunz.net)
ThievingSix (https://igunz.net)