Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tenebrae from CVS how-to (update)!
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
blk_jack
Apprentice
Apprentice


Joined: 10 May 2002
Posts: 298
Location: Toronto

PostPosted: Tue Oct 08, 2002 10:37 am    Post subject: Tenebrae from CVS how-to (update)! Reply with quote

This is an updated post with the steps changed to accurately work for the latest CVS checkouts of tenebrae.

1) Fetch the CVS checkout of tenebrae_0.
Code:
cvs -d:pserver:anonymous@cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae login
[i](Press Enter for PW)[/i]
cvs -z3 -d:pserver:anonymous@cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae co tenebrae_0


2) cd tenebrae_0/linux

3) ln -s Makefile.i386linux Makefile

4) Edit Makefile and change the MASTER_DIR to your quake directory.

5) Switch your gl interface to xfree - opengl-update xfree

6) Goto the tenebrae checkout's linux dir with the Makefile you edited and linked - cd tenebrae_0/linux;make

7) Once that's done you should have a binary for tenebrae.run in your tenebrae_0/linux/debugi386.glibc/bin directory. Copy that over to your quake directory. As for the tenebrae pak file(s) I've setup a few other links to help you with that too.

7a) This may be optional but it works for me...

Quote:
I have the tenebrae pakfile and glquake directory in a tarball incase you need that too (It uncompresses to tenebrae/pak0.pak and tenebrae/glquake/*). Get that here.


8) Switch your interface back to nvidia - opengl-update nvidia

9) Restart X11 (a must when you switch opengl interfaces).

Any more suggestions would be greatly appreciated.


Last edited by blk_jack on Sat Oct 12, 2002 8:04 am; edited 1 time in total
Back to top
View user's profile Send private message
quarus
n00b
n00b


Joined: 12 May 2002
Posts: 39

PostPosted: Tue Oct 08, 2002 12:54 pm    Post subject: Reply with quote

Thank you, blk_jack !!

I tried to get tenebrae run on my gentoo machine but it didin't work out. It didn't even compile.
I was quite upset, because it worked on my friends Red Hat Box.
Well, now tenebrae compiles, but when i start it, it says:

quarus@coyote) ~/quake >./tenebrae.run
FindFile: can't find gfx/pop.lmp
Playing shareware version.
FindFile: can't find gfx.wad
Error: W_LoadWadFile: couldn't load gfx.wad

It must have something to do with the pak files. Can you tell me, where to place them ??
Thanks again for your work !
Back to top
View user's profile Send private message
blk_jack
Apprentice
Apprentice


Joined: 10 May 2002
Posts: 298
Location: Toronto

PostPosted: Tue Oct 08, 2002 3:10 pm    Post subject: Reply with quote

It is indeed something with the pak files. Make sure you edited the Makefile in tenebrae_0/linux/ and changed your MASTER_DIR to your quake directory. Once you change that variable to your quake dir you'll have to recompile tenebrae so do a 'make clean' before the recompile. Of course you also need the quake/id1/*.pak quake pak files.

If you've done all that maybe it has to do with not finding your tenebrae pak file? If -that-'s the case I suggest you download this and uncompress it to your quake dir.

Hope this helps!
Back to top
View user's profile Send private message
Tuxisuau
Apprentice
Apprentice


Joined: 04 May 2002
Posts: 213
Location: Catalunya (Europe)

PostPosted: Tue Oct 08, 2002 3:23 pm    Post subject: Reply with quote

Be nice. Write an ebuild :)

By the way, writing an ebuild is easy as explaining the steps here :P
_________________
IM me at tuxisuau@jabber.7a69ezine.org
Back to top
View user's profile Send private message
blk_jack
Apprentice
Apprentice


Joined: 10 May 2002
Posts: 298
Location: Toronto

PostPosted: Tue Oct 08, 2002 4:31 pm    Post subject: Reply with quote

Tuxisuau wrote:
Be nice. Write an ebuild :)

By the way, writing an ebuild is easy as explaining the steps here :P

Hmmm, I shall look into it then :)
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Tue Oct 08, 2002 5:53 pm    Post subject: Reply with quote

Cool stuff blk_jack !

This is appreciated, thanks.

Quake just keeps on rocking!
Back to top
View user's profile Send private message
quarus
n00b
n00b


Joined: 12 May 2002
Posts: 39

PostPosted: Tue Oct 08, 2002 7:50 pm    Post subject: Reply with quote

Quote:
Make sure you edited the Makefile in tenebrae_0/linux/ and changed your MASTER_DIR to your quake directory.


Thanks, for your help. Now tenebrae finds all files, but still doesn't work:
"Using GLX Extension Version 1.2
Error Unable to get GLX visual."

I think i will post to the tenebrae forums.
Back to top
View user's profile Send private message
blk_jack
Apprentice
Apprentice


Joined: 10 May 2002
Posts: 298
Location: Toronto

PostPosted: Wed Oct 09, 2002 4:08 am    Post subject: Reply with quote

quarus wrote:
Quote:
Make sure you edited the Makefile in tenebrae_0/linux/ and changed your MASTER_DIR to your quake directory.


Thanks, for your help. Now tenebrae finds all files, but still doesn't work:
"Using GLX Extension Version 1.2
Error Unable to get GLX visual."

I think i will post to the tenebrae forums.


You need to change your opengl-update interface BACK to nvidia.
opengl-update nvidia. Once you do that restart X11 and it should work.
Back to top
View user's profile Send private message
quarus
n00b
n00b


Joined: 12 May 2002
Posts: 39

PostPosted: Fri Oct 11, 2002 9:40 am    Post subject: Reply with quote

Ok, there is now a "official " _short_ How-to at the tenebrae CVS Respositry. The author was "inspired" by blk_jack's tutorial on this forum.
See Forum Post:
http://sourceforge.net/forum/forum.php?thread_id=744841&forum_id=209230
Back to top
View user's profile Send private message
Stolle
n00b
n00b


Joined: 23 Sep 2002
Posts: 16
Location: Germany

PostPosted: Fri Oct 11, 2002 9:59 am    Post subject: Segmentation fault Reply with quote

I tried it but i got Segmentation fault. I use gentoo1.4rc1 with gcc3.2, could the gcc version be the problem?

Thanks Stolle
Back to top
View user's profile Send private message
blk_jack
Apprentice
Apprentice


Joined: 10 May 2002
Posts: 298
Location: Toronto

PostPosted: Sat Oct 12, 2002 7:58 am    Post subject: Reply with quote

Okay I just compiled the newest CVS checkout of Tenebrae *WITHOUT* having to patch it. I just updated the first post to reflect the modern CVS checkouts.
Back to top
View user's profile Send private message
quarus
n00b
n00b


Joined: 12 May 2002
Posts: 39

PostPosted: Sun Oct 13, 2002 9:07 am    Post subject: Reply with quote

Great !
Now,i only need a new Computer ! :)
Back to top
View user's profile Send private message
blk_jack
Apprentice
Apprentice


Joined: 10 May 2002
Posts: 298
Location: Toronto

PostPosted: Sun Oct 13, 2002 2:44 pm    Post subject: Reply with quote

quarus wrote:
Great !
Now,i only need a new Computer ! :)


Haha true dat. But on the plus side at least major advancements are being made in 3d graphics (or so it seems?) on a somewhat amateur level. I know that I'm personally blown away with what the tenebrae team has done thus far!
Back to top
View user's profile Send private message
beef
n00b
n00b


Joined: 07 Oct 2002
Posts: 3

PostPosted: Mon Oct 14, 2002 5:03 am    Post subject: Reply with quote

when i tried running make i get this

Code:
/usr/bin/gcc -Dstricmp=strcasecmp -D__glx__ -DBASEDIR=/usr/share/games/quakeforge -DGLQUAKE -DUSERPREF_DIR -g -o debugi386.glibc/glquake/common.o -c ..//common.c
../common.c:44:44: io.h: No such file or directory
../common.c: In function `COM_AddGameDirectory':
../common.c:3431: storage size of `fileinfo' isn't known
make[1]: *** [debugi386.glibc/glquake/common.o] Error 1
make[1]: Leaving directory `/usr/src/tenebrae_0/linux'
make: *** [build_debug] Error 2


I did everything that you said any ideas on how i can fix this? I really want to play this.
Back to top
View user's profile Send private message
blk_jack
Apprentice
Apprentice


Joined: 10 May 2002
Posts: 298
Location: Toronto

PostPosted: Mon Oct 14, 2002 6:23 am    Post subject: Reply with quote

You're gonna have to post more info than that.

Kernel? GCC version?
Back to top
View user's profile Send private message
beef
n00b
n00b


Joined: 07 Oct 2002
Posts: 3

PostPosted: Mon Oct 14, 2002 6:30 am    Post subject: Reply with quote

oh sorry
running gentoo 1.4 with gcc 3.2 and a vanilla 2.4.19 kernel
that enough?


I found out what was wrong the common.c file had an error in it. I just reverted back to the previous version and it worked.
Back to top
View user's profile Send private message
vinz
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2002
Posts: 93
Location: Switzerland

PostPosted: Tue Oct 15, 2002 5:08 pm    Post subject: Reply with quote

Quote:
Code: cvs -d:pserver:anonymous@cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae login
(Press Enter for PW)
cvs -z3 -d:pserver:anonymous@cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae co tenebrae_0


this would work better :wink:

Code:
cvs -z3 -d:pserver:anonymous:@cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae co tenebrae_0
Back to top
View user's profile Send private message
ashkar
n00b
n00b


Joined: 26 Sep 2002
Posts: 48

PostPosted: Wed Oct 23, 2002 7:29 pm    Post subject: Reply with quote

Ok, I compiled tenebrae and everything worked fine, but when I try to run it I get this:

Code:
Using GLX Extension Version 1.2
Error Unable to get GLX visual.


I have run opengl-update and restarted X. Glxinfo lists the nvidia driver so I'm pretty sure that everything is set up properly. Also, tuxracer and ut2003 work. Anybody have any ideas.
Back to top
View user's profile Send private message
lfc.messiah
n00b
n00b


Joined: 17 Jan 2003
Posts: 4

PostPosted: Fri Jan 17, 2003 12:38 am    Post subject: Re: Tenebrae from CVS how-to (update)! Reply with quote

blk_jack wrote:
1) Fetch the CVS checkout of tenebrae_0.
Code:
cvs -d:pserver:anonymous@cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae login
[i](Press Enter for PW)[/i]
cvs -z3 -d:pserver:anonymous@cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae co tenebrae_0


Hmm it doesn't work with CVS for me ?!

Code:

$ cvs -d:pserver:anonymous@cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae login
Logging in to :pserver:anonymous@cvs.tenebrae.sourceforge.net:2401/cvsroot/tenebrae
CVS password:
cvs [login aborted]: connect to cvs.tenebrae.sourceforge.net(66.35.250.207):2401 failed: Connection refused


This is what I get, and i absolutely don't see the reason for it ?
Also I can't download the "Nightly CVS Tree Tarball" :(

Do you have an idea what I'm doing wrong, or is there a problem with the CVS server ?

Cya
lfc.messiah
Back to top
View user's profile Send private message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Sun Jan 19, 2003 5:59 pm    Post subject: Reply with quote

ashkar wrote:
Ok, I compiled tenebrae and everything worked fine, but when I try to run it I get this:

Code:
Using GLX Extension Version 1.2
Error Unable to get GLX visual.


I have run opengl-update and restarted X. Glxinfo lists the nvidia driver so I'm pretty sure that everything is set up properly. Also, tuxracer and ut2003 work. Anybody have any ideas.


I have exactly the same prob
Back to top
View user's profile Send private message
SpanKY
Developer
Developer


Joined: 18 Apr 2002
Posts: 321
Location: Somerville, MA

PostPosted: Tue Jul 15, 2003 7:04 am    Post subject: Reply with quote

tenebrae 1.04 can now be found in portage ...
you dont have to do any opengl-update trickery ... just
`emerge tenebrae`, setup your data dir, and play :)

i'm going to be working on a quake1 data set like the quake2-data ebuild since we've got quake1, quakeforge, ttyquake, and tenebrae in portage :)
Back to top
View user's profile Send private message
blk_jack
Apprentice
Apprentice


Joined: 10 May 2002
Posts: 298
Location: Toronto

PostPosted: Tue Jul 15, 2003 8:07 am    Post subject: Reply with quote

w00t :)
Back to top
View user's profile Send private message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Tue Jul 15, 2003 12:45 pm    Post subject: Reply with quote

just emerged it... here's what I get:


Code:
$ tenebrae
Added packfile /usr/share/games/quake-data/tenebrae/Pak0.pak (151 files)
Added packfile /usr/share/games/quake-data/tenebrae/Pak1.pak (85 files)
PackFile: /usr/share/games/quake-data/tenebrae/Pak1.pak : gfx/pop.lmp
Playing registered version.
FindFile: can't find gfx.wad
Error: W_LoadWadFile: couldn't load gfx.wad
Back to top
View user's profile Send private message
SpanKY
Developer
Developer


Joined: 18 Apr 2002
Posts: 321
Location: Somerville, MA

PostPosted: Tue Jul 15, 2003 1:25 pm    Post subject: Reply with quote

in my post i said you have to setup your data dir ... i wasnt lying ;)
link or copy the id1 directory into /usr/share/games/quake-data/
Back to top
View user's profile Send private message
blk_jack
Apprentice
Apprentice


Joined: 10 May 2002
Posts: 298
Location: Toronto

PostPosted: Tue Jul 15, 2003 4:15 pm    Post subject: Reply with quote

I had (have) quakeforge installed, so I had all my pak files in ~/.quakeforge/id1/ and all that. To fix the problem I deleted ~/.quake/ and symlinked ~/.quakeforge to ~/.quake and everything worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum