感谢支持
我们一直在努力

Ubuntu7.10下游戏ET(EnemyTerritory深入敌后)的安装

Ubuntu7.10下游戏ET(EnemyTerritory深入敌后)的安装


  升级到Ubuntu7.10已经一段时间,一直在找好玩的游戏,最后选择了ET(EnemyTerritory 深入敌后)作为第一游戏。选择ET的原因就是免费+多人玩(但国内的太少了-_-!),当然最大原因还是Linux下支持的很好。


  EnemyTerritory游戏下载及安装见下一页(英文?!)


  安装xqf:


  xqf是一个自动搜索游戏服务器的列表的软件,ubuntu.cn源里有下载,加源后直接用新立得搞掂。安装完之后,设定过滤、ET游戏的设定,不难。不过,记住一定要连接国内的服务器,否则下载地图的时候会很难受!


  彩色名字:


  字母前面加“^+数字0-9”:^0 = Black, ^1 = Red, ^2 = Green, ^3 = Yellow, ^4 = Blue, ^5 = Light Blue, ^6 = Violet, ^7 = White, ^8 = Orange, ^9 = Grey。不过不同的服务器会有不同的颜色设定。


  go!go!go! 开始游戏吧!


  这次真的对得起我的显卡了~~

EnemyTerritory
Parent: Games
 
Requirements
You will need an accelerated 3D graphics card driver. If you have an Nvidia or ATI graphics card, and an accelerated driver was not enabled by default, then you can read instructions for obtaining a proprietary driver in BinaryDriverHowto


libgtk1.2 must also be installed. You can install it by running this command in a terminal: sudo apt-get install libgtk1.2


Download
Full game
Download the game either from  FileShack


or directly with the command:


wget -c http://ftp.games.skynet.be/pub/wolfenstein/et-linux-2.60.x86.run
Patch
If you have already installed an older Enemy Territory version then you can download a patch to update it. Patches are available for download from  FileShack


or directly with the command:


wget -c http://ftp.games.skynet.be/pub/wolfenstein/et-linux-2.60-update.x86.run
You may need to check on  FileShack to see if a newer version is available than this.


Installation
Full Game
The file you have downloaded is an installer, which can be run from a terminal with the command (adjusting versions where necessary):


sudo sh ./et-linux-2.60.x86.run
and a GUI should appear to help you through the process. (By default Punk Buster is selected. This is needed to join a lot of servers). If it does not run then you may need to check the Troubleshooting section below.


Updating Old Versions If Necessary
To apply the patch you have downloaded, you should run the file from where you have downloaded it with the command:


sudo sh ./et-linux-2.60-update.x86.run
(Adjusting the version where necessary). If it does not run then you may need to check the Troubleshooting section below.


Running The Game
The installer will create a menu entry called Applications->Other->Enemy Territory. You can either use this as it is, or put it in a more sensible location (such as Applications->Games->Enemy Territory) with the Alacarte Menu Editor which you can find in Applications->Accessories.


Alternatively you can run it from a terminal with the command:


et
Troubleshooting
Permission Errors
Downloaded files do not have permission to execute by default, but you can change this with these commands:


sudo chmod +x et-linux-2.60.x86.run
sudo chmod +x et-linux-2.60-update.x86.run
(Adjusting the version as necessary).


Downloading Maps
Verify that the directory for downloaded maps is accessible and writable by your user. If you do not do this, you will be unable to download and install the maps and other files you need to join games!


sudo chown -R user:group ~/.etwolf/
Replace user:group with your own username and group (usually these are the same).


Sound Issues
If you’re not hearing any sound from Enemy Territory, then the ESD sound server may be having problems. You may need to install extra files for this to work. Install the esound package like so:


sudo apt-get install esound
If this does not work there are a few methods you can try:


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.


Making Startup Scripts More Friendly
If either of the above scripts fix your problem then you can add them to the system’s menu using the Alacarte Menu Editor in Applications->Accessories. Go to a suitable location such as Games and make a new entry. It’s Command should be start-et (as long as it is in /usr/local/games. If you put it somewhere else then put the whole path), set the icon, name, etc. to what you want then press OK. To avoid confusion you should also disable the old Enemy Territory entry which was added by the installer by unticking the box next to it in Alacarte.


See Also
 Forum Thread A useful thread in the Ubuntu Forums which may be useful if you are still having problems.

赞(0) 打赏
转载请注明出处:服务器评测 » Ubuntu7.10下游戏ET(EnemyTerritory深入敌后)的安装
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