Forum: Geek Forum
Topic: CS in Linux
started by: incubus

Posted by incubus on Jul. 16 2001,21:29
Windows exploded on me again today, so bad it needed a reinstall. I booted into Linux and started salvaging my documents, mp3s, pr0n, etc, when I thought ... I only use windows for games anyhow!

And the only game I play in windows atm is Counterstrike.

Then a lightbulb appeared above my head:

And after a couple hours messing about, I've managed to get CS working in Linux! w00Tah!

------------------
-- incubus
As I chase the leaves like the words I never find ...


Posted by demonk on Jul. 17 2001,19:34
Ok, you've got my attention. How did you do it? Is there a Linux port of CS (not the server) that I didn't hear about? Give details please.
Posted by RenegadeSnark on Jul. 17 2001,20:40
Let me be the first to say,

HOLY FUCKING SHIT!

HOW did you get it working? Was it 3D-Accelerated? Would my EAX continue to work?

(Probably not )

Anyway, congrats I suppose


Posted by RenegadeSnark on Jul. 17 2001,20:45
Also, if you want to get a near-Windows experience on your box with web surfing, use KDE Konquerer (I've got 2.1.2 or something, I think). Then get your TTF's from windows loaded.

Right now I'm trying to see about making this thing spoof browser tags, else the menus on detonate don't show up.


Posted by chmod on Jul. 17 2001,21:42
Was this CS in linux an actual port? or did it somehow involve WINE? i know i've heard somewhere that it was possible to run cs in linux... I found this < http://lhl.linuxgames.com/howto/half-life-HOWTO-0.3-adam.html > describes how to run HL with WINE on linux.
I still wish they would make some kind of port though, because it would probably be a lot faster. Interesting stuff anyways, I think i'll give it a try.
Posted by solid on Jul. 17 2001,23:17
< http://www.counter-strike.net/downloads.html#lin_full >

You guys knew about THAT ... right?


Posted by chmod on Jul. 17 2001,23:28
thats only a linux SERVER... we're talking about the client...
Posted by incubus on Jul. 18 2001,00:14
ok, heres how I did it:

first of all, I had a base RH7.1 install. My GFX card is a geforce 2 mx.

Reading through the spiel, it seems that the drivers shipped with RH are crap, and that I should get the nvidia drivers.

So ...

Went to the site, downloaded them, set the runlevel to 3 and rpmd the drivers in as it said and changed the driver in XConfig-4 from "nv" to "nvidia".

Gritted my teeth, typed startX ...

BOOM

Couldn't find the kernel module 'NVdriver'! I was gutted. I swapped configs back over (i made a backup, i know how lame I am ) and downloaded the kernel-driver source.

Compiled the source, switched configs, and woohoo! The X-Server came back up. Couldn't notice any difference REALLY though.

Secondly, I checked out the latest build of WINE from CVS. I compiled it WITH OpenGL support (something like ./configure --enable-opengl --prefix=/usr) and went off and had my lunch. ;P

I then went and made a wine.conf ( ~/.wine/config) and made a fake windows installation on my linux drive. I set up wine to play ball, and I had a working daily build of wine!

The next part was easy: simply go to the CDROM and type wine setup.exe

And hl got installed. it was slow as shit but it PLAYED!

then i remembered to set the video mode to OpenGL and it was almost as fast as windows! I was well impressed!

The sounds a bit lagged, I'm looking into this, but the rest works great! Even my scrollwheel to switch through weapons works!

The line to make it work in linux is

wine hl.exe -managed -- hl.exe -console -windowed -game cstrike

w00tah!

I didnt do this all myself tho, there was a lot on info on the net, chmod was along the right lines though.

Two docs helped me most of all:

< David McBride's Linux HL howto >
< NVidia Website - Linux Driver Section >

So Yes, it was accelerated, it r0cked. But Audio was a bit b0rked, but im gonna look into that.

Long live the < WINE > crew!

------------------
-- incubus
As I chase the leaves like the words I never find ...


Posted by incubus on Jul. 18 2001,00:18
one thing i forgot, the patches work too ... just wine cs10full.exe etc etc.

If anyone on here wants to do it, i'd be happy to help/talk them through it. My ICQ is 21984549.

Happy compiling! ;o)

Mike

------------------
-- incubus
As I chase the leaves like the words I never find ...


Posted by CatKnight on Jul. 18 2001,11:19
i'll just stick to ascii quake, thank you
Powered by Ikonboard 3.1.4 © 2006 Ikonboard