请高手帮忙解决《重返德军总部》没有声音的问题!

游戏讨论
回复
mouse21
帖子: 107
注册时间: 2006-12-19 10:14
送出感谢: 0
接收感谢: 0

请高手帮忙解决《重返德军总部》没有声音的问题!

#1

帖子 mouse21 » 2007-03-13 23:53

在论坛上搜了一下,没有发现解决的方法,倒是看到很多TX出现这种情况。请走过路过的高手们,说说有什么可能的解决办法么?谢谢!
头像
npnufn
帖子: 1845
注册时间: 2005-10-14 15:56
送出感谢: 0
接收感谢: 7 次

#2

帖子 npnufn » 2007-03-17 8:36

同问,望知道的指教
头像
npnufn
帖子: 1845
注册时间: 2005-10-14 15:56
送出感谢: 0
接收感谢: 7 次

#3

帖子 npnufn » 2007-03-17 9:30

Sound Issues

There are a few methods you can try if you are having problems with sound:
Method 1

You can try stopping the ESD sound server before running the game by running:

killall esd; et; esd

If this works for you then you can create a script to run it. To do this create a new text file called start-et and add these lines to it:

#!/bin/sh
killall esd
et
esd
exit 0

Now save the file and you will need to run these commands to make it executable and to put it somewhere in your user's $PATH variable (so that it can be executed by just typing it's name):

chmod a+x start-et
sudo cp start-et /usr/local/games

If you don't want to put it in /usr/local/games you don't have to, but remember to specify whatever path you decide to give it whenever you execute it (some paths can use shortcuts, like ./start-et for the current directory, ~/start-et for your Home directory, etc.)
Method 2

If you don't hear any sound and see the following error message in a terminal:

/dev/dsp: Input/output error
Could not mmap /dev/dsp

You will need to do the following in addition to the steps above:

sudo -i
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
exit

This makes the script slightly more complicated, since parts of it will need to be run with superuser priviledges. To use the above commands in the star-et script described in Method 1 you should make it look like this:

#!/bin/bash
gksudo echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
gksudo echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
killall esd
et
esd
exit 0

Then use the commands to give it execute permissions and to put it in /usr/local/games.
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙
送出感谢: 4 次
接收感谢: 256 次

#4

帖子 eexpress » 2007-03-17 14:35

以前才有问题啊。是quake3的问题啊。现在还有?
gnome是禁用esd
kde是禁用art
● 鸣学
mouse21
帖子: 107
注册时间: 2006-12-19 10:14
送出感谢: 0
接收感谢: 0

#5

帖子 mouse21 » 2007-03-18 19:59

谢谢啊!明天我试试!不懂还要问你们哦!
头像
suncanoe
帖子: 476
注册时间: 2005-12-07 0:17
来自: 昆明
送出感谢: 0
接收感谢: 0

#6

帖子 suncanoe » 2007-03-29 13:33

谢谢三楼
tellno
帖子: 53
注册时间: 2006-12-16 13:07
来自: 浙江
送出感谢: 0
接收感谢: 0

#7

帖子 tellno » 2007-03-31 12:06

解决ET无声
2.) Fix sound by adding settings to startup scripts:

To fix the sound problems, add the following three lines to your /etc/init.d/bootmisc.sh file:

#-----------------------
# fix sound for Quake 3 and Enemy Territory
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
#------------------------
mouse21
帖子: 107
注册时间: 2006-12-19 10:14
送出感谢: 0
接收感谢: 0

#8

帖子 mouse21 » 2007-04-10 10:55

报告:按照七楼的方法可以完美的解决问题,其他的方法没有实验过!报告完毕!
回复

回到 “游戏和游戏模拟器”