“UbuntuHelp:Cube”的版本间的差异
来自Ubuntu中文
小 (New page: {{From|https://help.ubuntu.com/community/Cube}} {{Languages|php5}} Parent: UbuntuHelp:Games [http://www.cubeengine.com/ Cube] is a free open-source First Person Shooter (FPS). == Dow...) |
小 |
||
(未显示2个用户的8个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/Cube}} | {{From|https://help.ubuntu.com/community/Cube}} | ||
− | {{Languages| | + | {{Languages|UbuntuHelp:Cube}} |
− | Parent: [[UbuntuHelp:Games]] | + | Parent: [[UbuntuHelp:Games|Games]] |
− | + | ||
[http://www.cubeengine.com/ Cube] is a free open-source First Person Shooter (FPS). | [http://www.cubeengine.com/ Cube] is a free open-source First Person Shooter (FPS). | ||
− | |||
== Download == | == Download == | ||
You can download it from the [http://sourceforge.net/project/showfiles.php?group_id=91993 Cube webpage]. | You can download it from the [http://sourceforge.net/project/showfiles.php?group_id=91993 Cube webpage]. | ||
− | |||
== Installation == | == Installation == | ||
Untar it with the following command | Untar it with the following command | ||
<pre><nowiki> | <pre><nowiki> | ||
tar -xvvf cube_YYYY_MM_DD_unix.tar.gz | tar -xvvf cube_YYYY_MM_DD_unix.tar.gz | ||
− | </nowiki></ | + | </nowiki></pre> |
− | + | ||
(e.g - tar xvvf cube_2005_08_29_unix.tar.gz). | (e.g - tar xvvf cube_2005_08_29_unix.tar.gz). | ||
− | |||
− | |||
== Start Cube == | == Start Cube == | ||
First, get in to the directory which was created when you untarred Cube (by default this is called '''cube'''). | First, get in to the directory which was created when you untarred Cube (by default this is called '''cube'''). | ||
<pre><nowiki> | <pre><nowiki> | ||
cd cube/ | cd cube/ | ||
− | </nowiki></ | + | </nowiki></pre> |
− | + | ||
Now, you can start the game with the following command. | Now, you can start the game with the following command. | ||
<pre><nowiki> | <pre><nowiki> | ||
./cube_unix | ./cube_unix | ||
− | </nowiki></ | + | </nowiki></pre> |
− | + | ||
If the script wont run, you may need to chmod it first. | If the script wont run, you may need to chmod it first. | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo chmod a+x cube_unix | sudo chmod a+x cube_unix | ||
− | </nowiki></ | + | </nowiki></pre> |
− | + | ||
== Configuration == | == Configuration == | ||
You can make more changes in the configuration file <code><nowiki>autoexec.cfg</nowiki></code>, which is in the cube directory. | You can make more changes in the configuration file <code><nowiki>autoexec.cfg</nowiki></code>, which is in the cube directory. | ||
− | + | == Troubleshooting == | |
− | == | + | |
If you get the following error messages: | If you get the following error messages: | ||
<pre><nowiki> | <pre><nowiki> | ||
./linux_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory | ./linux_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory | ||
− | </nowiki></ | + | </nowiki></pre> |
you have to install the missing library: <code><nowiki>sudo apt-get install libsdl-image1.2</nowiki></code> | you have to install the missing library: <code><nowiki>sudo apt-get install libsdl-image1.2</nowiki></code> | ||
− | |||
or | or | ||
<pre><nowiki> | <pre><nowiki> | ||
./linux_client: error while loading shared libraries: libSDL_mixer-1.2.so.0: cannot open shared object file: No such file or directory | ./linux_client: error while loading shared libraries: libSDL_mixer-1.2.so.0: cannot open shared object file: No such file or directory | ||
− | </nowiki></ | + | </nowiki></pre> |
you have to install the missing library: <code><nowiki>sudo apt-get install libsdl-mixer1.2</nowiki></code> | you have to install the missing library: <code><nowiki>sudo apt-get install libsdl-mixer1.2</nowiki></code> | ||
− | + | or | |
+ | <pre><nowiki> | ||
+ | ./linux_client: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory | ||
+ | </nowiki></pre> | ||
+ | you have to install the missing library: <code><nowiki>sudo apt-get install libstdc++5-3.3-dev</nowiki></code> | ||
Credits: [http://www.ubuntu-de.org/wiki/spiele:anleitungen:cube UbuntuUsers.de] | Credits: [http://www.ubuntu-de.org/wiki/spiele:anleitungen:cube UbuntuUsers.de] | ||
---- | ---- | ||
− | CategoryGames | + | [[category:CategoryGames]] |
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年10月19日 (日) 22:25的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
Parent: 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
or
./linux_client: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
you have to install the missing library: sudo apt-get install libstdc++5-3.3-dev
Credits: UbuntuUsers.de