How to fix sound in wolfenstein Enemy Territory
I installed wolf:et, and i cant get sound to work. Everything that i have installed is in default paths, i had 10.4 and then upgraded to 10.10 via software update gui. I had sound working in 10.04 with method under 2.
I have tried following
-
killall esd; et; esd
with that i get
------- sound initialization -------
/dev/adsp: No such file or directory
Could not open /dev/adsp
------------------------------------ -
sudo -i
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
exitwith that i get
bash: /proc/asound/card0/pcm0p/oss: No such file or directory
and indeed i do not have that, i have only sub0 and sub1 in pcm0p I have tried running et with et-sdl-sound script, but with that i get this output in console
http://pastebin.com/J7gRU1uh
I have probably messed up sdl libraries, could not get sound to work, so downloaded new from debian package site and installed them.Tried setting
SDL_AUDIODRIVER="pulse"
inet-sdl-sound
, looks like i am getting same error as in method 3.-
pasuspender -- et +set s_alsa_pcm plughw:0
gives me
------- sound initialization -------
/dev/adsp: No such file or directory
Could not open /dev/adsp
_------------------------------------
Misc: @Oli: i do not know if i am running pulse or esd, how can i check that?
I got tired of rebooting to windows just to play wolf-et, so i tried doing clean install of ubuntu 10.10 (maverick).
And after that I just installed Wolfenstein: ET from playdeb and everything works great. http://www.playdeb.net/software/Enemy%20Territory
Not sure why you're running esd
. I thought that was kicked out years ago for PulseAudio. If you don't have PulseAudio, I probably wouldn't follow the rest of this answer.
First, make sure SDL can talk directly to Pulseaudio:
sudo apt-get install libsdl1.2debian:i386 libsdl1.2debian
Then with the et-sdl-sound
script, change SDL_AUDIODRIVER="alsa"
to SDL_AUDIODRIVER="pulse"
.
Sound should magically start flowing into your ears and life will be much better.
Some people have also in the past had success with temporarily killing PulseAudio (to release the hardware) and manually setting the driver:
pasuspender -- et +set s_alsa_pcm plughw:0
I bored to try to fix sound and desided to try to install wolfenstein enemy territory with wine.
It work (have some problems, but mostly work like it should be, with sound).
Here how you can install it:
-
Install wine (if do not have it).
-
Download wolfenstein et client for windows (Here: http://www.splashdamage.com/content/download-wolfenstein-enemy-territory). Extract it somewhere safe, like homefolder, and open terminal.
Type: cd path to WolfET_2_60b_custom.exe file (example: cd /home/workspace ). Then do: wine WolfET_2_60b_custom.exe (wine open windows installer, run it).
-
Download punkbuster and keygenerator (Here: http://etkey.org/pages/punkbuster/auto---install-for-windows-by-harlekin.php) Extract it and rightclick ET_PBSetup.exe and run with wine (install it in to wolfenstein folder).
-
In your system, navigate in to /.wine/dosdevices/c:/Program Files/Wolfenstein (or there where you have installed wolfenstein et), rightclick et.exe and make link. Cut link, and paste it on to workspace.
-
Reboot, lock in, doubleclick link_to_et.exe on your workspace, and have fun with et.