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

Locked
ensiform
Posts: 93
Joined: Mon Jul 25, 2005 5:20 am

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

Post 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
v1l3
Posts: 822
Joined: Wed Apr 02, 2003 8:00 am

Post 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=)
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post 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.
v1l3
Posts: 822
Joined: Wed Apr 02, 2003 8:00 am

Post 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:
corncobman
Posts: 304
Joined: Fri Aug 08, 2003 7:00 am

Post 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.
-It is not the fall that kills you. It's the sudden stop at the end. (Douglas Adams)-

[url=http://www.violationentertainment.com/misc/ccm]-An eyeful a day is bloody fantastic!-[/url]
dzjepp
Posts: 12839
Joined: Wed Mar 28, 2001 8:00 am

Post by dzjepp »

Is it possible to run this fix somehow on pb servers right now?
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

No. (read this aloud in a very definitive tone of voice)
v1l3
Posts: 822
Joined: Wed Apr 02, 2003 8:00 am

Post 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 =)
dzjepp
Posts: 12839
Joined: Wed Mar 28, 2001 8:00 am

Post 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. :(
Locked