Linux - GamesThis forum is for all discussion relating to gaming in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Well i installed, Enemy Terroritory and it runs great, alot better then windows. but, im having a sound problem, ive got music, and movie sound on my desktop, but in game, i cant hear anything. and im very confused about the whole situtation. so if anyone else has fixed this problem please let me know how to fix it.
Ok, I found that Fedora Core 4 has the alsa package installed by default. So on the console type "alsamixer" w/o quotes, this should allow you to check your alsa settings, maybe something is muted or needs to be turned up.
------- sound initialization -------
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Sound memory manager started
Sys_LoadDll(/home/Constantine/.etwolf/etmain/ui.mp.i386.so)...
Sys_LoadDll(/home/Constantine/.etwolf/etmain/ui.mp.i386.so) failed:
"/home/Constantine/.etwolf/etmain/ui.mp.i386.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(/usr/local/games/enemy-territory/etmain/ui.mp.i386.so)... ok
Sys_LoadDll(ui) found **vmMain** at 0xee08bf40
Sys_LoadDll(ui) succeeded!
it seems. that it doesnt see my sound file, because well i cant run any i386 on fedora core 64 bit.
This is a common problem, you have to do some of the steps described here before running the game. http://www.alsa-project.org/~iwai/OSS-Emulation.html
If this doesn't get you going let us know, there's some other things to try.
Edit: Ok, I've added my startup script below that shows how to start glquake,
another one of ID games that has the same issue.
Code:
#!/bin/sh
cd /usr/local/games/quake/QUAKE
# http://www.alsa-project.org/~iwai/OSS-Emulation.html
if ! grep "glquake" /proc/asound/card0/pcm0p/oss >/dev/null; then
if [ "`whoami`" != "root" ]; then
echo "You have to be root to setup the alsa's oss emulation first."
exit 1
fi
echo "glquake 0 0 direct" >/proc/asound/card0/pcm0p/oss
echo "glquake 0 0 disable" >/proc/asound/card0/pcm0c/oss
echo "alsa's oss emulation setup, re-run as normal user."
exit 0
fi
if [ "`whoami`" = "root" ]; then
echo "Must run as normal user."
exit 1
fi
if pgrep artsd >/dev/null || pgrep esd >/dev/null; then
killall artsd >/dev/null 2>&1
killall esd >/dev/null 2>&1
sleep 1
fi
mygamma="1.5"
if [ -z "$1" ]; then
xgamma -gamma "$mygamma"
./glquake
xgamma -gamma 1
elif [ -d "$1" ]; then
xgamma -gamma "$mygamma"
./glquake -game "$1"
xgamma -gamma 1
fi
In my case with glquake (don't have ET installed anymore) I can start the game with
Code:
cd /usr/local/games/quake/QUAKE
./glquake -game rogue
But this won't work, the sound will not play in the game and the console shows the same error message you described.
However I can run several commands to properly setup the OSS emulation in ALSA, then it works. I placed all those commands in the script I posted earlier and that is the script I run to start my game.
That script won't work for you as I posted it because it its customized for glquake, not ET. So I wanted to take a look at your script, assuming you took mine and edited it for working with your ET game.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.