特殊:Badtitle/NS100:Cube
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Cube }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/af | • {{#if: UbuntuHelp:Cube|Afrikaans| [[::Cube/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/ar | • {{#if: UbuntuHelp:Cube|العربية| [[::Cube/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/az | • {{#if: UbuntuHelp:Cube|azərbaycanca| [[::Cube/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/bcc | • {{#if: UbuntuHelp:Cube|جهلسری بلوچی| [[::Cube/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/bg | • {{#if: UbuntuHelp:Cube|български| [[::Cube/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/br | • {{#if: UbuntuHelp:Cube|brezhoneg| [[::Cube/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/ca | • {{#if: UbuntuHelp:Cube|català| [[::Cube/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/cs | • {{#if: UbuntuHelp:Cube|čeština| [[::Cube/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/de | • {{#if: UbuntuHelp:Cube|Deutsch| [[::Cube/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/el | • {{#if: UbuntuHelp:Cube|Ελληνικά| [[::Cube/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/es | • {{#if: UbuntuHelp:Cube|español| [[::Cube/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/fa | • {{#if: UbuntuHelp:Cube|فارسی| [[::Cube/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/fi | • {{#if: UbuntuHelp:Cube|suomi| [[::Cube/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/fr | • {{#if: UbuntuHelp:Cube|français| [[::Cube/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/gu | • {{#if: UbuntuHelp:Cube|ગુજરાતી| [[::Cube/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/he | • {{#if: UbuntuHelp:Cube|עברית| [[::Cube/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/hu | • {{#if: UbuntuHelp:Cube|magyar| [[::Cube/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/id | • {{#if: UbuntuHelp:Cube|Bahasa Indonesia| [[::Cube/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/it | • {{#if: UbuntuHelp:Cube|italiano| [[::Cube/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/ja | • {{#if: UbuntuHelp:Cube|日本語| [[::Cube/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/ko | • {{#if: UbuntuHelp:Cube|한국어| [[::Cube/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/ksh | • {{#if: UbuntuHelp:Cube|Ripoarisch| [[::Cube/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/mr | • {{#if: UbuntuHelp:Cube|मराठी| [[::Cube/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/ms | • {{#if: UbuntuHelp:Cube|Bahasa Melayu| [[::Cube/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/nl | • {{#if: UbuntuHelp:Cube|Nederlands| [[::Cube/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/no | • {{#if: UbuntuHelp:Cube|norsk| [[::Cube/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/oc | • {{#if: UbuntuHelp:Cube|occitan| [[::Cube/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/pl | • {{#if: UbuntuHelp:Cube|polski| [[::Cube/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/pt | • {{#if: UbuntuHelp:Cube|português| [[::Cube/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/ro | • {{#if: UbuntuHelp:Cube|română| [[::Cube/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/ru | • {{#if: UbuntuHelp:Cube|русский| [[::Cube/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/si | • {{#if: UbuntuHelp:Cube|සිංහල| [[::Cube/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/sq | • {{#if: UbuntuHelp:Cube|shqip| [[::Cube/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/sr | • {{#if: UbuntuHelp:Cube|српски / srpski| [[::Cube/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/sv | • {{#if: UbuntuHelp:Cube|svenska| [[::Cube/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/th | • {{#if: UbuntuHelp:Cube|ไทย| [[::Cube/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/tr | • {{#if: UbuntuHelp:Cube|Türkçe| [[::Cube/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/vi | • {{#if: UbuntuHelp:Cube|Tiếng Việt| [[::Cube/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/yue | • {{#if: UbuntuHelp:Cube|粵語| [[::Cube/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/zh | • {{#if: UbuntuHelp:Cube|中文| [[::Cube/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/zh-hans | • {{#if: UbuntuHelp:Cube|中文(简体)| [[::Cube/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Cube | UbuntuHelp:Cube | {{#if: | :}}Cube}}/zh-hant | • {{#if: UbuntuHelp:Cube|中文(繁體)| [[::Cube/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Cube|:Cube|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#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