PakServe and PakUtil Updated

Edit 7-12-2026: Stripped debug symbols so the exe is a little smaller.

I have released a small update for pakserve and pakutil that will allow up to 999,999 files in the pakutil9 version. Regular pakutil will support up to 32,768 files which is the max of the q2pro-r1ch anticheat client. This is great for creating extremely large pak files and converting them into pkz files for Quake 2.

So if you want to make pkz files for the older client, use regular pakutil.

If you want to make giant pkz files for your server or modern q2pro, use pakutil9. Modern q2pro supports up to 1,048,576 files in a pkz, so 999,999 felt like a safe number. I have not fully tested these limits, but I have some pkz files with over 60,000 files that load fine.

2026/07/11 16:15:42 /home/jordan/quake2/jump/pakjump2.pkz (60365 files)

Pakserve supports up to 999,999 files, there didn’t feel like a reason to have both, since clients are only downloading files from within the pkz files that pakserve is sending them.

The source is also available, with a compile script to help you compile your own version if wanted (windows compile.bat, linux compile.sh)

I am working on getting my github going, I promise! I am also tired of hosting source like a madman!

Welp… One more Q2Pro Update

I’m now completely compiling the windows build against updated external libraries, with no subproject dependencies other than khr-headers. The dependency versions will be listed in each ones included log files. Day wouldn’t be complete with one last update I guess! Updated builds available as always in https://quake2.itbacon.com/public/q2pro

Below is the log file for win64-vfps-ac:

*** LIBRARIES USED IN THIS BUILD:
libavcodec           63.3.100
libavformat          63.3.100
libavutil            61.2.100
libcurl              8.21.0-DEV
libjpeg              3.1.4.1
libpng               1.6.58
libpng16             1.6.58
libswresample        7.2.100
libswscale           10.2.100
libturbojpeg         3.1.4.1
openal               1.25.2
sdl2                 2.32.8
zlib                 1.3.1.zlib-ng

q2pro r3834~601a8df8

  Features
    anticheat-client     : NO  # YES on x86, but likely no way to ever get one of my exe's anticheat hash approved in 2026.
    anticheat-server     : YES
    auto-reply           : YES
    avcodec              : YES
    client-gtv           : NO
    client-ui            : YES
    debug                : NO
    game-abi-hack        : NO  # YES on x86/i386, for old mods.
    game-new-api         : YES
    icmp-errors          : YES
    libcurl              : YES
    libjpeg              : YES
    libpng               : YES
    md3                  : YES
    md5                  : YES
    mvd-client           : YES
    mvd-server           : YES
    openal               : YES
    packetdup-hack       : NO
    save-games           : YES
    sdl2                 : YES
    software-sound       : YES
    system-console       : YES
    tests                : NO
    tga                  : YES
    variable-fps         : YES  # NO on non-vfps builds
    wayland              : NO  # YES on Linux
    windows-crash-dumps  : YES
    windows-egl          : YES
    windows-service      : NO
    x11                  : NO  # YES on Linux
    zlib                 : YES

  Subprojects
    khr-headers          : YES

  User defined options
    Cross files          : /home/jordan/git/q2pro/.ci/x64-windows-gpt.txt
    anticheat-server     : true
    avcodec              : enabled
    buildtype            : release
    default_library      : static
    game-abi-hack        : disabled
    game-build-options   : optimization=s,b_lto=true
    game-new-api         : true
    libcurl              : enabled
    libjpeg              : enabled
    libpng               : enabled
    openal               : enabled
    sdl2                 : enabled
    system-wide          : false
    variable-fps         : true
    vid-geometry         : 1920x1080
    vid-modelist         : 320x240 640x480 800x600 1024x768 1280x720 1280x960 1366x768 1600x900 1920x1080 2560x1440 3440x1440 3840x2160 4096x2160
    wayland              : disabled
    werror               : true
    windows-egl          : true
    windows-service      : false
    wrap_mode            : nofallback
    zlib                 : enabled
    khr-headers:wrap_mode: forcefallback

Q2Pro – OpenAL figured out!

OpenAL Logo

Edit 3:37pm EDT: curl is enabled in ALL builds now (for http downloads), EGL enabled in windows, openal on 32bit linux. and game-new-api enabled in all builds. I think now it is the most complete builds!

I have figured out how to get OpenAL working on both x86 and x64 windows builds now! The DLL files will be included in their respective files. I have compiled the latest version of OpenAL (1.25.2) to include with the release.

Additionally, the DLLs are available for stand-alone download in https://quake2.itbacon.com/public/q2pro

I also realized as well today that no older x86/32bit mod is going to support vfps, so the x86/i386 vfps builds have been removed.

I am additionally also compiling non-vfps builds as well again.

Linux builds have been updated to support X11, too.

And software-sound has been enabled. I’ll try and add EGL support here in a while. EGL support has been added!

I’m not sure if there’s anything left to get into these builds at this point! I’ve been kind of obsessed with it the last week again, trying to get them as good as possible.

