Both sides previous revision Previous revision Next revision | Previous revision |
howtos [2014/02/09 11:38] – ben | howtos [2021/03/31 08:14] (current) – ben |
---|
=== Required files === | === Required files === |
| |
[[http://files.ndlp.info/cstrike/linux/hlds/full/hlds_l3016.tar.gz|hlds_l3016.tar.gz]]\\ | [[https://files.ndlp.info/cstrike/linux/hlds/full/hlds_l3016.tar.gz|hlds_l3016.tar.gz]]\\ |
[[http://files.ndlp.info/cstrike/linux/mods/cs/full/cs_beta52.tar.gz|cs_beta52.tar.gz]] or [[http://files.ndlp.info/cstrike/linux/mods/cs/full/cs_beta61.tar.gz|cs_beta61.tar.gz]]\\ | [[https://files.ndlp.info/cstrike/linux/mods/cs/full/cs_beta52.tar.gz|cs_beta52.tar.gz]] or [[https://files.ndlp.info/cstrike/linux/mods/cs/full/cs_beta61.tar.gz|cs_beta61.tar.gz]]\\ |
[[http://files.ndlp.info/cstrike/linux/hlds/tools/hlds_l.3016.nowon.sh|hlds_l.3016.nowon.sh]] | [[https://files.ndlp.info/cstrike/linux/hlds/tools/hlds_l.3016.nowon.sh|hlds_l.3016.nowon.sh]] |
| |
=== Hardware and software requirements === | === Requirements === |
| |
* A 32 bits operating system | * A 32 bits operating system |
* A single CPU/core machine (virtualization is advised) | * 128 Mb / 1Gb swap |
| * A single CPU/core machine (virtualization is advised). Please see [[.:xen|here]] to grab a 32 bits Wheezy Xen image for instance. |
| |
=== Installing files === | === Installing files === |
</code> | </code> |
| |
* Apply nowon patch | * Apply nowon patch (to be able to start server with C class address behind nat) : |
| |
<code> | <code> |
export LD_LIBRARY_PATH=/your_halflife_directory/:$LD_LIBRARY_PATH | export LD_LIBRARY_PATH=/your_halflife_directory/:$LD_LIBRARY_PATH |
cd /your_halflife_directory/ | cd /your_halflife_directory/ |
/your_halflife_directory/hlds_l -game cstrk61 +exec server.cfg +ip 192.168.1.2 -port 27016 +sv_lan 1 +map de_train +maxplayers 24 -heapsize 128000 | /your_halflife_directory/hlds_l -game cstrk61 +exec server.cfg +ip 192.168.1.2 -port 27016 +sv_lan 1 +map de_train +maxplayers 24 -heapsize 1024000 |
</code> | </code> |
| |
:!: In the above a local class C address is used. Specify whatever IP you may need depending on your network configuration. | :!: Default heapsize is 32Mb, it may not be enough for some maps. Raise it to 1 Gb. |
| |
:!: Default heapsize is 32Mb, it may not be enough for some maps. Raise it to 128Mb. | |
| |
====== Setting up a CS beta 7.1/1.1 linux server ====== | ====== Setting up a CS beta 7.1/1.1 linux server ====== |
=== Required files === | === Required files === |
| |
[[http://files.ndlp.info/cstrike/linux/hlds/full/hlds_l3104.tar.gz|hlds_l3104.tar.gz]]\\ | [[https://files.ndlp.info/cstrike/linux/hlds/full/hlds_l3104.tar.gz|hlds_l3104.tar.gz]]\\ |
[[http://files.ndlp.info/cstrike/linux/mods/cs/full/cs_beta71.tar.gz|cs_beta71.tar.gz]] or [[http://files.ndlp.info/cstrike/linux/mods/cs/full/cs_11.tar.gz|cs_11.tar.gz]]\\ | [[https://files.ndlp.info/cstrike/linux/mods/cs/full/cs_beta71.tar.gz|cs_beta71.tar.gz]] or [[https://files.ndlp.info/cstrike/linux/mods/cs/full/cs_11.tar.gz|cs_11.tar.gz]]\\ |
[[http://files.ndlp.info/cstrike/linux/hlds/tools/hlds_nowon.c|hlds_nowon.c]] | [[https://files.ndlp.info/cstrike/linux/hlds/tools/hlds_nowon.c|hlds_nowon.c]] |
| |
=== Hardware and software requirements === | === Hardware and software requirements === |
export LD_LIBRARY_PATH="/your_halflife_directory" | export LD_LIBRARY_PATH="/your_halflife_directory" |
cd /your_halflife_directory | cd /your_halflife_directory |
LD_PRELOAD=/your_halflife_directoryhlds_nowon.so ./hlds_run +sv_lan 1 -port 27017 -game cstrk71 +ip 192.168.1.3 +maxplayers 24 +map cs_militia | LD_PRELOAD=/your_halflife_directory/hlds_nowon.so ./hlds_run +sv_lan 1 -port 27017 -game cstrk71 +ip 192.168.1.3 +maxplayers 24 +map cs_militia |
</code> | </code> |
| |
| ====== Using screen command ====== |
| |
| One way to do this is to perform the following : |
| |
| * **start_cstrk52.sh** |
| |
| <code> |
| export LD_LIBRARY_PATH=/your_halflife_directory/:$LD_LIBRARY_PATH |
| cd /your_halflife_directory/ |
| /your_halflife_directory/hlds_l -game cstrk61 +exec server.cfg +ip 192.168.1.2 -port 27016 +sv_lan 1 +map de_train +maxplayers 24 -heapsize 128000 |
| </code> |
| |
| * **launch_cstrk52.sh** |
| |
| <code> |
| screen -A -m -d -S cstrk52 /home/hldsbeta/scripts/start_cstrk52 |
| </code> |
| |
| Simply run **launch_cstrk52.sh** to start your CS server. |
| |