PDA

View Full Version : Cube


unikum
November 24th, 2004, 10:56 AM
How to install and get it working? I dont get it :cry:

I unpacked it to ~/home/unikum/

jdong
November 24th, 2004, 10:59 AM
What the heck is cube?

unikum
November 24th, 2004, 01:30 PM
A game.

http://www.cubeengine.com/

jdong
November 24th, 2004, 05:49 PM
Thanks. Download right now. It's a source tarball, so most likely it'll be a make; make install ordeal.

Let me check that first!

jdong
November 24th, 2004, 05:53 PM
nope -- it's a binary release.... Here we go:

1. Move cube to /opt: sudo mv ~/cube /opt
2. Edit /opt/cube/cube_unix.
Line 2: CUBE_DIR=/opt/cube
3. Link over: sudo ln -s /opt/cube/cube_unix /usr/local/bin/cube
4. Execute: cube

Enjoy!
P.S. it really looks cool! testing right now!

plasmo
November 24th, 2004, 06:18 PM
for cube i think youll also need the lib sdl
which can be installed from apt

franx
December 1st, 2004, 12:09 AM
jdong, I downloaded and extracted Cube to /home/franx and then followed your directions, but when I typed in "cube" to launch, I got this:

franx@ubuntu:~ $ cube
/opt/cube/bin_unix/ppc_linux_client: error while loading shared
libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No
such file or directory
franx@ubuntu:~ $

Any advice on what I'm doing wrong?

Fran

HungSquirrel
December 1st, 2004, 12:39 AM
jdong, I downloaded and extracted Cube to /home/franx and then followed your directions, but when I typed in "cube" to launch, I got this:

franx@ubuntu:~ $ cube
/opt/cube/bin_unix/ppc_linux_client: error while loading shared
libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No
such file or directory
franx@ubuntu:~ $

Any advice on what I'm doing wrong?

Fran
sudo apt-get install libstdc++5 ought to do the trick.

regeya
December 1st, 2004, 12:56 AM
What the heck is cube?

Man, I was about to post a witty "hey, why not apt-get search for it" then did it myself. No Cube! I must have been thinking back to my Gentoo days, where an emerge -s would have given me the info. Huh. :)

franx
December 1st, 2004, 08:05 AM
hung squirrel, did as you suggested. now I get this:

franx@ubuntu:~ $ cube
/opt/cube/bin_unix/ppc_linux_client: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory

Sorry to be a pest, but I've played this game in OSX and it's quite good. Would really love to run it under Ubuntu.

Fran

p!=f
December 1st, 2004, 10:39 AM
franx@ubuntu:~ $ cube
/opt/cube/bin_unix/ppc_linux_client: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
Fran

sudo apt-get install libstdc++2.10-glibc2.2 libsdl-{image,mixer}1.2

IAmNotPhillip
December 4th, 2004, 10:12 PM
Ok. I am able to get this game to run, but only at unplayable levels (ie: 5 FPS). My computer may not be the best, but I certainly have played more graphically demanding games faster than this. Maybe it's because I'm using integrated graphics? I'm not sure, I'm still fairly new to Linux.

Also, whenever I use the command Cube from the /opt/cube directory, it starts fine. But when I try to start it from anywhere else, it always says
phillip@ubuntu:~ $ cube
/usr/local/bin/cube: line 39: /home/phillip/bin_unix/linux_client: No such file or directory
/usr/local/bin/cube: line 39: exec: /home/phillip/bin_unix/linux_client: cannot execute: No such file or directory
phillip@ubuntu:~ $

jdong
December 4th, 2004, 10:41 PM
You MUST edit the /usr/local/bin/cube file, there's variables in there holding bogus pathnames!!

IAmNotPhillip
December 5th, 2004, 07:37 AM
I actually already did that...I just accidently had a typo.
Stupid me >.<

Anyway, now that's fixed, any ideas on my framerate issues?

panickedthumb
December 5th, 2004, 10:38 AM
Have you tried other 3d games? It could be because your graphics driver isn't installed. If you have an nvidia or ati onboard card, there are howtos in the HOWTO section for installing those. Most likely, however, you'll have an intel card, and I've never touched those so I dunno what to do to get those drivers set up

IAmNotPhillip
December 5th, 2004, 03:17 PM
I have tried Tribes2 via cedega, but I wasn't sure if that was because of my system, or because I haven't tweaked cedega correctly. All i know is under Windows, I am able to play it just fine. Just not under Ubuntu.

It's an integrated intel card.

Oh well, not too much of a loss. I planed on getting a better PC either this, or next month anyway. I can't wait until then. :)

shimon
February 3rd, 2005, 04:38 AM
however, you'll have an intel card, and I've never touched those so I dunno what to do to get those drivers set up

Intel has been the nice guys and GPL'd there drivers =D>

Tonio
February 4th, 2005, 12:35 PM
No problems, works...*
But how changing the resolution of the game... i'm always in 800*600 :(

kleeman
February 4th, 2005, 01:19 PM
I run at 1600x1200 as follows:

./cube_unix -w1600 -h1200

Tonio
February 4th, 2005, 02:15 PM
Yep, works!! :)

Thanx!! :) :)

soulglo83
March 12th, 2005, 10:53 AM
I recently unpacked the cube_2004_5_22.tar.gz file to my opt/ folder, meaning cube was situated in /opt/cube. i then edited the cube_unix file and updated it with the correct path. after linking the file and executing, i observed the program open then close quickly and dump me back at bash. floating point error of some sort, either way i have failed to find an answer. below is what was waiting for me in bash after the execution command line.

init: sdl
init: net
init: world
game mode is ffa/default
init: video: sdl
init: video: mode
disabling TCL support
init: video: misc
init: gl
init: basetex
init: sound
sound init failed (SDL_mixer): No available audio device
init: cfg
could not read "servers.cfg"
init: localconnect
init: mainloop
read map packages/base/metl3.cgz (254 milliseconds)
Cyclops by metlslime
game mode is ffa/default
Fatal signal: Floating Point Exception (SDL Parachute Deployed)

*EDIT* I had forgotten to include that in the event it was an issue w/ the soundcard being tied up, i killed all esd and artsd prior to execution, still same error output.

*EDIT* Can run game now, edited autoexec.cfg and gave sound and music 0 values.

buellman
March 12th, 2005, 11:44 AM
I run at 1600x1200 as follows:

./cube_unix -w1600 -h1200

you can edit the cube_unix file and go to the last line and edit like:

exec ${CUBE_DIR}/bin_unix/${MACHINE_PREFIX}${SYSTEM_PREFIX}client -w1600 -h1200 $*

for all guys with ati-cards:
go to http://sourceforge.net/project/showfiles.php?group_id=91993
and download cube_2004_06_06_linux_client_ATI_workaround.zip and follow the instructions. it solves a problem in cube with ati-cards.

hope that helps.

greets. buellman

Kemotaha
March 12th, 2005, 07:41 PM
So quick question then, How is it as a game?

What game is it most like? I don't have time to try it right now but I am always up for a new game that is fun.

buellman
March 13th, 2005, 07:01 AM
So quick question then, How is it as a game?

What game is it most like? I don't have time to try it right now but I am always up for a new game that is fun.

hi!

if you ask me: its the best game in the universe :razz: its a pretty "simple" ego-shooter that reminds of quake. surely it has not the best graphics but online it rocks like hell. just pure clean fun.
maybe you want to look at some screenshots?
http://cubeengine.com/

hope to see you guys online for a little match :smile:

greets. buellman

Kemotaha
March 13th, 2005, 02:24 PM
Sounds good. I will jump on it after april 20th. That's when I am done with finals and graduated. Yeah!!!!!

More time for fun.

ivai
March 26th, 2005, 06:22 PM
Hi, just installed ubuntu on my powerbook g4 with 1.5ghz proc. Trying to install Cube, have it in the /opt folder, have edited cube_unix, and am getting the following error:


ivai@ubuntu:~ $ cube
/opt/cube/bin_unix/ppc_linux_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory
ivai@ubuntu:~ $


thanks in advance...

kleeman
March 26th, 2005, 06:30 PM
You need to use synaptic to install libsdl-image1.2 dude! Missing libraries like this nearly always mean missing packages with similar names!

ivai
March 26th, 2005, 06:35 PM
When I search in synaptic for "sdl" all it comes back with is:

libsdl1.2debian
libsdl1.2debian-oss
libsdl1.2-dev
libsdl-mixer1.2
libsdl-mixer1.2-dev


The first three are installed and up to date.

kleeman
March 26th, 2005, 06:53 PM
Sounds as if you don't have the universe apt repository enabled.

kleeman
March 26th, 2005, 06:55 PM
Have a look in /etc/apt/sources.list. There is a comment on how to enable universe