Q2Pro Builds Updated… Again!

I’ve updated the q2pro builds available on https://quake2.itbacon.com/public/q2pro, more so specifically the Windows builds to include libavcodec/ffmpeg support.

You’ll notice anticheat-client is off on the 64bit build, because there is no 64bit anticheat.dll that works. It’s just too old. It is enabled on the x86 build, and for me, the dll does load, in the console you’ll see Anticheat DLL initialized or whatever.

But when connecting to a server for some reason, it still says I’m not using it. For servers that are still requiring anticheat, for no reason because it’s 2026 and it wouldn’t stop anybody even mildly motivated, I don’t plan to work on figuring that out. I would suggest using the old r1ch build if you absolutely need anticheat for a particular server. My best guess is because I’m not using the r1gl renderer.

Edit/Update: It seems more likely that anticheat.dll, and/or the anticheat server that r1ch does still run, has a list of hashes for exe’s that would be approved. Since no exe I compile has any means of to be approved in 2026, anticheat will assumedly never work with any other build than e.g. q2pro-ac that r1ch released ages ago. I wish we could just get one last dll for 64-bit compiled from him, that’d be great. It would really help carry anticheat forward for a bit longer. Maybe I’m just overly nostalgic.

SDL2 is also now enabled (vid_driver sdl).

OpenAL also works good in this build, however, again, for x86 I am unable to find an openal32.dll that works, it just keeps saying “Requires at least OpenAL 1.1” when trying to set the sound to OpenAL in the x86 build. I’ve left it enabled in case anyone wants to try and find a working dll — and if you do! — please let me know.

Compiling Q2Admin r872 for i386 and x64

q2admin-r872 running

Note: As I already have all of these dependencies installed, it can be hard for me to sometimes determine exactly what you might need to apt-install. Let me know if anything goes awry in the comments and I’ll update the guide!

Edit: I’ll try and get this wrapped into a script you can just run that will do all the work and prep/compile the build.

The most-excellent PacketFlinger has kept a version of Quake 2’s former cheat detection mod q2admin still running after all these years. His version works very well for me on both older i386 mods, and modern mods on x64. And I’m going to show you how you can compile it for your own server, on Ubuntu Linux.

First, we need to install the required dependencies. If you plan to build the i386 version for older mods, then run this to install the i386 version of libc:

sudo dpkg --add-architecture i386
sudo apt update
sudo apt install libc6:i386

You will also need some standard packages if you don’t have them installed already for some reason:

sudo apt install git build-essential gcc-multilib g++-multilib pkg-config make perl wget curl ca-certificates tar xz-utils file binutils

Next, we need to clone the q2admin git repository. Make sure you’re in the folder where you want to download it to. The git clone command will automatically create a subfolder named q2admin:

git clone https://github.com/packetflinger/q2admin
cd q2admin

For i386 builds, we need to modify the Makefile slightly. If you’re not compiling for i386 mods, skip down to make — and yes, I should really learn how to commit changes to a git repository one of these days… maybe I’ll try that after this guide, so I can commit this Makefile change to the q2admin repository. Edit Makefile with your editor of choice, for me, that’s nano. I have, since forever, ran nano with -w to prevent line wrapping:

nano -w Makefile

Add the lines in bold below to your Makefile. The change should begin around line 77 or so. You can press CTRL-W, CTRL-T, 77, [Enter] to jump to that line. Others may prefer CTRL-/, 77, [Enter], nano is versatile!

else
    CFLAGS += -fPIC -ffast-math -w -DLINUX
endif

ifeq ($(CPU),i386)
    CFLAGS += -m32
    LDFLAGS += -m32
endif

CFLAGS += -DQ2A_COMMIT='"$(VER)"' -DQ2A_REVISION=$(REV) -DCPU='"$(CPU)"'

CTRL-X, Y, [Enter] to save your changes. Others may prefer CTRL-O, [Enter], CTRL-X which will do the same thing.

We can immediately compile the x86_64 version by simply typing make:

make

This should produce a gamex86_64-q2admin-r###.so file, which is your freshly compiled q2admin for 64-bit!

However, for i386, we are again going to have to do a few things, namely we need to recompile the dependencies to avoid a linker warning after compiling. You’ll also have the most up to date version of q2admin possible for i386, including its libraries. You must determine the full path to your q2admin/deps/ folder, so if you ran git clone in your home directory, this will be ~/q2admin/deps/. From a shell, first set a variable the next script will use. Modify the path in the below if necessary. Do not put a trailing / at the end. Do not put quotes () around it either!

Q2ADEPS=~/q2admin/deps

The above command will set a variable, $Q2ADEPS, that we use in the below snippet. In that same shell, run the following, which will download and compile zlib, curl, and openssl i386 dependencies.

cd /tmp; rm -rf zlib-1.3.2 openssl-3.0.16 curl-8.8.0
wget -nc https://zlib.net/zlib-1.3.2.tar.gz https://www.openssl.org/source/openssl-3.0.16.tar.gz https://curl.se/download/curl-8.8.0.tar.gz
tar xf zlib-1.3.2.tar.gz -C /tmp; cd /tmp/zlib-1.3.2; CFLAGS="-m32 -fPIC -O3" ./configure --static --prefix="$Q2ADEPS/i386/zlib"; make clean; make -j"$(nproc)"; make install
tar xf /tmp/openssl-3.0.16.tar.gz -C /tmp; cd /tmp/openssl-3.0.16; ./Configure linux-x86 no-shared no-tests no-module enable-pic --prefix="$Q2ADEPS/i386/openssl" CFLAGS="-m32 -fPIC"; make clean; make -j"$(nproc)"; make install_sw
tar xf /tmp/curl-8.8.0.tar.gz -C /tmp; cd /tmp/curl-8.8.0; PKG_CONFIG_PATH="$Q2ADEPS/i386/openssl/lib/pkgconfig:$Q2ADEPS/i386/zlib/lib/pkgconfig" CFLAGS="-m32 -fPIC -O3" LDFLAGS="-m32" ./configure --host=i686-pc-linux-gnu --prefix="$Q2ADEPS/i386/curl" --disable-shared --enable-static --with-openssl="$Q2ADEPS/i386/openssl" --with-zlib="$Q2ADEPS/i386/zlib" --disable-ldap --disable-ldaps --without-brotli --without-zstd --without-nghttp2 --without-libpsl; make clean; make -j"$(nproc)"; make install
cd "$Q2ADEPS/.."

Note: The above links are bound to become outdated, I will try to keep them updated. You may have to get updated links if you’re reading this in 2030…

Finally, with ALL THAT out of the way, you can now type:

make CPU=i386

And that should give you a gamei386-q2admin-r###.so file!

Using and configuring q2admin is out of the scope of this guide, and worthy of a whole post or four in itself, so you’ll have to do some research on getting things configured for your server(s).

The README.md will be your absolute best starting point. And all of the stock configs are in your ~/q2admin/runtime-config/ folder.

HUGE shout out to PacketFlinger for keeping this alive! Thank you!!

Action Quake 2 servers!

Update 9-15-2023: All servers are now running q2pro instead of r1q2. I’ve disabled the anticheat module because it’s 2023…I believe this should allow Linux clients to play as well.

I decided to throw up an original Action Quake 2 server! I’ll probably make a whole subdomain for this so stay tuned if you’re interested. I’ll be sure to post downloads etc.

You can vote the map with vote map <map>

Check it out if you want, from the Quake2 console:
– Team Deathmatch: connect quake2.itbacon.com:27910
– Deathmatch: connect quake2.itbacon.com:27911
– Jump Mod: connect quake2.itbacon.com:27912 (this is where I’ll usually be!)

A complete server list is available on https://quake2.itbacon.com

Enable Administrative Shares (C$, etc)

  1. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
  2. On the Edit menu, point to New, and then click DWORD (32-bit) Value.
  3. Type LocalAccountTokenFilterPolicy to name the new entry, and then press Enter.
  4. Right-click LocalAccountTokenFilterPolicy, and then click Modify.
  5. In the Value data box, type 1, and then click OK.
  6. No reboot necessary.

From an administrative command prompt, you can simply run this instead:


reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1

Windows Server – Private Network Profile Fix

Sometimes, randomly, Windows Server will switch to a Private Network Profile after a reboot, or just sporadically. Usually restarting the NlaSvc service will resolve this, but I have found if it keeps happening on reboot, this will also help resolve this issue.

You can check this in a Powershell prompt by typing: Get-NetConnectionProfile

PowerShell> Get-NetConnectionProfile
[...]
NetworkCategory          : Private

In order to fix this, all I needed to change was the dependencies for NlaSvc (Network Location Awareness Service). From an Administrative command prompt I ran the following (NOTE: This is ONLY for servers that have the DNS role installed!):

sc config NlaSvc depend=NSI/RpcSs/TcpIp/Dhcp/EventLog/DNS

After rebooting, my profile finally showed as a Domain network instead of a Private Network.

If your server does NOT have the DNS role installed, then you can additionally run this command (I would also run this if your server has the DNS role and you’re still having problems):

reg add HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters /v AlwaysExpectDomainController /t REG_DWORD /d 1 /f

Windows Server 2025 is available as a free evaluation: https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2025

Here’s a simple Powershell snippet that will check for the DNS role and apply the fix/fixes:

if (Get-Service DNS -EA SilentlyContinue) {
  Write-Host "Updating NlaSvc dependencies to include DNS and adding registry entry."
  cmd /c sc config nlasvc depend= NSI/RpcSs/EventLog/Dhcp/TcpIp/DNS
  reg add HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters /v AlwaysExpectDomainController /t REG_DWORD /d 1 /f
} else {
  Write-Host "Adding registry entry to try and assist with Domain Network Profile."
  reg add HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters /v AlwaysExpectDomainController /t REG_DWORD /d 1 /f
}