Page 1 of 1

The ATI Skybox BUGFIX! and the server uptime bugfix...

Posted: Sun Sep 25, 2005 5:07 am
by ensiform
yes... i found this at quakesrc.

Credits go to swi, Ruzgfpegk, and EdSchouten

Here:

basically open up tr_shader.c and below this line:

Code: Select all

// tr_shader.c -- this file deals with the parsing and definition of shaders
add this:

Code: Select all

#ifdef WIN32
#ifndef GL_VERSION_1_2
#define GL_CLAMP_TO_EDGE                  0x812F
#endif
#endif
now further down in the ParseSkyParms function find this:

Code: Select all

shader.sky.outerbox[i] = R_FindImageFile( ( char * ) pathname, qtrue, qtrue, GL_CLAMP );
delete or comment it out and add this:

Code: Select all

#ifdef GL_CLAMP_TO_EDGE
			shader.sky.outerbox[i] = R_FindImageFile ((char *) pathname, qtrue, qtrue, GL_CLAMP_TO_EDGE);
#else
			shader.sky.outerbox[i] = R_FindImageFile ((char *) pathname, qtrue, qtrue, GL_CLAMP);
#endif
Image

Image

For the server uptime bugfix try:
http://forums.wireheadstudios.org/index ... =11&t=2749
or here if u like using a diff:
http://test.g-rave.nl/quake3-phoenix.diff

Posted: Mon Jan 16, 2006 6:29 am
by v1l3
tr_shader.c is located in which .pk3?


or...

Whoever can make a .pk3 with the fix within it for attbi, should send it to Tigger-On at ..::LvL so it can be hosted for everyone that has to look at the lines all the time. I know he's sick of looking at them, as I am, as many are. Do it and get the credit for doing it too=)

Posted: Mon Jan 16, 2006 12:52 pm
by ^misantropia^
v1l3 wrote:tr_shader.c is located in which .pk3?
In none, it's part of the source code. You can find an updated quake3.exe here (courtesy of rtz). Read this quakesrc.org thread for more info.

Posted: Mon Jan 16, 2006 9:02 pm
by v1l3
Is there a site that has it up for download, without having to pay to download it. That site keeps on saying that there are too many people downloading at the time, and if you want to download it you should pay.

It would be good to get it within a .zip file rather than a .rar file also, as the majority of files made for download for Q3A are in a .zip file. I don't even have WinRaR...

I'd like to get the file, and get it sent to a place that is easy for people to d/l it also, (..::LvL, planetquake3.net,etc.) as I'm amazed that it isn't already.

I checked out that link also, and most of that stuff is way over my head, with programming things. :icon23: I know the common sense things, but I'm not a genious :dork:

Posted: Tue Jan 17, 2006 12:39 am
by corncobman
It would be good to get it within a .zip file rather than a .rar file also, as the majority of files made for download for Q3A are in a .zip file. I don't even have WinRaR...
Then get it. It's not that difficult to get the evaluation version, extract it and you're done.

Posted: Fri Jan 20, 2006 6:48 pm
by dzjepp
Is it possible to run this fix somehow on pb servers right now?

Posted: Sat Jan 21, 2006 2:11 am
by ^misantropia^
No. (read this aloud in a very definitive tone of voice)

Posted: Wed Feb 15, 2006 4:11 am
by v1l3
ah..k Got it all set up, and it still doesn't get rid of the lines in the skybox on my system.

I essentially must get used to the lines and start loving them. =/

What would be really cool... ID fixing the lines, and putting out another Point Release =)

Posted: Wed Feb 15, 2006 4:24 am
by dzjepp
What would be even MORE cool... id cooperating with the Icculus guys, and letting them update Q3 with the Icculus exe... but we know that won't happen. :(