Tuesday, November 21, 2006

Counter-Strike: Source Ubuntu Linux WINE

Sadly I do own counter-strike source.... luckily though I can say I really dont play all that much. Tonight I decided to try and install Source on the T42, just to prove to everyone that you can game on linux and linux is the best. Well yeah and I need to pwn some Newbz! I'm writing this right now as Steam is downloading my source files... wait yea I said that, Steam is running in linux and downloading the files as we speak! So here's how I got that far, after the trial and error:
1. Download WINE
sudo apt-get install wine

2. Run WINE setup--
wine setup

3. Download Tahoma font and put it in your wine fonts folder:
cp Tahoma.ttf /home/USERNAME/.wine/drive_c/windows/fonts

4. Download Steam the go to the directory and install it
wine SteamInstaller.exe

(Note I just took a break to test out my CSS on Linux, and after a few trial and errors i figured it out and got onto a server and played it! So, IT WORKS!) 5.During the steam install just use all the same options/answers you would use in a windows environment-- at some point it will prompt you that it needs to install a Mozilla Gecko plugin? just say yes and it will do it's own thing.
6. When the installer finishes open up a terminal and do the following to launch steam:
cd /home/USER/.wine/drive_c/Program Files/Steam
WINEDEBUG="fixme-all" wine steam.exe

This will launch steam while hiding any outputs from wine, thus running your game faster.
7. When steam launched I couldnt type my name in the login/password boxes without first right clicking in the login field then left clicking. After this I could login as normal.
8. Now that you're ready to launch your game you will want to make sure that all other windows besides the steam "My Games" window are minimized or closed.
9. Double click "Counter Strike Source" and as soon as it says "preparing" click the x button on the steam window with "My Games List" or it will interfere with the game.
10. The game should be running fairly close to normal now, you ay be warned that you're video is wierd and that it's using software mode, but even on my 1.7 Ghz 512mb ram 64mb Radeon 9600 the game was more than playable.

I hope that this was helpful to some. Remember I am really doing this as a proof of concept so hopefully more people will migrate from Windows over to Ubuntu. If you have any questions feel free to comment or email me. Thanks I'm off to go play!

17 comments:

Troels said...

When i go through step 2, my console reacts like this:

troels@troels:~/Desktop$ wine setup
Warning: Language 'en_DK' was not recognized, defaulting to 'en_US'.
Warning: Language 'en_DK' was not recognized, defaulting to 'en_US'.
Warning: Language 'en_DK' was not recognized, defaulting to 'en_US'.
wine: could not load L"c:\\windows\\system32\\setup--.exe": Module not found

Is that normal?

Troels said...

oh sorry, typo. It was like this:

troels@troels:~/Desktop$ wine setup
Warning: Language 'en_DK' was not recognized, defaulting to 'en_US'.
Warning: Language 'en_DK' was not recognized, defaulting to 'en_US'.
Warning: Language 'en_DK' was not recognized, defaulting to 'en_US'.
wine: could not load L"c:\\windows\\system32\\setup.exe": Module not found

Troels said...

uhm, now i got it working, but when i try to run counter-strike (not source), it goes black, allthough i can hear the sounds when scrolling over the menu buttons inside cs....

Anonymous said...

no that is not normal-- i may have mist typed the command instead of wine setup try
winesetup
or winecfg

Troels said...

okay.. but the screen still goes black when starting a game from steam. do i need to install a video driver in wine or something?

snype said...

what graphics card do u have? and have u tried installing a proprietary driver for ur card. ie fglrx for ati cards...

Troels said...

I have an nVidia card, and i am using the newest nVidia driver supporting opelgl and all. Do i need to configure anything in wine?

Anonymous said...

doubt it--- but i switched to cedega cause it's got more support and it's easier I heard ppl found it on thepiratebay

JD said...

I have tried over and over and over and over again to install a Proprietary Driver for my ATI Radeon 9200 SE but nothing seems to work or I am doing something completely wrong. Would you be able to help with this. I am dying to get CS:S on my Ubuntu-only machine!

yoshi said...
This post has been removed by the author.
yoshi said...

did cedega work? it worked for me this install-guide and now im installing counter strike, for the first time. once i got banned cause i couldnt have the non-cheating-software but steam/valve did help me about that. and now is the first time in an eternity im trying again to get it to work in linux... thanks to this guide. how does it look in cedega?

Preston said...

Steam is no longer a .exe file; it's a .msi file. What am I supposed to do?

snype said...

google is your best friend:
http://www.ausgamers.com/files/details/html/10694
http://halflife2.filefront.com/file/Steam_installer;27442#Download
http://www.fileshack.com/file.x?fid=2088




hopefully these help you out...

00chips said...

Brilliant tutorial, the other one I followed sucked and wouldn't do anything :P

cshacker said...

Counter Strike Hack (http://cs-hacker.blogspot.com) is a source for all of you who is looking of the best Counter Strike Hack, and all of cheat or hack from http://cs-hacker.blogspot.com is free from VIRUS. Because it is tested with two antivirus software, they are avast 4.8 and AVG 8.0. So what is you waiting for, download now it's free.

Pedro said...

There is a better way to installit using the program playonlinux.
Playonlinux has a list of games that can install and is very more easy. As easy or more easiear than install in Windows.

Just search for playonlinux in google and download the porgram.

Anonymous said...

h0w t3h h3ll d1d u m4k3 1t run playably ???

I have a 2400+ sempron, with 1.6ghz, 768mb of ram ,133mhz fsb, and a 7300GT nvidia card, but it still is slow, too slow to play. Although, I managed to play HL:2 with no glitches.