View previous topic :: View next topic |
Author |
Message |
Napalm Llama Guru
Joined: 04 Jun 2005 Posts: 533 Location: Cardiff, UK
|
Posted: Mon May 14, 2007 12:28 am Post subject: ut2004 without OSS emulation? |
|
|
I've just spent about half an hour trawling through various forum posts about sound in ut2k4, but still not found the answer to my question:
Is it possible to make Unreal Tournament use ALSA natively for its sound output?
My only lead is the openalrc file, where you can set "(define devices '(alsa))". This, however, appears to do nothing. I've copied newly-compiled libopenal.so and libSDL-1.2.so.0 into /opt/ut2004/System/, all to no avail.
Every time I start the game, I see this:
Code: | nl@splig ~ $ ut2004
open /dev/[sound/]dsp: No such file or directory |
Is UT this hopelessly tied to OSS, or is it actually possible to do something about it?? _________________ Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Mon May 14, 2007 1:34 am Post subject: |
|
|
You're not trying hard enough.
Code: | rm /dev/dsp
rm /dev/sound/dsp |
Then in ~/.openalrc
Code: | (define devices '(sdl)) |
And ut2004 works, with sound.
This probably doesn't answer your question though. All I can suggest is trawling through the openal source code |
|
Back to top |
|
|
xanas3712 Guru
Joined: 15 Oct 2004 Posts: 455
|
Posted: Mon May 14, 2007 1:47 am Post subject: |
|
|
I don't recall if ut2004 supports also natively or not but have you tried running it with aoss32 or aoss? A few games work just fine for me that way that I can't get to work properly using alsa directly. Sort of odd but it works. |
|
Back to top |
|
|
Napalm Llama Guru
Joined: 04 Jun 2005 Posts: 533 Location: Cardiff, UK
|
Posted: Mon May 14, 2007 4:43 pm Post subject: |
|
|
I'm afraid neither of those do anything. There never were any /dev/dsp or /dev/sound devices (I have OSS emulation compiled as modules, and they were unloaded).
I also get the exact same error message if I use aoss. What is it supposed to do, exactly? _________________ Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans |
|
Back to top |
|
|
|