Bloom Shader for WZ (Windows Only)

Did you create a mod, map, music, or a tool? Present them here and earn feedback!
Note: addon requests do not belong here.
Note, everything uploaded to this forum, MUST have a license!
TheChris80
Greenhorn
Posts: 11
Joined: 20 Apr 2011, 14:24

Bloom Shader for WZ (Windows Only)

Post by TheChris80 »

Hi guys

I always tried to figure out how to use effects like from ENB or Sweetfx in warzone.
The biggest problem is:"Sweetfx and ENB are DirectX-Injectors" what prevents them from working in OpenGL-Games Like Warzone ,Quake 3 or Jedi Outcast
.
So i tried to find a solution via google and Tadaa i found this.
http://www.gamedev.ru/projects/forum/?id=166000
For Peoples who are not able to figure out the link on this Russian Page
http://code.google.com/p/qeffects-gl/downloads/list <-- It´s the first link on the page.

Yeah its Russian and even the Readme is Russian.
So i tried to modify it blind ;)
First result was very disappointing (Too Dark Screen shadows are transperant etc.)
I modified for hours and as endresult u can see this
Unbenannt.png
On sreenshots i can´t show you much so you should try it yourself.

What it does:
Bloom = Makes things like Explosions or some most look shiny
SSAO = Makes Textures look more Crispy
DOF (Depth of Field) = Makes the Horizon and other things blurry if they are far away.

So here is the Configfile for Warzone.

Code: Select all

[Generic]
Anisotropy=4
Multisample=8
MultisampleHint=0
Bloom=1
BloomSteps=16
BloomDarken=3.55
BloomScale=8
SSAO=1
SSAOScale=32.0
SSAOMinZ=0.005
SSAOMaxZ=0.02
Hue=0
Saturation=10
Lightness=1
Emboss=1
EmbossScale=1.666
DOF=1
DOFMinZ=0.0095 // Controls the Blurriness in the distance.
DOFSpeed=1.75
DOFScale=16.0

[warzone2100.exe]
RenderFrame=1 // This must be enabled or the shadows looks bugged.
SSAOMinZ=0.005
SSAOMaxZ=0.009 // Do not change this except u like it extreme dark ;)

[doomsday.exe]
RenderFrame=2
SSAOScale=2.0

[glquake.exe]
ZTrickFix=1
ViewportFix=1
BloomDarken=2
EmbossScale=0.4

[hl.exe]
ZTrickFix=1
RenderFrame=2
BloomDarken=5
BloomScale=1.0
SSAOScale=4.0
SSAOMaxZ=0.56
Hue=2
Saturation=5
Emboss=0
DOFSpeed=0.5
DOFScale=2.0

[gunman.exe]
ZTrickFix=1
RenderFrame=2
BloomDarken=4
BloomScale=1.25
SSAOMaxZ=0.56
EmbossScale=0.35
Hue=2
Saturation=5

[quake2.exe]
RenderFrame=1
ZTrickFix=1
SSAOMaxZ=0.56

[kingpin.exe]
RenderFrame=1
ZTrickFix=1
SSAOMaxZ=0.56

[sof.exe]
RenderFrame=1
ZTrickFix=1
SSAOMinZ=0.0005
SSAOMaxZ=0.56
EmbossScale=0.3
SSAOScale=96.0

[quake3.exe]
BloomSteps=12
BloomScale=2
SSAOScale=4.0
Hue=-2
Saturation=15
DOFMinZ=0.05

[sof2.exe]
RenderFrame=1
BloomSteps=12
BloomScale=2
SSAOScale=4.0
Hue=-2
Saturation=15
DOFMinZ=0.05

[stvoy.exe]
BloomSteps=12
BloomScale=2
SSAOScale=4.0
Hue=-2
Saturation=15
DOFMinZ=0.05

[stvoyhm.exe]
BloomSteps=12
BloomScale=2
SSAOScale=4.0
Hue=-2
Saturation=15
DOFMinZ=0.05

[wolfsp.exe]
BloomSteps=12
BloomScale=2
SSAOScale=4.0
Hue=-2
Saturation=15
EmbossScale=0.4

[wolfmp.exe]
BloomSteps=12
BloomScale=2
SSAOScale=4.0
Hue=-2
Saturation=15
EmbossScale=0.4

[tremulous.exe]
BloomSteps=12
BloomScale=2
SSAOScale=4.0
Hue=-2
Saturation=15
EmbossScale=0.5

[alice.exe]
RenderFrame=2
BloomSteps=12
BloomScale=2
SSAOScale=4.0
Hue=-2
Saturation=15

[unreal.exe]
RenderFrame=-1
Saturation=-10
BloomDarken=4
SSAOScale=32.0

[unrealtournament.exe]
RenderFrame=-1
BloomDarken=8
BloomScale=1.0
SSAOScale=32.0

[doom3.exe]
BloomDarken=2
BloomSteps=4
BloomScale=2
SSAOScale=16.0
Hue=3
Saturation=15

[quake4.exe]
BloomDarken=4
BloomSteps=4
BloomScale=1.5
SSAOScale=8.0
Hue=3
Saturation=15

[tuxracer.exe]
SSAO=0
BloomDarken=32
BloomScale=0.5

How to Install:
Its pretty easy like enb or sweetfx ;)
1. Download the files from their website
2. Put all files from the zip into the rootfolder (Where warzone2100.exe is)
3. Download the QeffectsGL.ini from the attachment in this forum.
4. Put this in warzones rootfolder and confirm to overwrite it.
5. Start Warzone and have fun ;)

If u modfied it ,then it were nice if u share your file with us.


NOTE:"I am NOT the Author of this dll-Library" I only modified the config-file to fit it for Warzone.
Not that somebody call me filethief or something like that.
Thats the reason why i do not upload the complete package even it were more comfortable for you all. ;)

Kind Regards
Chris

ps: Sorry for my Bad English but german is my native language.
You do not have the required permissions to view the files attached to this post.
Last edited by TheChris80 on 09 Apr 2014, 06:21, edited 1 time in total.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Bloom Shader for WZ

Post by NoQ »

Yeah its Russian and even the Readme is Russian.
Well, i can read that ...
dll
exe
Windows-only? :?
TheChris80
Greenhorn
Posts: 11
Joined: 20 Apr 2011, 14:24

Re: Bloom Shader for WZ

Post by TheChris80 »

Sadly Windows only. :(
but maybe the Dev of this tool could make a Linuxversion if u ask him or he give his sourcode away so linux-users can compile it by them self..
I cant read if its opensource or not.

I edited the Title so our members can see it directly.

Oh if u really want to try it why not use Wine or are there problems with warzone?
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Bloom Shader for WZ (Windows Only)

Post by NoQ »

Well, it says gplv2 on the google code project home, and there's a git repo on the source tab :hmm:
TheChris80
Greenhorn
Posts: 11
Joined: 20 Apr 2011, 14:24

Re: Bloom Shader for WZ (Windows Only)

Post by TheChris80 »

if u can get it running on linux it were nice to share this.
I havent installed Linux on my PC so i can´t test it.

I can compile it only via webserver (he is running ubuntu) but i guess you can do it on your linuxmachine better.