Archive for the ‘Gaming’ Category

Counter Strike Debian linux server setup

Counter Strike server setup procedure on Debian linux – January 7th, 2008
Based upon – http://www.cstrike-planet.com/tutorial/1/5 – Props to whoever wrote it!
IT IS ADVISABLE TO RUN THE VARIOUS INSTALL PROCESSES AS ROOT! Edit: You can actually run all of these from a regular system user account.

handy tip – to measure current directory size: du -h

This setup procedure assumes that you (the installer) currently possess:

  1. knowledge of how to use a command line text editor in linux (vi, nano, etc.)
  2. knowledge of how to use apt-get or yum to install dependencies
  3. a preexisting linux installation, and root access on said box (you are able to login as “root”)

I’m doing this installation on a Debian Etch (4.0) minimal installation within a VPS. You do not necessarily have to install a separate Counter Strike dedicated server on a separate VPS. All you have to do is setup the Counter Strike dedicated server to run on different port/IP addresses. So let’s get going!

  1. Create an install directory and dl the installer
    • mkdir srcds (the directory for Counter Strike: Source dedicated server)
    • cd srcds
    • wget http://www.cstrike-planet.com/dls/hldsupdatetool.bin
  2. Make the installer executable and execute it
    • chmod +x hldsupdatetool.bin
    • ./hldsupdatetool.bin
  3. Agree to the terms and conditions by typing “yes” and “steam” will be created in the same directory
  4. Now run the steam installer that will dowload a new version of HLDSUpdateTool
    • just to be on the same side, why not make it executable (if it isn’t already) – chmod +x steam
    • run steam: ./steam – it took about 10 minutes for it to update. all depends upon the steam server loads.
  5. We are now ready to download and install Counter Strike Source. be sure the trailing dot stays in the command! It is there so that the install goes into the current directory.
    • ./steam -command update -game “Counter-Strike Source” -dir .
    • the install size is ~ 1.1GB uncompressed
  6. The server is now ready for various customizations. I’ll be writing more on that later …

Your Ad Here

This next installation method is for the Counter Strike 1.6 linux dedicated server
Based upon – http://www.cstrike-planet.com/tutorial/1-Linux-Install-CS-16/6

  1. Repeat steps 1-5 in previous installation but in different root directory. so instead of “srcds” let’s put the installation in “hlds”. Step 2 of the previous method should this time be:
    • mkdir hlds
    • cd hlds
  2. Run the various steps outlined above, and now to install the cstrike1.6 linux dedicated server.
    • ./steam -command update -game cstrike -dir .
    • the install is ~ 360MB

Q and A time
Q: How can I keep hlds running while I am not logged into the server with SSH?
A: Start your dedicated server with screen: screen -S hlds ./hlds_run . And then when you want to access the running server process once logged back in: screen -r hlds.

Q: How many CS virtual servers can I get on one machine?
A: see – http://www.webhostingtalk.com/showthread.php?t=743585

Q: What does the “tickrate” have anything to do with anything? What is it?
A: see – http://www.counter-strike.com/tickrate.php

Q: Where can I get cheap vps/dedicated server hosting to try this out on?
A: You could pick up a VPS from webkeepers.com or check out ThePlanet’s bargain bin: https://www.theplanet.com/servers/outlet.aspx.

pc halo as good as xbox?

I managed to get a few computers in the past week, just in time for my spring break. I transferred my XP Home license onto one of them. I then stuck a 128mb GPU I had, and enough ram into the 1.6ghz computer, I snagged from recycling intentions, to run pc Halo. I then plugged in a playstation 2 controller into this pc by means of an adapter I had purchased from a Hong Kong EBay shop. I hooked a S-Video cable into my graphics card instead of to a VGA cable and jacked into my tv. The graphics need to be tweaked a bit to display just right, but it worked great for a trial run.


The setup in picture form


Halo for PC gameplay on a TV

Return top