Cube
出自Ubuntu中文
原文出处:
原文作者:
授权许可:创作共用协议Attribution-ShareAlike 2.0 GNU自由文档许可证
翻译人员:IdeaLee
校对人员:
贡献者:
适用版本: 文章状态:完成
Cube是一个自由的、开源的第一人称射击游戏 (FPS).
目录 |
下载
你可以从 Cube webpage 下载。
安装
使用下列命令解压
tar -xvvf cube_YYYY_MM_DD_unix.tar.gz
(例如: - tar xvvf cube_2005_08_29_unix.tar.gz).
开始 Cube
首先, 进入你刚才解压 Cube 所的到的目录 (默认叫做 cube).
cd cube/
现在,你可以用下列命令开始游戏
./cube_unix
如果脚本没有运行,你可能需要先修改它的权限。
sudo chmod a+x cube_unix
配置
你可以在配置文件autoexec.cfg中做很多修改,它在cube目录中。
麻烦
如果你遇到下面的错误信息:
./linux_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory
你需要安装游戏所需的库: sudo apt-get install libsdl-image1.2
或者
./linux_client: error while loading shared libraries: libSDL_mixer-1.2.so.0: cannot open shared object file: No such file or directory
你需要安装游戏所需的库: sudo apt-get install libsdl-mixer1.2
感谢: UbuntuUsers.de
下面是原文----
Cube is a free open-source First Person Shooter (FPS).
Download
You can download it from the Cube webpage.
Installation
Untar it with the following command
tar -xvvf cube_YYYY_MM_DD_unix.tar.gz
(e.g - tar xvvf cube_2005_08_29_unix.tar.gz).
Start Cube
First, get in to the directory which was created when you untarred Cube (by default this is called cube).
cd cube/
Now, you can start the game with the following command.
./cube_unix
If the script wont run, you may need to chmod it first.
sudo chmod a+x cube_unix
Configuration
You can make more changes in the configuration file autoexec.cfg, which is in the cube directory.
Troublehsooting
If you get the following error messages:
./linux_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory
you have to install the missing library: sudo apt-get install libsdl-image1.2
or
./linux_client: error while loading shared libraries: libSDL_mixer-1.2.so.0: cannot open shared object file: No such file or directory
you have to install the missing library: sudo apt-get install libsdl-mixer1.2
Credits: UbuntuUsers.de
文章来源:官方WIKI
翻译人员:
校对人员:
文章状态:完成
