Engine Quirks, Bugs and Other Useful Features


(dutchmeat) #21

I haven’t read it all, but I think you can use opengl masks to pose as opengl32. So when you fill in this cvar you specify a dllname(including .dll), while the original function call only uses ‘opengl’ as dllname.


(Scatcycle) #22

BUG: GTK Radiant 1.5 creates a new “etmain” folder inside ET’s original “etmain” folder, along with “Maps” and “scripts” folders inside it. This makes it impossible to load textures, because it thinks they all lie in the false etmain. Even deleting it doesn’t work. It comes back.

I have reinstalled both ET and GTK many times, I do not know why this happens.


(Nail) #23

probably pointed to wrong location


(UJERebel) #24

You made your path 1 stage to deep? try to delete the last part


(Scatcycle) #25

Nah, I changed the path to multiple different places, I don’t know what was up with it.
I was able to fix it by copying all my files into it’s “Special” etmain. Now I have to 1.6 gigabyte folders with the exact same stuff in them. Go figure.


(Nail) #26

methinks rebel is correct, you pointed Radiant to etmain instead of Wolfenstein - Enemy Territory


(Scatcycle) #27

No, he is not. I tried that. Guess what? Two etmains, right fricken next to eachother.


(daz2007) #28

Found two Typos in “tr_shader.c” (Line 1034 and 1988)

Line 1034

 
if ( stage->alphaGen == CGEN_IDENTITY ) {

should be


if ( stage->alphaGen == AGEN_IDENTITY ) {

Line 1998

if ( stages[0].alphaGen == CGEN_WAVEFORM )

should be

if ( stages[0].alphaGen == AGEN_WAVEFORM )

(Shownie) #29

And what does this affect, what is fixed? :slight_smile:


(Gir) #30

someone with OpenGL knowledge should know

all i know is this

CGEN = Color Gen (or rgb gen)
AGEN = Alpha Gen


(Gir) #31

someone with OpenGL knowledge should know

all i know is this

CGEN = Color Gen (or rgb gen)
AGEN = Alpha Gen

I guess it would fix Alpha Textures


(Mateos) #32

Is this a shader related script?


(Shownie) #33

He doesn’t want to give a straight answer, useless to post a fix if we can’t know what it FIX…

Thanks for sharing :slight_smile:


(Gir) #34

It was also reported in Quake 3, so its a genuine typo.
http://icculus.org/pipermail/quake3-commits/2011-February/001780.html

It may correct shaders with Alpha Channels


(Shownie) #35

[QUOTE=Gir;398227]It was also reported in Quake 3, so its a genuine typo.
http://icculus.org/pipermail/quake3-commits/2011-February/001780.html

It may correct shaders with Alpha Channels[/QUOTE]

Thanks, makes sense even for me :slight_smile: