Jump to content
NATO2000

Help me about changing NVIDIA Driver/DirectX's Pixel Shader version to repair OFP night-time graphic

Recommended Posts

Hello,Friends, This year is my seventeenth year as a player of Operation Flashpoint.

Operation Flashpoint will accompany me throughout my life.

Operation Flashpoint has a unique problem, that is, starting from the DX9 graphics card, the night image effect in the game will become black and white.

https://forums.guru3d.com/threads/help-me-on-rivatuner-2-24-about-changing-nvidia-driver-directxs-pixel-shader-version.440029/

[check that link as you see,the second in game night time picture was amost black and grey]

The rendering on the DX8 graphics card is all normal.

I have checked the official technical information and player forums. They mentioned that the night rendering of the game performed abnormally on the DX9 graphics card, such as 6800GT, 7950GT and later graphics cards, but everything is normal on the FX5200 graphics card, because FX5200 is a DX8 graphics card, FX5200 The DX9 function is not complete.

What's more peculiar is that, among all the computer games in the world, Operation Flashpoint is the only game that has abnormal rendering problems with it's night images due to the upgrade of graphics card technology.

There are two ideas to solve this problem


There were two American (seem to be) players who have developed D3d8.dll for Operation Flashpoint, and matched it with Configurator.exe.

In Configurator.exe, there is such a setting:

Remove night pixelshader effect, after turning ON(not OFF) this option, the night image in the game can be rendered normally.




But this D3d8.dll does not make any optimizations to the frame rate and performance.

Those two authors had lost contact , their E-mailboxes wasn't existing anymore




--------------------------

Then on PCgamingwiki, there is another D3D8.DLL, https://github.com/crosire/d3d8to9/releases
PCgamingwiki provides a solution to improve the performance of the game.

This D3D8.DLL is really useful for improving the frame rate, but it does not support repairing the abnormal rendering of the game night image.
------------------------------

Then there is antoher solution, the old version of RivaTuner 2.24, which can provide the opportunity to modify the NVIDIA graphics card driver, and support users to independently select the Pixel shader version of the graphics card, pixel shader v1.0, V2.0, V3.0, etc., just choose V2 .0, restart the computer, the game screen will be normal.

However, RivaTuner 2.24 seems to only support 9800GT and previous graphics cards.

Graphics cards after GTX200 and GTX400 are no longer supported.

Moreover, it has become RivaTuner Statistics Server, which only provides functions like MSI afterburner.

there were another tools like nVhardPage SE and nHancer ,they were failed to running with GTX970M and GTX280 (both on windows 7)




So please help me:

Does any friend have the ability to integrate two versions of D3D8.DLL?

Is there a tool like RivaTuner 2.24 that can modify the pixel shader version of the driver?

Is there a friend who has the ability to modify the pixel shader version in the driver for modern graphics cards?


(this come to a bad end:Rundll error:nvcpl.dll not win32 ....... maybe GTX970M too new to this old tools)


================================================
Some other information with DXDLL for OFP :

To install, extract this archive to your Operation Flashpoint
directory. Run dxdll/configurator.exe to configure, or edit
the dxdll/config.cfg file with a text editor.

Note! Do NOT copy the d3d8.dll into your windows system
directory, doing so will break Direct3D from your system!

Dxdll adds various effects to OFP, including postprocessing
effects, reflective water and other enhancements.

Postprocessing effects include hard light effect, desaturation
effect and glare effect. For more information run the configu-
rator. All postprocessing effects require a video card with
at least pixel shader v1.1 support. Water reflections require
environmental bumpmampping and render to texture support.

Most effects and settings can also be changed with various
in-game shortcuts, press the application key and'H' while
playing for more information. When changing settings in-game,
they are not saved into the configuration so if you want to
do permanent changes you need to edit the configuration.

Note that due to the way the DLL works, it is likely that
there are compatibility problems with some video cards. If you
encounter problems, try these procedures:
-Disable some effects from the DXDLL configuration
-Make sure HW T&L is enabled from OFP Preferences
-Make sure multitexturing is enabled from video options
-Try increasing the texture size settings from OFP Preferences
-Try changing to 16bit or 32bit color
-Decrease the hardware acceleration setting from windows display properties
-Make sure you have the latest drivers installed for you video card

To uninstall dxdll, remove the d3d8.dll file from OFP directory.


-------------------------------------------------- -------
Known bugs
-------------------------------------------------- -------

-Changing screen resolution will crash the game

-Reflected objects appear "laggy" since they come from
the last rendered frame

-Glare fade effect often "burns" shapes into the image
which do not disappear until bright objects come to view

-Reflected objects are counted from farthest to nearest
so when the reflected objects count limit is hit, objects
near player will not be visible in the reflection

-Reflected objects distance is relative to player's position,
not the camera position, so when using 3rd person view or other
external camera, reflected objects can appear wrong

-Changes to OFP default textures, like changing the water
texture, causes the dll not to recognise them and can
cause some effect to not work properly.


Credits
-------------------------------------------------- -------

DXDLL is made by Kegetys <kegetys@dnainternet.net>
and Feersum Endjinn <feersum@dnainternet.net>

Includes code from the zlib library,
Copyright (C) 1995-2002 Mark Adler

 

 

Help me about changing NVIDIA Driver/DirectX's Pixel Shader version to repair OFP night-time graphic
-------------------------------------------------- -------

  • Confused 1

Share this post


Link to post
Share on other sites

Holy shit!
 

6 hours ago, NATO2000 said:

Operation Flashpoint has a unique problem, that is, starting from the DX9 graphics card, the night image effect in the game will become black and white.

 

Nope, that's a feature of the game, present when running it with DX8 or DX7 graphic cards too.

 

6 hours ago, NATO2000 said:

There were two American (seem to be) players who have developed D3d8.dll for Operation Flashpoint, and matched it with Configurator.exe.

In Configurator.exe, there is such a setting:

Remove night pixelshader effect, after turning ON(not OFF) this option, the night image in the game can be rendered normally.

 

You're talking about DxDLL which was a OFP-specific tool created by Keijo @kegetys Ruotsalainen. I'm 99.9999% sure Kegetys is one person, and comes from Finland.

 

DxDLL indeed contains an option to remove the in-game "night shader effect" for a little more color during the night. However it's the lack of "night shader" that's "abnormal" - due to the use of external DX8 injector, which DxDLL is.

 

I personally used DxDLL on graphic cards made to work with DX7, DX8, DX9 and DX10. Never really had any problems. DxDLL can be problematic on Windows systems newer than XP - but that's an issue with changes to Windows kernel, not DirectX/Direct3D API. And the problem is not with rendering, but with game crashing and/or refusing to start. That's why I stopped using it after moving to Win7.

 

So yeah - if you want to use some DX9 injector (like the d3d8to9.dll), suit yourself. But if you want to use the DxDLL-only feature of removing the vanilla night shader - you have to use DxDLL. There's no other way around it.

  • Like 1

Share this post


Link to post
Share on other sites
On 10/14/2021 at 7:01 PM, krzychuzokecia said:

Holy shit!
 

 

Nope, that's a feature of the game, present when running it with DX8 or DX7 graphic cards too.

 

 

You're talking about DxDLL which was a OFP-specific tool created by Keijo @kegetys Ruotsalainen. I'm 99.9999% sure Kegetys is one person, and comes from Finland.

 

DxDLL indeed contains an option to remove the in-game "night shader effect" for a little more color during the night. However it's the lack of "night shader" that's "abnormal" - due to the use of external DX8 injector, which DxDLL is.

 

I personally used DxDLL on graphic cards made to work with DX7, DX8, DX9 and DX10. Never really had any problems. DxDLL can be problematic on Windows systems newer than XP - but that's an issue with changes to Windows kernel, not DirectX/Direct3D API. And the problem is not with rendering, but with game crashing and/or refusing to start. That's why I stopped using it after moving to Win7.

 

So yeah - if you want to use some DX9 injector (like the d3d8to9.dll), suit yourself. But if you want to use the DxDLL-only feature of removing the vanilla night shader - you have to use DxDLL. There's no other way around it.

 

 

Yes, yes, during this time I conducted a detailed investigation and read 207 pages of troubleshooting information.

 

I believe that the black and white picture is indeed a characteristic design of OFP, not a rendering error.

 

However, you may have overlooked one thing. Human eyes cannot distinguish colors in the dark, but it is possible in places where there is light.

 

In OFP, black and white special effects make the player unable to distinguish colors regardless of whether they are in the dark or in the light, as if they are suffering from color blindness.

 

Bohemian companies pursue real design effects, but only achieve 50%. The other half have unreal results because of their prejudice and short-sightedness.

 

So only from the perspective of reality and simulation, black and white special effects are a catastrophic failure.

 

At the same time, the black and white special effects have greatly damaged the experience of the night battle. If you don't believe me, you can see the gorgeous and beautiful night battle scenes that have been removed from the black and white special effects.

 

Comparing the black and white night battle scenes, it's really horrible.

 

 

 

 

 

 

Share this post


Link to post
Share on other sites
On 10/14/2021 at 7:01 PM, krzychuzokecia said:

Holy shit!
 

 

Nope, that's a feature of the game, present when running it with DX8 or DX7 graphic cards too.

 

 

You're talking about DxDLL which was a OFP-specific tool created by Keijo @kegetys Ruotsalainen. I'm 99.9999% sure Kegetys is one person, and comes from Finland.

 

DxDLL indeed contains an option to remove the in-game "night shader effect" for a little more color during the night. However it's the lack of "night shader" that's "abnormal" - due to the use of external DX8 injector, which DxDLL is.

 

I personally used DxDLL on graphic cards made to work with DX7, DX8, DX9 and DX10. Never really had any problems. DxDLL can be problematic on Windows systems newer than XP - but that's an issue with changes to Windows kernel, not DirectX/Direct3D API. And the problem is not with rendering, but with game crashing and/or refusing to start. That's why I stopped using it after moving to Win7.

 

So yeah - if you want to use some DX9 injector (like the d3d8to9.dll), suit yourself. But if you want to use the DxDLL-only feature of removing the vanilla night shader - you have to use DxDLL. There's no other way around it.

 

 

Now let's talk about the Dxdll tool.

During my investigation, I also determined DxDLL which was a OFP-specific tool created by Keijo @kegetys Ruotsalainen.

Glad to know that Kegetys comes from Finland.

And I checked the homepage of Kegetys, he seems to be active in our forum, so I would like to contact him to see if he can make a dll that only removes black and white effects by default, and merge it with the d3d8tod9 dll.

In this way, everything is perfect.
-------------------------------------------------- ----

By the way, I conducted an OFP hardware performance test in 2018. The test results show that with the same configuration and the same driver, the frame speed of WindowsXP SP3 is more than 2 times higher than that of windows7 SP1.

The frame rate of the old driver is 50% higher than that of the new driver.

Win7 32-bit system is a little better than Win7 64-bit and can be ignored

The test used GTX280 and 7900GTX, i7 4790K CPU, 16G RAM and 256G SSD.

The computer of the new era is not suitable for OFP, and the operating system of the new era is not suitable for OFP.

The most suitable OFP is the windows XP operating system and the top configuration of the same generation.

GTX280 can make OFP run at 9999FPS, (yes, 9999, not999, not99)
And you can turn on Veryhigh terrain, full-height video settings.

Use 177.35 NVIDIA driver.

------------------------------------------------

So I must stick to this platform, as long as I want to get a good OFP operation effect.


So I also have to use d3d8tod9, and also find a way to solve the problem of black and white special effects.

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×