Page 1 of 1

fragment_program_shadow.py - Where to put?

Posted: 05 Sep 2007, 16:21
by Linebacker
I have found a Python file from OpenGL, since I am missing this extension. I have no idea whatsoever about graphical stuff....but as Spring obviously needs this file, I downloaded it. Now, what do I do with it?

It's called: fragment_program_shadow.py (size: 1KB)


Additional off-topic question: where can I find the official Spring IRC channel?

Posted: 05 Sep 2007, 16:25
by KDR_11k
Erm, extensions are features of your graphics card, there is no file you can dl to get them. That file is probably just example code.

There is no Spring IRC but there is the Spring lobby which, while looking like IRC, isn't IRC.

Posted: 05 Sep 2007, 16:28
by Linebacker
So my graphics card is missing an extension. Does that basically mean you can't play Spring with a GF 4200ti?

My drivers are of August 2006.

Posted: 05 Sep 2007, 16:38
by trepan
#sy on quakenet irc
#taspring on freenode irc

Posted: 05 Sep 2007, 16:52
by Kloot
Set Shadows=-1 in .springrc (if on Linux) or
edit the corresponding Spring registry entry
(if on Windows) to get around this.

Posted: 05 Sep 2007, 17:17
by Linebacker
A vague hint into the registry... well I am not familiar with registry entries, but it's told everywhere that one should proceed with caution whilst editing its values. :o

Can I safely put Shadowmapsize (current value: 1024) to 0?
It's located here: HKEY_CURRENT_USER\Software\SJ\spring

Shadows is already set to 0 and there is no other entry that offers shadow*.

Posted: 05 Sep 2007, 17:30
by Kloot
Kloot wrote:Set Shadows=-1...
Linebacker wrote:Shadows is already set to 0...
0 != -1 ;)

Posted: 05 Sep 2007, 21:00
by Linebacker
No negative values allowed.

Posted: 06 Sep 2007, 15:51
by AF
You are running a 4200ti

Basic shader support was added to the Geforce series cards in the FX/5 generation.

And even if shadows worked, I wouldnt expect a very high fps from a 4200ti.

There are newer cards on sale for $10 that give a better fps count.

Posted: 06 Sep 2007, 15:58
by Linebacker
Bottom line: a GF4200ti is too old for Spring, it just supports newer cards.

Posted: 06 Sep 2007, 16:10
by AF
too old for shadows

Posted: 06 Sep 2007, 16:44
by Linebacker
Shadows is 0, if -1 has a "healing" effect on this problem, someone tell me how and where to enter the negative value.

Posted: 06 Sep 2007, 18:02
by Kloot
-1 prevents the shadow handler from
attempting to load the OGL extensions
needed to render shadows, but there's
no guarantee you won't run into other
problems related to your hardware or
drivers. Apparently though REG_DWORD
type values are unsigned, so this trick
won't actually work under Windows.

Posted: 06 Sep 2007, 18:07
by imbaczek
4294967295 unsigned should be -1 signed. You may want to try that.

Posted: 06 Sep 2007, 20:12
by Linebacker
Hmm, just 8 figures allowed, I entered the value as hexadecimal then. It that OK as well?

In my first game I experience quite a lot of framedrops to 1, so you can't even move your mousepointer, but I don't know whether its due to this new value or something else.

Posted: 06 Sep 2007, 20:12
by imbaczek
in hex it should be all f's, but if it works it's ok.