(2013-02-08) Counter Strike Source On Linux Plus More Half Life

Valve have officially pushed the Counter Strike Source game onto Linux, as the CDR suggests: http://steamdb.info/app/240/

I had a few issues initially with being able to even get the game running, however I've included below some workarounds. The first being that the game doesn't launch from the Steam interface, it opens then immediately closes. You can get some better output and actually launch the game by running it from the 
root directory; which will be STEAM/steamapps/USERNAME/Counter-Strike Source/

After running the hl2.sh file provided, you may end up with this:

Setup file 'gameinfo.txt' doesn't exist in subdirectory 'hl2'.
Check your -game parameter or VCONFIG setting.

I had to edit the hl2.sh script and modify the line:

if [ -z $GAMEEXE ]; then if [ "$UNAME" == "Darwin" ]; then GAMEEXE=hl2_osx elif [ "$UNAME" == "Linux" ]; then GAMEEXE=hl2_linux fi fi
Over to this:
if [ -z $GAMEEXE ]; then if [ "$UNAME" == "Darwin" ]; then GAMEEXE=hl2_osx elif [ "$UNAME" == "Linux" ]; then GAMEEXE="hl2_linux -game cstrike" fi fi
Not sure why it's trying to call the default Half-Life 2 folder instead, but that works. The next issue was sound (again) because I'm launching outside of Steam, you need to add:
To the top of the script -- I'm sure once the launching from Steam issue is resolved, this will also be fixed as well (I don't know about anyone else, but I run that prior to launching Steam in my wrapper script anyway). The next issue I found was that the game didn't recognise my Steam login; on looking at the logs I get this: [S_API FAIL] SteamAPI_Init() failed; no appID found. Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder. Again, a simple fix, just add a steam_appid.txt file to the same directory as hl2.sh with the number "240" inside. The last issue I've got is one without a fix right now. I can't connect to 99% of servers because I get an error with the message "You are in insecure mode. You must restart before you can connect to secure servers." I did manage to connect to a non-VAC secured server and play a couple of *really terrible* rounds before the server shut down though -- video below: Also, second part of my Half-Life 1 playthrough has also been released -- as this came out a few hours ago, I was going to do more of a post on it, but CSS takes priority here I think! Video for my Half-Life 1 LP is here: