Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ut2004 without OSS emulation?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Mon May 14, 2007 12:28 am    Post subject: ut2004 without OSS emulation? Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon May 14, 2007 1:34 am    Post subject: Reply with quote

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
View user's profile Send private message
xanas3712
Guru
Guru


Joined: 15 Oct 2004
Posts: 455

PostPosted: Mon May 14, 2007 1:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Mon May 14, 2007 4:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum