LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices

Reply
 
Search this Thread
Old 09-27-2004, 06:19 PM   #1
I_Come_anon3410
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Rep: Reputation: 15
Cube Problem


I have a porblem (hehe) with Cube, the (as you all know) open-source fps engine.

For one, i can only start in root (but i think thats a permission thing, i'll have to fix it) and when i do, it' just go into limbo.

In other words, it just goes to a blank black screen with a cursor in the middle that doesn't move.

what gives?

Last edited by I_Come_anon3410; 10-04-2004 at 06:46 PM.
 
Old 10-04-2004, 06:45 PM   #2
I_Come_anon3410
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Original Poster
Rep: Reputation: 15
bump

*bump*

...help
 
Old 10-04-2004, 07:09 PM   #3
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
Do you use slackware? If you do, your going to run into tons of permission problems. I havent found a way to let users use The Sims yet. But hopefully when I find the way, ill tell you.
 
Old 10-05-2004, 03:38 PM   #4
I_Come_anon3410
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Nope, no slackware. It's not a permission thing, now I can do cube in my reglar ass user mode, but it does the same thing.

I've reinstalled everything related (nvidia drivers, xorg, opengl, cube...) but it still has no effect

 
Old 10-06-2004, 04:52 AM   #5
azraelder
Member
 
Registered: May 2004
Location: Perth, Australia
Distribution: Red Hat 9
Posts: 35

Rep: Reputation: 15
I assume that you are trying start cube with the ./cube_unix command. cube_unix is actually a shell script that launches cube,it is not a binary. In cube_unix the working directory is defined. This is unlikely to be where you unpacked it. Other information such as your operating sytem and pc type is also defined here.

If you edit it to suit your system then (hopefully) it should go.

azraelder
 
Old 10-08-2004, 10:59 PM   #6
I_Come_anon3410
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Original Poster
Rep: Reputation: 15
and... say... that i wasn't using ./cube_unix

say that, just maybe, i didn't.

would using it possibly make it work??
 
Old 10-09-2004, 10:54 AM   #7
azraelder
Member
 
Registered: May 2004
Location: Perth, Australia
Distribution: Red Hat 9
Posts: 35

Rep: Reputation: 15
Well you know, all I can really say is that I edited cube_unix to suit my system and then launched it to run cube and it worked. I just recently did the same to a friends computer and it worked as well but I will admit that both use red hat 9.

How did you try to run cube?

Of course if your system has other dramas such as conflicts with sound or problems with changing screen modes or monitor conflicts, that can also cause symptoms such as black screens or crashes.

However, editing cube_unix to suit your system and then using it to launch would be a good start. If cube_unix is correctly configured then you could put a copy into /usr/local/bin and run it from anywhere.

azraelder
 
Old 10-09-2004, 02:35 PM   #8
I_Come_anon3410
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Original Poster
Rep: Reputation: 15
lacking documentation (or, really, very much experience with linux) i ran by doing this:

$cd /usr/games/lib/cube
$cube_client

or

$cd /usr/games/bin
$cube_client-bin

both do the same thing. whether the cube server is running or not makes no difference.
 
Old 10-09-2004, 09:30 PM   #9
azraelder
Member
 
Registered: May 2004
Location: Perth, Australia
Distribution: Red Hat 9
Posts: 35

Rep: Reputation: 15
Where did you unpack the cube tarfile.? Is cube_unix there? I tried running linux_clinet in the bin_unix directory and I know that doesn't work.

The version I have also has binaries for windows as well as linux. The documentaion reflects that so linux information is quite sparse, although I am fairly sure that it says somewhere to start with ./cube_unix.

azraelder

ps Is your 3d hardware setup correctly? (try glxgears). Is your soundcard setup properly? Can your monitor display the fullscreen mode that cube switches to correctly. This can often give mysterious black screens for no good reason. Same with soundcards or permissions with soundcard dev's such as /dev/dsp or /dev/mixer

Last edited by azraelder; 10-09-2004 at 09:32 PM.
 
Old 10-09-2004, 09:48 PM   #10
I_Come_anon3410
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Original Poster
Rep: Reputation: 15
I'm using gentoo so i took the easy way and just did
#emerge cube

so i guess i'll have to do actual work... can someone give me a brief rundown on how to do this after i've unpacked the source?

sorry, bit of a linux newb.
 
Old 10-09-2004, 09:50 PM   #11
I_Come_anon3410
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Original Poster
Rep: Reputation: 15
oh and yes my 3d is set up fine. i get 3000+ fps on glxgears
 
Old 10-10-2004, 03:45 AM   #12
azraelder
Member
 
Registered: May 2004
Location: Perth, Australia
Distribution: Red Hat 9
Posts: 35

Rep: Reputation: 15
Well I downloaded the binaries and source from the cube website (or was it sourceforge?) and since the binaries worked fine I didn't bother compiling it.

Since I never used gentoo I'm not familiar with its packaging system but since gentoo compiles everything, maybe something went wrong there.

Perhapes you could contaminate your gentoo system with some pre compiled binaries :-) It would be worth it as cube is a great game.

azraelder
 
Old 10-10-2004, 05:14 PM   #13
I_Come_anon3410
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Original Poster
Rep: Reputation: 15
: D

it worketh, thanks.

: D
 
Old 10-11-2004, 06:21 AM   #14
azraelder
Member
 
Registered: May 2004
Location: Perth, Australia
Distribution: Red Hat 9
Posts: 35

Rep: Reputation: 15
Good to hear. Thanks for replying when things work.

azraelder

ps Odd that the emerge cube didn't work for Gentoo as I heard that it was supposed to sort out any dependencies.
 
Old 10-11-2004, 07:34 AM   #15
I_Come_anon3410
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Original Poster
Rep: Reputation: 15
I thought it was a bit odd too. Everything else i've gotten has worked fine. in fact, the only thing i've had to even spend any time configuring is xorg, and for some reason gaim wouldn't compile right so i had to get the source, but other than that it was pretty awesome. I'm gonna go see if any other gentoo users couldn't get the portage'd cube to work.

thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptable porblem?? dillonfan Linux - Networking 2 02-08-2005 05:38 AM
Cygwin XFree86 Porblem johncsl82 Linux - Newbie 1 11-06-2003 05:29 AM
Nfs mount porblem Maurilli Linux - Networking 1 06-16-2003 07:48 PM
php porblem keevitaja Linux - General 2 08-16-2002 09:37 AM
Shared library Porblem Config Slackware 6 07-11-2002 04:12 AM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration