LinuxQuestions.org
Visit Jeremy's Blog.
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 04-08-2012, 11:47 AM   #1
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Rep: Reputation: 29
Need testers for my little opengl game


It's not finished. Most of the game has been tested pretty well, however, I'm having trouble testing the network gameplay portion. I really just started working on the network part, and I suspect that there will be some race conditions that will mess things up. I can only run it on one of my machines at the moment, since one machine is a dinosaur with video card/opengl issues, and the other is being used for an experimental Linux distro that I am working on, and at the moment it only has kdrive xserver (no OpenGL). So, anybody that can test the network portions of my game would be a big help.
Also, I have released the source, so you can look at it if you want, but be warned that I wrote most of it in highschool, so its kinda sloppy. It's licensed under the beerware license.
Here is the link:
http://www.betteros.org/games/download.html
 
Old 04-08-2012, 12:46 PM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,219

Rep: Reputation: 139Reputation: 139
It say: "package is of bad quality" when i attept to install

Quote:
Lintian check results for /home/deb/Downloads/UnititledOne.2012.04.08.deb:
Use of uninitialized value $ENV{"HOME"} in concatenation (.) or string at /usr/bin/lintian line 108.
E: UntitledOne: arch-independent-package-contains-binary-or-object usr/games/UntitledOne
E: UntitledOne: wrong-file-owner-uid-or-gid usr/ 1000/1000
E: UntitledOne: wrong-file-owner-uid-or-gid usr/games/ 1000/1000
E: UntitledOne: wrong-file-owner-uid-or-gid usr/games/UntitledOne 1000/1000
I'm using cross distro linux mint&ubuntu 12.04 beta.

when i click ignore it fails to install. However my software center seems to be broken somehow.
 
Old 04-08-2012, 07:29 PM   #3
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by yooy View Post
It say: "package is of bad quality" when i attept to install



I'm using cross distro linux mint&ubuntu 12.04 beta.

when i click ignore it fails to install. However my software center seems to be broken somehow.
Oh.. huh, how about that. Well, that's another reason why testing things by myself isn't good enough. I assume its a permission problem, since you don't have a user prushik with uid 1000 on your system. I'll fix the permissions and upload again soon, however, now I have to get to Korean class, so I can't fix it until I get home.
If you are determined to test it, you can try to compile it from source. It's quite easy, just:
gcc ut1l.c -lGL -lGLU -lglut -DAUDIO -lalut -lopenal -o UntitledOne
You can leave out the -DAUDIO part if you don't have openAL or if the sound is too annoying (its not done yet).
 
Old 04-09-2012, 12:18 AM   #4
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 260

Rep: Reputation: 32
~/Desktop$ ./UntitledOne
freeglut (./UntitledOne): glXCreateContextAttribsARB not found

Maybe you should provide more detailled info about required dependencies or how to build and run the program, or a functional debian package.

Last edited by manu-tm; 04-09-2012 at 12:31 AM.
 
Old 04-09-2012, 01:11 AM   #5
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Original Poster
Rep: Reputation: 29
Just got back from Korean class, now I hopefully I can fix some of these issues.

Quote:
Originally Posted by manu-tm View Post
~/Desktop$ ./UntitledOne
freeglut (./UntitledOne): glXCreateContextAttribsARB not found
I think that is either a freeglut problem, or a glx problem. That's the error I get on my old HP laptop (the beast). I'll see if I can debug the problem, but I assumed it was a bug in the very old fglrx drivers that are running on that machine.

Quote:
Originally Posted by manu-tm View Post
Maybe you should provide more detailled info about required dependencies or how to build and run the program, or a functional debian package.
Yep, that's a good idea. What I did was pretty slapdash, but now I have time, so I'll see about fixing the debian package.
The dependencies are:
libGL
libGLU
FreeGLUT or GLUT or OpenGLUT (OpenGLUT is untested)

Optional Audio Support:
OpenAL
libalut
 
Old 04-09-2012, 02:51 AM   #6
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Original Poster
Rep: Reputation: 29
Ok, I uploaded a new .deb package, the files are now owned by root instead of prushik, so it should work.
I also added a list of dependencies on the webpage. I also changed the source package to a little tarball with a makefile and a pseudo-configure script. Although just compiling with gcc is still just as easy, ./configure && make is more familiar to many folks.
http://www.betteros.org/games/download.html
 
Old 04-09-2012, 03:21 AM   #7
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,219

Rep: Reputation: 139Reputation: 139
now i can't downlaod deb package, ita says 404 error not found.
 
Old 04-09-2012, 04:49 AM   #8
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by yooy View Post
now i can't downlaod deb package, ita says 404 error not found.
Yes, sorry, that has been fixed. It was a typo. Sorry. I also added a 32 bit package as well as the 64 bit version.
 
Old 04-09-2012, 09:05 AM   #9
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by manu-tm View Post
~/Desktop$ ./UntitledOne
freeglut (./UntitledOne): glXCreateContextAttribsARB not found
Also, there is a solution for this, Next source code release will include a fix for this (not so much a fix, more of a workaround, but it makes the game work correctly).
 
Old 04-10-2012, 03:53 AM   #10
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Original Poster
Rep: Reputation: 29
Ok, just uploaded my updated source code. It should fix the glXCreateContextAttribsARB problem, and network play should also work.
Debian packages have been fixed again (hopefully).

Changes:
-missile sound has been changed to something less obnoxious
-explosion sounds are in place, but they suck
-network play connection fixes
-added a (hopefully) more accurate method of measuring time (which can be compiled out by passing -DSLOPPYTIME to gcc)
 
Old 04-10-2012, 08:35 AM   #11
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 260

Rep: Reputation: 32
I get the same error again (glXCreateContextAttribsARB not found).

I have:
GLX version: 1.4
OpenGL version string: 1.4 Mesa 7.10.2
 
Old 04-10-2012, 07:48 PM   #12
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by manu-tm View Post
I get the same error again (glXCreateContextAttribsARB not found).

I have:
GLX version: 1.4
OpenGL version string: 1.4 Mesa 7.10.2
Did you compile from source or use a deb package? I'm pretty sure that the problem is not due to mesa or GLX but rather your video card driver. What video card do you have? Is it an ATI Radeon by any chance?
Nevermind... I checked my source again and I seem to have added the problem code back in...

If you want to get it working, remove line 307 and recompile it and it should work.
The line that says:
Code:
	glutInitContextVersion (3, 1);
is the problem, just comment it out or delete it completely and it will compile and run.

Sorry about that.
 
Old 04-10-2012, 08:13 PM   #13
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 260

Rep: Reputation: 32
I could run the game but it's very slow and keys are not working as expected.
 
Old 04-11-2012, 07:33 PM   #14
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by manu-tm View Post
I could run the game but it's very slow and keys are not working as expected.
Very interesting... I haven't had any trouble with speed. If I disable the timing, then it runs too fast on my machines, even my 6 year old hp laptop (the beast).
However, I have not yet tested the new timing mechanism on more than one machine, so next time I will revert to the old timing mechanism.

Where did you see speed as an issue? During solo gameplay, network gameplay, or in the menus? Are you using 32 bit or 64 bit?

It's really not a very resource intensive game, speed shouldn't be an issue (except in network games).
 
Old 04-12-2012, 10:19 AM   #15
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 260

Rep: Reputation: 32
Something is wrong with keyboard mapping. You probably should fix that first.
 
  


Reply

Tags
alpha, beerware, network, opengl, testing


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
[SOLVED] OpenGL? Or a lib? Error when starting the game Sauerbraten. kasumi Slackware 5 12-15-2010 01:19 PM
Looking for testers for indie game: Air Forte Brendon Chung Linux - Games 3 07-04-2010 10:01 PM
Simple Linux OpenGL game Starch Programming 3 03-17-2005 11:32 AM
Oddlabs looking for beta testers for new 3D RTS game Oddlabs Linux - Games 0 07-06-2004 08:41 AM
Starting a non OpenGL game in Linux. Need advice! Mega Man X Programming 3 03-09-2004 05:00 PM


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

Main Menu
Advertisement
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