You are not logged in.
There's tons of discussion to be found on et-sdl-sound and its various known issues. I've read all of it and am still at a loss. et-sdl-sound is supposed to add ALSA (or Pulse) support to Enemy Territory. My problem is simply this:
I execute et-sdl-sound. Enemy Territory has no sound. I check the console output and it contains:
------- sound initialization -------
/dev/dsp: No such file or directory
Could not open /dev/dsp
------------------------------------
...the same as when I start ET without et-sdl-sound, which tells me it's still looking for OSS, even though my unaltered et-sdl-sound file contains:
SDL_AUDIODRIVER="alsa"
ALSA is working perfectly on my system, as far as I'm aware. I have sound, alsamixer works and detects my card, etc.
Can anyone help? Thanks.
Edit: I should mention that I have installed the appropriate SDL libraries. et-sdl-sound wouldn't execute if I hadnn't.
Last edited by vdrachtseq (2014-07-12 01:44:20)
Offline
Load modules for oss emulation so that /dev/dsp is created:
#Alsa OSS Emulation
snd-pcm-oss
snd-mixer-oss
snd-seq-oss
Offline
I would much rather do this without OSS, and instead find out why et-sdl-sound isn't working (using ALSA) if possible.
Offline
I just got this working yesterday. The OSS modules didn't work for me but following a couple of the comments in the AUR for et-sdl-sound did.
Install et-sdl-sound from the AUR the usual way. Then make a new package using the PKGBUILD from drelyn86 on 2013-02-10 along with the "260b-hardcode.patch" file from brenix on 2013-05-12. Put these together and install the resulting package:
--> pacman -Ql et-sdl-sound-260b-hardcode
et-sdl-sound-260b-hardcode /usr/
et-sdl-sound-260b-hardcode /usr/bin/
et-sdl-sound-260b-hardcode /usr/bin/et-260b.sdl
Run Enemy Territory using this new shell script and you should have sound. Adlerweb's solution might be more elegant but I haven't tried it.
Offline
Hello, I've just read you topic on the forum.
I'm trying to use same solution as you did but I'm having some problems.
I downloaded those two files from Drelyn's comment on AUR website:
PKGBUILD: http://pastebin.com/PG9nVxMi
patch: http://pastebin.com/b4ihEJWa
So I've got those files in one directory:
- PKGBUILD
- 260b-hardcode.patch
(from Drelyn)
and
- enemy-territory.sh
- 0001-Added-various-Arch-Linux-patches.patch
- .SRCINFO
(from et-sdl-sound on AUR website)
And when I try to makepkg it shows me:
$ makepkg enemy-territory.sh
==> ERROR: Missing package() function in /home/kujaw/wolf_et/et-sdl-sound-260b-hardcode/PKGBUILD
==> ERROR: An unknown error has occurred. Exiting...
Could you navigate me how to use this hardcoded patch to get ET finally working 100%?
Offline
Pacman / makepkg have had some changes, the PKGBUILD needs to be adapted .
as this uses git sources, check https://wiki.archlinux.org/index.php/PKGBUILD and https://wiki.archlinux.org/index.php/VC … guidelines .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline