PDA

View Full Version : [ubuntu] UT2004 (Error: Audio initialization failed)



The-Don
June 23rd, 2009, 11:37 PM
Howdy,
I've scanned all of the Internets but I cannot find a solution that works for me. In the logfile at the end I'm getting:

Error: Audio initialization failed



Latest UT version of course (megapack).
Latest 9.04 Jaunty of course.
OpenAL is the only option in UT2004.
I can listen to mp3's, dvd's, YouTube...just not UT2004.
It was working last night :\

Thanks in advance guys.

P.S.
A lot of symlink talking...assume I don't know how to do that :\

izizzle
June 23rd, 2009, 11:42 PM
Do you have OpenAL installed?


sudo apt-get install libopenal1

The-Don
June 23rd, 2009, 11:47 PM
<username>@Computer:~$ sudo apt-get install libopenal1
[sudo] password for <username>:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libopenal1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
<username>@Computer:~$

:(

The-Don
June 24th, 2009, 07:04 PM
FIXED
:popcorn:


sudo nautilis
Copy libopenal.so.1.4.272 from /usr/lib to /usr/local/games/ut2004/System
Rename libopenal.so.1.4.272 to openal.so

Sorted :D

sam99969
March 26th, 2011, 12:09 AM
FIXED
:popcorn:


sudo nautilisCopy libopenal.so.1.4.272 from /usr/lib to /usr/local/games/ut2004/System
Rename libopenal.so.1.4.272 to openal.so

Sorted :D

Now the final numbers are other but it works!! Thank you

mgmiller
May 7th, 2012, 03:31 AM
In 64 bit Precise (12.04) the files have moved around and changed their versions.

In 64 bit Precise (12.04) You need to fix the openal.so symlink in ~/ut2004/System
you need to link to the 32 bit version which is now in: /usr/lib/i386-linux-gnu/libopenal.so.1.1.13.0
So:

gksudo nautilus
to get a root browser and navigate to: /usr/lib/i386-linux-gnu/libopenal.so.1.1.13.0
Right click it and Make Link.
Move the link to ~/ut2004/System
Rename the link openal.so

To finish getting the sound working, edit ~/.UT2004/system/UT2004.ini

Go to the area:
[ALAudio.ALAudioSubsystem]

and change this:
UseEAX=False
Use3DSound=False
UseDefaultDriver=True
CompatibilityMode=False

To this:
UseEAX=True
Use3DSound=False
UseDefaultDriver=False
CompatibilityMode=False


Also (to fix scratchy sound) change:
channels=32

to:
channels=72

save the file and sound should now be good.

:guitar: