特殊:Badtitle/NS100:Cube

来自Ubuntu中文
Wikibot留言 | 贡献2007年12月6日 (四) 10:26的版本
跳到导航跳到搜索

{{#ifexist: :Cube/zh | | {{#ifexist: Cube/zh | | {{#ifeq: {{#titleparts:Cube|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Cube|1|-1|}} | zh | | }}

Parent: UbuntuHelp:Games 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.

Troubleshooting

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