gShaderReplacer by Loonies [web]
screenshot added by Psycho on 2009-10-22 00:06:26
platform :
type :
release date : october 2009
  • 24
  • 3
  • 0
popularity : 60%
  • 0.89
alltime top: #4615
added on the 2009-10-22 00:06:26 by Psycho Psycho

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter pinterest tumblr


After having it more or less ready for almost a year I finally got around to wrap this up in a release for others to use.
The primary goal is to make those (accidentially) nvidia only opengl releases run elsewhere.
added on the 2009-10-22 00:13:33 by Psycho Psycho
I love this, and thanks a lot for the early-access <3.
rulez added on the 2009-10-22 00:42:01 by decipher decipher
rulez added on the 2009-10-22 01:53:13 by snoutmate snoutmate
So, uhm. What does it do?
added on the 2009-10-22 10:12:30 by raer raer
rare: simply put, it emulates the OpenGL32.dll in order to grab the shader sources from a packed executable. just place the dll and the xml next to a crinklered 4k (must be using OpenGL obviously), then configure within XML and run the intro. you get your sources or you can even replace crap in the application's shader code without recompiling the entire crap, and everybody is happy, including ATI.
added on the 2009-10-22 10:15:36 by decipher decipher
Hooray for the idea alone...
rulez added on the 2009-10-22 10:17:33 by raer raer
rulez added on the 2009-10-22 10:21:33 by Skate Skate
Neat idea, but are there really that many OpenGL NVIDIA only demos around? I guess this applies mostly to 4ks?
added on the 2009-10-22 10:38:02 by gloom gloom
rulez added on the 2009-10-22 11:48:25 by PENETRATOR PENETRATOR
great idea and thanks for releasing. Gloom, thats right, there are surprisingly many nvidia only 4k prods due to shader errors. However, you can find demos too.
rulez added on the 2009-10-22 18:50:33 by auld auld
any afford to make demos more compatibel (without the need of a dozend different setups) has to be supported:
rulez added on the 2009-10-22 19:34:39 by v3nom v3nom
Cool, thanks! And don't worry about the shader-dump, you can do that quite easily anyway :p
rulez added on the 2009-10-22 20:07:30 by hornet hornet
rulez added on the 2009-10-22 20:18:35 by j9 j9
Useful tool and great idea.
rulez added on the 2009-10-22 20:24:24 by StingRay StingRay
what d3adlydessert said
rulez added on the 2009-10-22 20:59:54 by noby noby
rulez added on the 2009-10-22 21:06:05 by Dbug Dbug
Nice tool, thanks Psycho!
rulez added on the 2009-10-26 11:57:39 by xoofx xoofx
Good idea
rulez added on the 2009-10-26 14:31:46 by keops keops
rulez added on the 2009-11-19 02:39:20 by T$ T$
this and crinkler's recompress function mean I can suddenly watch a load of great intros in realtime rather than video. It might also be a useful educational tool, so big thumbs.
rulez added on the 2010-01-01 00:05:56 by Claw Claw
Great stuff o/
rulez added on the 2010-07-30 16:51:43 by msqrt msqrt
saving face for opengl since 2009!
rulez added on the 2010-07-30 16:53:24 by Gargaj Gargaj
cheers Gargaj, crinklering the fixed versions now ;)
nice idea
rulez added on the 2010-07-30 17:44:58 by bartman bartman
Psycho: any plans for a regexp version? (not that i need it a lot, but still...)
added on the 2010-08-10 15:30:34 by Gargaj Gargaj
epic tool
rulez added on the 2011-05-28 06:49:48 by las las
Very useful!
rulez added on the 2013-07-18 20:15:55 by Cosmocat Cosmocat
Discovered at Revision by Las, it's very useful !! Thank a lot.
rulez added on the 2014-04-23 00:33:12 by Anat Anat
I have a feature request: please add glCreateShaderProgramv - I think that function is not yet in the wrapper.

This nice wrapper helped me multiple times to debug things which where not supposed to be debugged. A simple to use and very handy tool.
added on the 2014-04-26 17:00:12 by las las
yea, it's only wrapping the normal glShaderSource/glCompileShader (core+arb) methods currently. So the status/infolog should then be read at the program object, when there is no shader objects available?
Which intros are using this (for test)?
added on the 2014-04-26 23:40:10 by Psycho Psycho
http://www.pouet.net/prod.php?which=62964 uses glCreateShaderProgramv
added on the 2014-04-27 00:41:32 by las las
Support for glCreateShaderProgramv should be working now :) (the core version, not the old similar nvidia only version)
(kepler is still black here though (290+cat14.4), without any compile errors)
added on the 2014-05-04 00:34:11 by Psycho Psycho
Nice, thanks a lot for adding that function!
Well... Don't expect OpenGL 4.4 to be working properly on AMD. ;)
added on the 2014-05-04 00:48:33 by las las
There is a crash in connection with removing the ";" -> ";LINEBREAK" replacer in connection with this intro. Not sure whether it's caused by the intro or gshaderreplacer - in case you want to look into the issue, I can upload the xml somewhere.

More people should use this tool. It's a standard tool in my debugging chain when GLSL stuff doesn't work and it does an awesome job. Saved me going through a lot of pain several times. Among others, especially compo organizers should know this tool - I used it several times at revision and could directly tell what's wrong with some intros.
added on the 2015-05-07 08:48:12 by las las
cool tool
rulez added on the 2015-05-07 12:54:05 by psenough psenough
Download link is updated with version 1.2, fixing the buffer overrun reported by las :)
(and amd/intel fix for the testcase intro)
added on the 2015-05-07 21:46:54 by Psycho Psycho
rulez added on the 2022-09-21 03:52:30 by rloaderro rloaderro

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment