Counter-Strike 1.6 Server ON Freebsd(English Version)

1. Install Linux emulator
2. Install hlds (by ports or not )
3. Play your CS !!! good luck ~

OK, first you need to do is to install Linux emulator .
Because the hlds is compiled on linux suse environment.
According to the freebsd manual for installation of Linux emulator
—–—–Linux emulator Installation By freebsd handbook ——–—

Linux binary compatibility is not turned on by default. The easiest way to enable this functionality is to load the linux KLD object (“Kernel LoaDable object”). You can load this module by typing the following as root:

# kldload linux

If you would like Linux compatibility to always be enabled, then you should add the following line to /etc/rc.conf:


The kldstat(8) command can be used to verify that the KLD is loaded:

% kldstat Id Refs Address    Size     Name 1    2 0xc0100000 16bdb8   kernel 7    1 0xc24db000 d000     linux.ko Installing Using the linux_base Port
This is by far the easiest method to use when installing the runtime libraries. It is just like installing any other port from the Ports Collection. Simply do the following:

# cd /usr/ports/emulators/linux_base-fc4 # make install distclean

You should now have working Linux binary compatibility. Some programs may complain about incorrect minor versions of the system libraries. In general, however, this does not seem to be a problem.


Note: There may be multiple versions of the emulators/linux_base port available, corresponding to different versions of various Linux distributions. You should install the port most closely resembling the requirements of the Linux applications you would like to install.

————————– end —————————-

OK, When you installed the linux emulator,
you can use two way to install hlds.
one way is ports , the another is hlds_l.tar.gz.
But the hlserver-cs has been marked broken, So you only can use that hlds_l.tar.gz to install hlds.

You need to get the hlds_l.tar.gz and nosteam 的engine(engine.v15.tgz)
decompress the hlds_l.tar.gz and put into directory you wanna put
decompress the nosteam 的engine(engine.v15.tgz) to replace your cpu type ) in the hlds directory

editor your cstrike/server.cfg for CS
if you want open on Lan , just add this ‘sv_lan 0’ , for internet add this ‘sv_lan 1’
run your CS server
./hlds_run -game cstrike +exec server.cfg +ip(your ip address) +port 27015 +maxplayers 16 +map de_dust -nomaster

nomaster means you dont wanna your server be added on master server list .


發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步瞭解 Akismet 如何處理網站訪客的留言資料