Q2PRO

Q2PRO is an enhanced Quake 2 client and server for Windows and Linux. Supported features include:

Downloads

While there are no immediate plans for a new stable release, nightly builds of the latest development source code are available. These builds are regenerated automatically once a commit is made into the git repository.

Development

Latest development source code can be obtained from Q2PRO github.com page. You can also report issues you have with the latest code there. This site also hosts a local mirror of the git repository.

Building

For building Q2PRO on Linux, BSD and similar systems please consult the INSTALL file.

For building Windows version of Q2PRO there are two options: MinGW-w64 2.0.x and Visual C++ 10.0.

MinGW-w64

MinGW-w64 cross-compiler is available in recent versions of all major Linux distributions. A Q2PRO SDK for MinGW-w64 has been prepared that includes all additional libraries Q2PRO uses in precompiled form. It also contains scripts for rebuilding those libraries from source, should you ever need that.

To install MinGW-w64 on Debian or Ubuntu, use the following command:

apt-get install mingw-w64

Follow these steps to check out and build Q2PRO for Windows using MinGW-w64:

wget http://skuller.net/q2pro/q2pro-mgw-sdk.tar.gz
tar zxf q2pro-mgw-sdk.tar.gz
git clone git://git.skuller.net/q2pro q2pro.git
cd q2pro.git
cp ../q2pro-mgw-sdk/config .config
# review .config
make strip

Before typing ‘make’ you may need to adjust the build time configuration file (‘.config’), especially if your compiler name does not have ‘i686-w64-mingw32-’ prefix.

FAQ

Check your ‘intensity’ and ‘gl_modulate’ settings. Q2PRO defaults both variables to 1, while other clients may have different default values for them.

Q2PRO is very well suited for playing with vertical sync on. In fact, it is recommended to enable vertical sync for smooth, tearing-less rendering. Assuming you have ‘cl_async’ enabled, it is important to set ‘r_maxfps’ correctly. On Windows, it should be set exactly equal to the vertical refresh frequency of your monitor (typically 60 Hz for LCD monitors). On Linux, automatic synchronization is supported, you can simply set ‘cl_async’ to 2 and leave ‘r_maxfps’ alone. You can check your current movement FPS by executing ‘echo $cl_mps’ command. When configured properly, it should be equal to your ‘cl_maxfps’ setting.

This is a harmless effect caused by protocol 36 attempting to reduce your outbound traffic and sending packets with frequency limited by ‘cl_maxpackets’, instead of ‘cl_maxfps’ used by other protocols. Since default value of ‘cl_maxpackets’ is 30 (lower than typical ‘cl_maxfps’ value), server miscalculates your ping to be slightly higher. This does not affect your gameplay experience in any way: events like pressing ‘+attack’ are instantly pushed to the server. Ideally, server should be configured to use improved ping calculation method that uses minimal network latency instead of average latency to avoid possible confusion. (This is now the default in latest Q2PRO server).