ivai
March 26th, 2005, 06:59 PM
Thanks for the tip :)

ivai
March 26th, 2005, 07:26 PM
Grr... I've installed sdl_image1.2, but now i'm getting the same error that was posted earlier --

ivai@ubuntu:/etc/apt $ cube
/opt/cube/bin_unix/ppc_linux_client: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
ivai@ubuntu:/etc/apt $


And when I run the suggested command, i get the following as if libstdc++2.10 isn't there:


ivai@ubuntu:/etc/apt $ sudo apt-get install libstdc++2.10-glibc2.2 libsdl-{image,mixer}1.2
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package libstdc++2.10-glibc2.2
ivai@ubuntu:/etc/apt $


Thanks in advance.. I'm definitely used to portage and not apt

kleeman
March 26th, 2005, 09:51 PM
Can you see it (libstdc++2.10-glibc2.2) in synaptic? It is visible on my i386 system with universe enabled.

vamos
April 15th, 2005, 11:19 AM
nope -- it's a binary release.... Here we go:

1. Move cube to /opt: sudo mv ~/cube /opt
2. Edit /opt/cube/cube_unix.
Line 2: CUBE_DIR=/opt/cube
3. Link over: sudo ln -s /opt/cube/cube_unix /usr/local/bin/cube
4. Execute: cube

Enjoy!
P.S. it really looks cool! testing right now!


uuhm.... im sooooo noobie with linux...

you downloaded it right...
then unpacked it to some home-dir?

because if I do sudo mv ~/cube /opt
it says 'mv: cannot stat `/root/cube': Onbekend bestand of map'
does the extracted cube-game has to be in the root?
remember...I'm newbie to the bone so please be clear :))
thanks in advance _O_
(for so far I love ubuntu btw)

vamos
April 15th, 2005, 11:59 AM
sudo apt-get install libstdc++5 ought to do the trick.


this didnt work for me either...
it said:


root@vamos:/opt/cube # sudo apt-get install libstdc++5

Pakketlijsten worden ingelezen... Klaar (pakket list being read)

Boom van vereisten wordt opgebouwd... Klaar (tree of demands build)

libstdc++5 is reeds de nieuwste versie. (newest version)
0 pakketten opgewaardeerd, 0 nieuwe pakketten geïnstalleerd, 0 verwijderen en 0 niet opgewaardeerd. (nothing removed installed or updated)

root@vamos:/opt/cube # cube
./bin_unix/linux_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory

vamos
April 15th, 2005, 12:15 PM
yay it works now.... only with a lousy 25fps but it has to be possible to fix that too %)
i'll look around a bit

ploum
April 17th, 2005, 11:02 AM
Here's a cube package for Ubuntu Hoary (done by a friend)


http://pr.fritalk.com/bmp/cube_20040522-4_i386.deb

jkndrkn
June 26th, 2005, 01:47 AM
Has anyone here had any problems getting sound to work upon install?
All sound events on my computer work properly except for Cube.

minimidgy
July 6th, 2005, 02:30 AM
here is what I get:

~$ cube
init: sdl
init: net
init: world
game mode is ffa/default
init: video: sdl
init: video: mode
init: video: misc
init: gl
init: basetex
init: sound
sound init failed (SDL_mixer): No available audio device
init: cfg
could not read "servers.cfg"
init: localconnect
init: mainloop
read map packages/base/metl3.cgz (236 milliseconds)
Cyclops by metlslime
game mode is ffa/default
Fatal signal: Floating Point Exception (SDL Parachute Deployed)

Ramon
July 10th, 2005, 04:17 PM
Sorry for the bump.

this is mine error : /usr/local/bin/cube: line 39: /home/ramon/bin_unix/linux_client: Onbekend bestand of map
/usr/local/bin/cube: line 39: exec: /home/ramon/bin_unix/linux_client: cannot execute: Onbekend bestand of map


annyone ??

georgey
February 6th, 2006, 05:59 PM
Hi, I have installed Cube on Breezy, got my ATI card to work but have no sound. All other aps have sound ok. Any thoughts anyone? I have read some posts discussing sound devices not being released, but haven't found a solution I can understand.

Thanks

George:-k

inovermyheadd
March 15th, 2006, 09:04 PM
ok so I was lazy, and I just unpacked cube without entering the terminal...so now I have this folder and the cube_unix sh file or whatever...and when I click on it...the game works and it is great!

I would like to somehow put it under games in my applications...how do I go about doing that?