Click to See Complete Forum and Search --> : RtCW


vxmine
12-21-2001, 10:26 AM
Has anyone been able to get Return to Castle Wolfenstein working in Linux? I know the test is out and working but I want to be able to play the full game in Linux. Thanks in advance.

Closer
12-21-2001, 10:38 AM
For the moment the only way to play RTCW in linux is by using wine.
The multiplayer binaires are released but it still requires the installation thru wine to build the pak files or copy them over from a windows partition.
RTCW plays perfect thru winex both single player and multiplayer alike.

closer

bwkaz
12-27-2001, 01:49 PM
I tried that, with the WineX CVS from about Dec. 18 or so. When I try to run RtCW, the console pops up, just like it does in Windows, then it says "detected Pentium III", and then X causes an oops and gets shut down. When I'm back at home, I can get the pertinent kernel log messages, but I don't know if they'll help. Anyway, then I can't unload NVdriver, because it still has 2 "things" using it (they belonged to X, which is dead now, so I should be able to unload it, but something's stuck). And whenever I try to restart X, it just oopses again. If I reboot, the NVdriver module is force-unloaded (memory gets cleared), and then everything works fine again.

Any ideas on how to get Wolfenstein working? Or are there howto's somewhere, like there are for HL?

X 4.1.0
KDE 2.2.2 (don't think that's it, but maybe -- I'll try again with twm at home tonight)
Kernel 2.4.16

Thanks.

bwkaz
12-28-2001, 12:55 PM
Well, I tried it with twm, and the only difference is that the NVdriver module doesn't have any "uses" registered after X segfaults (that's what it was -- "Caught signal 11, exiting" was the message in the X log). So I can remove the module and restart X. The segfault happens just after RtCW sets the mode to 1024x768 (I run it at that rather than 1280x1024 because at higher res, it lags, even in single player -- GF2 card can't handle it, I guess). All I see in the console is "detected P3", then it sets the res, then it crashes.

The only thing in the kernel logs this time is that "snd" is complaining that it can't find device "sequencer". But /dev/sequencer exists and works -- I'm using devfsd, and /dev/sequencer is a link to /dev/snd/sequencer, which exists and is writable.

Any ideas? Thanks.

TheGimp
01-06-2002, 07:25 PM
Originally posted by bwkaz:
<STRONG>Any ideas on how to get Wolfenstein working? Or are there howto's somewhere, like there are for HL?</STRONG>
http://zerowing.idsoftware.com/linux/wolf/

bwkaz
01-07-2002, 01:30 PM
I was trying the single player Wolfenstein, not multiplayer. I'd have just installed the native Linux version if it supported single player.

After looking around some more and reinstalling the game through WineX, it complained (once) that the color depth wasn't high enough (X runs in 24-bit color).

I tried 16-bit and 8-bit, and none of them worked, so I'm still perplexed. Maybe Google will know (duh... should have tried that a long time ago...)

Closer
01-08-2002, 09:14 AM
it complained (once) that the color depth wasn't high enough (X runs in 24-bit color).

Try wine --winver win98 --debugmsg all

That should work

RTCW single player works perfect thru winex I
already finished game thru winex

Closer

[ 08 January 2002: Message edited by: CLOSER ]

bwkaz
01-08-2002, 01:44 PM
Originally posted by CLOSER:
<STRONG>--debugmsg all</STRONG>

That would probably help. DUH!!!

I had --winver=win98 there. Any suggestions on whether or not to add --managed? I've been trying it without...

Thanks, I'll probably try both of those tonight (I'm at work now).

Closer
01-08-2002, 07:24 PM
I turn manage off in the config file
I also turn dga off and doublebuffer on in the config

CLOSER

bwkaz
01-09-2002, 05:29 PM
managed is off, but I believe DGA is on. I'm also pretty sure double-buffering is on, but I'll check all three.

Thanks. --debugmsg +all didn't help, it just spit out a TON of info. After paring through it (I logged it all to a file, wow, did THAT take a long time), I managed to find some times where opengl complained that it was using the standard visual (24-bits of RGB, 8 bits reserved) instead of the requested one. But I'm not sure where that was coming from -- I wrote a DX7 app that just enumerated all the currently-valid modes, and ran it under winex, and it came back with 8, 16, and 24-bit modes in all sorts of resolutions.

So maybe it's DGA. Hopefully it's DGA. If not, want me to post my config?

bwkaz
01-10-2002, 10:46 AM
SWEET!!!!

I wasn't DGA, but after I turned DGA off and it still didn't work, I started looking at the config file some more, and the MIT shared memory extension and the XVidMode extension caught my attention. I turned them off and it worked!

Later, I tried turning SHM and DGA back on, and it still worked. So it must have been the XVidMode. I should have thought of that the first time it crashed right after changing X's resolution, but oh well. The strange thing is that Counterstrike works with XVidMode on in 1152x864 (X is 1280x1024).

Oh well, it works. Thanks!

xjimmyx
01-10-2002, 04:05 PM
is winex really worth it?

bwkaz
01-10-2002, 05:11 PM
YES.

There's no other way to play Half-Life or Counterstrike in Linux, and so far, there's no other way to play RtCW single player either. Seeing as I play these regularly and don't want to wait 5 minutes for Win98 to boot, and 3-5 for it to shut down again later, it is worth it. For me, obviously.

Gaccm
01-11-2002, 01:44 AM
Um... Half-life works perfectly fine using regular wine, i know i do it. The only thing is that you must choose OpenGL rendering or software rendering, directx doesn't work (duh).

bwkaz
01-11-2002, 02:22 PM
Well yeah....

Oh, I see. Right. Winex as different from Wine may not be worth it, but having one or another compatibility layer there definitely is.

RonaldRaygun
08-15-2002, 07:02 PM
I have RTCW running i Linux without winex. Go get the binaries from a site like www.rtcwfiles.com. Just install the binaries then copy over 4 map files off the disc or a windows partition, and it runs great.

BTW- the binaries work for single player and multi.

bwkaz
08-16-2002, 12:30 PM
Yeah, I've since found those. That's what I run now.

DOlson
08-23-2002, 03:43 PM
Originally posted by RonaldRaygun
I have RTCW running i Linux without winex. Go get the binaries from a site like www.rtcwfiles.com. Just install the binaries then copy over 4 map files off the disc or a windows partition, and it runs great.

BTW- the binaries work for single player and multi.

You can't copy them off the disc, AFAIK.

You need to do an install first.

For games that require this (RTCW, AVP Gold, etc), I recommend you put the data files onto a CD-R so you only ever have to install once. I *REALLY* hope NWN doesn't require this once it is released...