This binary requires the pak files from the 1.03 and 1.04 patches.
With much gratitude to James Drews (firstname.lastname@example.org) for compiling this and sorting out the problems.
Updated Binary includes fixes for:
Protocol changed to prevent confusion attempting to connect to previous versions.
( you must install the 1.03 and 1.04 patches first to get the new pk3 files! )
1.03a-fix com_error on very large packet fragments
1.03- compatible with pc point release 1.03 ( you must install assets2.pk3 from the 1.03 patch!)
c)-empty connect msg exploit crash
b)-random server crashes
-ERROR: opStack corrupted in compiled code
This archive file contains:
readme.txt : The file your reading now
jk2ded : Jedi Knight 2 linux binary
On your linux box:
-Create a directory for the game. example: mkdir /usr/local/games/jk2
-Copy the linux binary into this directory
-Mark the file as executable. example: chmod a+x /usr/local/games/jk2/jk2ded
-Create the 'base' directory. example: mkdir /usr/local/games/jk2/base
Note, YES, it is case sensitive and the program will look for all lower case
-Copy the files from the base directory of the retail CD into the base directory you just created. In particular, the assets0.pk3 and assets1.pk3.
And assets2.pk3 from the 1.03 patch!
Running the dedicated server:
-"cd" into the game directory (cd /usr/local/games/jk2)
-Run the binary. An example is: ./jk2ded +exec server.cfg
This example assumes you have created a configuration file called server.cfg and placed it into the "base" directory.
By default, the server will run in "internet" play mode and advertise its presense to the master server. If you wish to have a LAN play only server, change your server config to set dedicated 1, or change the command line to be: ./jk2ded +set dedicated 1 + exec server.cfg
-The game will look in the base directory or home directory of the user running the program (~/.jk2/)
-If you set the logfile option to 1, the files will be stored in your user home directory in ~/.jk2/base/
-Running the jk2ded binary under FreeBSD use brandelf -t Linux /path/to/jk2/jk2ded
-If you are running the server behind a NAT box, any client machine also behind that NAT box will not be able to see the server listed in the "internet" list.
Switch to the local lan setting instead.