A||||14||tank||partial success!
Z||000000||tank||12-21-2000||06:57 AM||tanksimpson@qwest.net||With a little tweaking of the HOW-TO I have acheived some success at getting LHL to work. My specs: P3-667, 128MB, Geforce 256 SDR, SBLive!, Redhat 7, XFree86 4.0.2, Nvidia driver 0.9-5, Wine 20001202 snapshot, Halflife 1104, Counterstrike 1.0. Installing the game and the patches is no problem. Counterstrike works as described in the LHL HOW-TO except (and this is a big one) I must run it with "-nosound" or it crashes before I even get though all the menus. Obviously this means I can't hear a damn thing when I'm playing! Important notes: 1) Redhat 7 is "custom" install with the Development and Kernel Development packages included, otherwise nothing would compile; 2) XFree86 4.0.2 came from the tar.gz binaries available at xfree86.org; 3) Nvidia 0.9-5 kernel & GLX are compiled from source because the RPMs don't install right on RH7; 4) Wine MUST be compiled from source - NONE of the half-dozen recent wine RPMs I have found on the internet seem to have OpenGL support compiled in; 5) UseDGA must be disabled in wine.conf, in spite of the new HOW-TO, it just don't work for me; 6) Mouse control is shitty no matter what you do - this is typical of all FPS games on Linux; 7) Crazney's hl script is the only way to go - I don't know what all it does, but it's the only way I can get LHL to work; 8) MOST IMPORTANTLY, note that there is a subtle conflict between the Nvidia HOW-TO and the LHL HOW-TO - Nvidia recommends that you wipe all traces of Mesa from your system before installing Nvidia 0.9-5 driver - but removing the Mesa RPMs also removes /usr/include/GL with the crucial gl.h, glext.h, glx.h etc. files you NEED to compile Wine with proper OpenGL support! My recommendation: 1) Install fresh RH7 with Mesa RPMs intact; 2) Install XFree86 4.0.2 binaries; 3) Copy contents of /usr/include/GL to a safe place; 4) Remove all traces of Mesa RPMs 5) Install Nvidia 0.9-5 from the tar.gz sources as per the Nvidia HOW-TO; 6) Test out the Nvidia driver with a native Linux game such as Q3A or Soldier of Fortune to make sure OpenGL works (optional); 7) Restore the files you set aside to /usr/include/GL; 8) Prepare a dummy windows directory in /c 9) Install Wine 20001202 snapshot from source using ./tools/wineinstall; 10) Configure wine.conf with UseDGA = N, DesktopDoubleBuffered = Y; 11) Follow the rest of the LHL HOW-TO and use the special script to launch (I had to add "-nosound" and "-game cstrike" and modify "-w" argument to 1024) and be patient, it works.
Now, if only somebody can tell me how to get sound to work without crashing and smooth out the shitty mouse!
Z||000001||slycer||12-22-2000||02:02 AM||fuchs@telusplanet.net||Possible solution to the sound problem:
Without using my windows install at all I was able to get sound working by "touching" dsound.dll and dsound.vxd in my wine windows\system directory. Then I edited wine.conf to use dsound native, then builtin. It's funny, HL complains that it could not find the sound driver, then sound works great.. YMMV
Z||000002||crazney||12-22-2000||02:52 AM||dhammerton@labyrinth.net.au||I had a similar issue with sound on a friend computer.. i did what slycer said.. but the sound lags a bit.. so we tried fidling around with _snd_mixahead and the best value we found was 0.11, but that is still a bit laggy..
best way to get sound working: just hope it works..
i *think* its to do with what soundcard (ie drvers) you use. .what do you two use?
i use a sblive, and sound works fine.. but the friend for which it stuffed up on uses some dodgy cheapo sound card.. nfi what chipset it is.
crazney
Z||000003||slycer||12-22-2000||01:39 PM||fuchs@telusplanet.net||Sound card that I use is a SB Awe 64.
Sound is just slightly laggy, maybe a 20th of a second or so, nothing major, just keeps you on your toes a bit more ;-)
Z||000004||Zeitgeist||12-23-2000||12:42 PM||zeitgeist@animenet.org||I use a SB 128 and I compiled the drivers right into my kernel, ENS1907 and OSS/100% SB support.. and then used "_snd_head_".52" or whatever....
with the default I had the sound problem... with it as .52 its perfecto Z||000005||Zeitgeist||12-23-2000||12:43 PM||zeitgeist@animenet.org||I use a SB 128 and I compiled the drivers right into my kernel, ENS1907 and OSS/100% SB support.. and then used "_snd_head_".52" or whatever....
with the default I had the sound problem... with it as .52 its perfecto Z||000006||crazney||12-23-2000||06:01 PM||dhammerton@labyrinth.net.au||hmm.. i use a sblive value, kernel 2.4 test 11, i have compiled them as modules.. it works fine with -0.52 aswell..
i suspect maybe the people who are having problems with sound (and having to touch dsound.dll) may not have recompiled there kernel and using some ldodgo sound drivers..
slycer, have you recompiled your kernel?
craz Z||000007||crazney||12-23-2000||10:02 PM||dhammerton@labyrinth.net.au||actually.. this is quite interesting..
i just deleted linux to reinstall debian (cause debian owns over mandrake).. so, now im back.. i have half life running, installed almost without a glitch.. but sounds dont work :-)..
with 'developer 1' it says that there are already 16 sounds playing (if i restart the X, i can here sounds for a few seconds).. ill try the dsound.dll thing, if that doesnt work, ill try an older wine version - see if anything has become broken.
crazney Z||000008||crazney||12-26-2000||05:28 PM||dhammerton@labyrinth.net.au||Ok, i got it working using your 'touch dsound.dll + .vxd" method - as i mentioned it was laggy and the value of _snd_mixahead -0.52 didnt work.. so a friend of mine (opiate) and myself fiddled around with different values, he got the bullseye on -0.11 - and it seems pretty much the same as the old sound, virtually no lag. So try that and see..
cheers
David
ps - if any WINE sound developer knows what got broken in recent versoin of WINE let us know please. Z||000009||slycer||12-28-2000||02:31 PM||fuchs@telusplanet.net||Hmm, interesting, well, I somehow toasted my right channel on my SB Awe 64, so I'm going to pick up a new SB Live-Value tonite. I had compiled the Awe drivers into the kernel, also using 2.40-test12, maybe the trouble is related to that (kernel version)? I'll let you know what happens with the live Z||000010||crazney||12-28-2000||02:52 PM||dhammerton@labyrinth.net.au||I doubt its the kernel version as im using the same kernel as i was when i had sound going the correct way..
2.4test12 (yes, i had recompiled wine)..
both time sound was in as a module.
David
Z||000011||slycer||12-28-2000||10:19 PM||fuchs@telusplanet.net||Hrm, interesting, I've installed my Live now (it rocks - I never knew sound could be so good!!) , and again sound was a bit behind. So, from the console I set _snd_mixahead -0.11 (ie: Negative 0.11) - this works great, sound is now right on time. However, if I exit the game and try to re-enter it will not start. I have to edit config.cfg and set _snd_mixahead back to a positive value before it will start again.
Ahh, oh well, I can handle that little bit for perfect sounds. Oh, did I say perfect? That may be because the Radio sounds work 100%.... Z||000012||salacious||12-29-2000||09:04 PM||manahead@yahoo.com||Maybe you could try putting +_snd_mixahead 1 in your halflife start string rather than changing it in your cfg every time Z||000013||crazney||12-29-2000||10:50 PM||dhammerton@labyrinth.net.au||what mod are you playing? CS yer?
if so, dont forget to put the _snd_mixahead in both valve/config.cfg AND cstrike/config.cfg
oh, HOW ON EARTH didja get radio sounds working? do u have an install have windows by any chance or what?
crazney Z||000014||slycer||12-30-2000||09:36 PM||fuchs@telusplanet.net||I have no idea why my radio sounds work.. truly strange. This is a clean wine install of half-life - I have windows on my machine but I chose to not let linux know about it.
I really don't have a clue why they work. I use wine version 20001202, and am running the latest half-life, kernel ver (as mentioned) is test-12. *shrug* I wish I knew why, but I've done nothing special.