Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howtos [2014/02/09 12:17] – ben | howtos [2021/03/31 10:14] (current) – ben | ||
---|---|---|---|
Line 3: | Line 3: | ||
=== Required files === | === Required files === | ||
- | [[http:// | + | [[https:// |
- | [[http:// | + | [[https:// |
- | [[http:// | + | [[https:// |
- | === Hardware and software requirements | + | === Requirements |
* A 32 bits operating system | * A 32 bits operating system | ||
- | * A single CPU/core machine (virtualization is advised) | + | |
+ | | ||
=== Installing files === | === Installing files === | ||
Line 22: | Line 23: | ||
</ | </ | ||
- | * Apply nowon patch | + | * Apply nowon patch (to be able to start server with C class address behind nat) : |
< | < | ||
Line 28: | Line 29: | ||
./ | ./ | ||
</ | </ | ||
+ | |||
+ | === Configuration === | ||
+ | |||
+ | In /// | ||
+ | |||
+ | < | ||
+ | export LD_LIBRARY_PATH=/ | ||
+ | cd / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | :!: Default heapsize is 32Mb, it may not be enough for some maps. Raise it to 1 Gb. | ||
+ | |||
+ | ====== Setting up a CS beta 7.1/1.1 linux server ====== | ||
+ | |||
+ | === Required files === | ||
+ | |||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | |||
+ | === Hardware and software requirements === | ||
+ | |||
+ | * A 32 bits operating system | ||
+ | * A single CPU/core machine (virtualization is advised) | ||
+ | |||
+ | === Installing files === | ||
+ | |||
+ | * Copy all required files and decompress them | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | tar xvfz hlds_l3104.tar.gz | ||
+ | tar xvfz cs_beta71.tar.gz | ||
+ | </ | ||
+ | |||
+ | * Compile hlds_nowon.c file and copy .so file in /// | ||
+ | |||
+ | You may need to install following packages : g++-multilib | ||
+ | |||
+ | < | ||
+ | gcc -m32 -D_GNU_SOURCE -fPIC -g -shared -ldl -o hlds_nowon.so hlds_nowon.c | ||
+ | </ | ||
+ | |||
+ | === Configuration === | ||
+ | |||
+ | In /// | ||
+ | |||
+ | < | ||
+ | export LD_LIBRARY_PATH="/ | ||
+ | cd / | ||
+ | LD_PRELOAD=/ | ||
+ | </ | ||
+ | |||
+ | ====== Using screen command ====== | ||
+ | |||
+ | One way to do this is to perform the following : | ||
+ | |||
+ | * **start_cstrk52.sh** | ||
+ | |||
+ | < | ||
+ | export LD_LIBRARY_PATH=/ | ||
+ | cd / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | * **launch_cstrk52.sh** | ||
+ | |||
+ | < | ||
+ | screen -A -m -d -S cstrk52 / | ||
+ | </ | ||
+ | |||
+ | Simply run **launch_cstrk52.sh** to start your CS server. | ||