Loading [MathJax]/extensions/Safe.js

Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: HardwareShaders=0 change it to 1 but keeps resetting back to 0  (Read 1590 times)

0 Members and 1 Guest are viewing this topic.

Colin S

  • member
  • Offline Offline
  • Posts: 5
HardwareShaders=0 change it to 1 but keeps resetting back to 0
« on: November 28, 2019, 05:41:08 PM »

Hi hope someone can offer some assistance. I am currently running IL-2 Sturmovik 1946  version 4.12 on a 4k pc   my specs are i7 8086k cpu clocked to 5.2ghz, Nvidia gtx 1080ti GPU, 32 g ram and running at 4k resolution.  I am having issues trying to run in 'perfect mode'  i have downloaded some excellent water mods from this great site but unfortunately i cant see them as my conf.ini file keeps resetting the HardwareShaders=0  entry.   I change it manually to HardwareShaders=1  save the file then run the game, but nothing, on exiting and looking at my conf.ini file the HardwareShaders  entry is reset back to HardwareShaders=0
I have searched for ages and the only thing i have found is on an old Ubisoft Forum with  an option in the nvidia control panel under 3D settings, which should be turned off  it supposed to be an entry called  "Extension limit". Unfortunately in Windows 10 and the more updated drivers today this option is no longer available via the nvidia control panel.  I have tried nvida profile inspector and that option is there but when i turn it off and run the game it doesn't seem to be having any effect and the HardwareShaders=0   entry is back to =0 again.
 
I have seen some amazing water mods and videos on youtube, unfortunately mine looks rather drab and flat.  If anyone can shed any light on this or have any possible solutions i would very much appreciate any help. thanks!

My nvidia drivers are 25.21.14.1771     dated 11/01/2019 

Here's a copy of my conf.ini file:



Code: [Select]
;INI File: conf.ini
[game]
Arcade=0
HighGore=1
mapPadX=0.6684028
mapPadY=-0.04675926
viewSet=59
Intro=0
NoSubTitles=1
NoChatter=0
NoHudLog=0
NoLensFlare=0
iconTypes=3
eventlog=eventlog.lst
eventlogkeep=0
3dgunners=1
ScreenshotType=1
RecordingIndicator=0
MapAlpha=0.99
SaveTrk=0
SkipParatrooperViews=0
NoMissionInfoHud=0
noKillInfoHud=0
BlockMorseChat=1
SmallMapWPLabels=1
ShowMorseAsText=0
TypeClouds=1

[HotKey game]
PrintScreen=ScreenShot
P=pause
Pause=pause

[HotKey gui]
Escape=activate



[window]
width=3840
height=2160
ColourBits=32
DepthBits=24
StencilBits=0
FullScreen=1
ChangeScreenRes=1
EnableResize=0
EnableClose=1
SaveAspect=0
Use3Renders=0
WideScreenFoV=1
UIColor=4
UIDetail=1
UIBackground=en
[GLPROVIDER]
GL=opengl32.dll

[sound]
SoundUse=1
SoundEngine=1
Speakers=1
Placement=0
SoundFlags.reversestereo=0
RadioFlags.Enabled=1
RadioEngine=2
MusicVolume=0
ObjectVolume=14
MusState.takeoff=1
MusState.inflight=1
MusState.crash=1
MusFlags.play=0
MasterVolume=14
Attenuation=7
SoundMode=3
SamplingRate=2
NumChannels=3
SoundExt.occlusions=0
SoundFlags.hardware=1
SoundFlags.streams=1
SoundFlags.duplex=1
SoundExt.acoustics=0
SoundExt.volumefx=0
SoundFlags.voicemgr=0
SoundFlags.static=1
VoiceVolume=0
Channels=2
SoundExt.extrender=0
SoundFlags.bugscorrect=0
SoundSetupId=8
ActivationLevel=0.02
Preemphasis=0.85
RadioLatency=0.5
AGC=1
PTTMode=1
SoundFlags.UseRadioChatter=0
SoundFlags.AutoActivation=0
RadioFlags.PTTMode=0
RadioFlags.PlayClicks=1
ActLevel=0
MicLevel=0
SoundFlags.forceEAX1=0





[Render_OpenGL]
TexQual=3
TexMipFilter=3
TexCompress=0
TexFlags.UseDither=1
TexFlags.UseAlpha=0
TexFlags.UseIndex=0
TexFlags.PolygonStipple=1
TexFlags.UseClampedSprites=0
TexFlags.DrawLandByTriangles=1
TexFlags.UseVertexArrays=1
TexFlags.DisableAPIExtensions=0
TexFlags.ARBMultitextureExt=1
TexFlags.TexEnvCombineExt=1
TexFlags.SecondaryColorExt=1
TexFlags.VertexArrayExt=1
TexFlags.ClipHintExt=0
TexFlags.UsePaletteExt=0
TexFlags.TexAnisotropicExt=1
TexFlags.TexCompressARBExt=1

TexFlags.TexEnvCombine4NV=1
TexFlags.TexEnvCombineDot3=1
TexFlags.DepthClampNV=1
TexFlags.SeparateSpecular=1
TexFlags.TextureShaderNV=1

HardwareShaders=0

Shadows=1
Specular=2
SpecularLight=2
DiffuseLight=2
DynamicalLights=1
MeshDetail=2
VisibilityDistance=3

Sky=2
Forest=1
LandShading=3
LandDetails=2

LandGeom=2
TexLarge=1
TexLandQual=3
TexLandLarge=1

VideoSetupId=17
Water=4
Effects=2
ForceShaders1x=0

PolygonOffsetFactor=-0.15
PolygonOffsetUnits=-3.0


[rts]
mouseUse=2
joyUse=1
trackIRUse=1
DisableIME=0
locale=
UseSmartAxis=0
JoyProfile=1

[Console]
HISTORY=128
HISTORYCMD=128
LOGFILE=log.lst
LOG=0
LOGKEEP=1
LOGTIME=0


[NET]
localPort=21000
speed=5000
remotePort=21000
remoteHost=
routeChannels=0
serverChannels=8
SkinDownload=1
serverName=
serverDescription=
socksHost=
[rts]
UseSmartAxis=0
Logged

Peter Lynn

  • member
  • Offline Offline
  • Posts: 590
Re: HardwareShaders=0 change it to 1 but keeps resetting back to 0
« Reply #1 on: November 28, 2019, 06:56:06 PM »

Hi Colin,
Your conf.ini file is possibly set to read only by default. If that is so, just uncheck the ticked read only box after  opening Properties.  Save and Re tick when finished. Hope this helps...
Logged

Colin S

  • member
  • Offline Offline
  • Posts: 5
Re: HardwareShaders=0 change it to 1 but keeps resetting back to 0
« Reply #2 on: November 28, 2019, 07:11:10 PM »

Hi Colin,
Your conf.ini file is possibly set to read only by default. If that is so, just uncheck the ticked read only box after  opening Properties.  Save and Re tick when finished. Hope this helps...


Hi thanks for your reply, i have checked that its not set to read only. I have made other changes to the conf.ini file, ie my custom resolution [window] width=3840 height=2160   and teh sky and water entries etc so i know its not read only.. But thanks anyway for your quick reply.
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 24059
  • Taking a timeout
    • STFU
Re: HardwareShaders=0 change it to 1 but keeps resetting back to 0
« Reply #3 on: November 28, 2019, 10:54:42 PM »

Your conf.ini looks a bit messed up.
For the Render_OpenGL section, please use the Nvidia values shown here, exactly like that:
https://www.sas1946.com/main/index.php/topic,9756.msg185327.html#msg185327

In the window section, set "StencilBits=8" and "ChangeScreenRes=0".

The GLPROVIDERS section is missing completely, add it:
Code: [Select]
[GLPROVIDERS]
Open GL=Opengl32.dll
DirectX=dx8wrap.dll

"OpenGL32.dll" starts with a capital "O". Shouldn't matter, but it also doesn't hurt to stick to the game's capitalization.

Make sure your game is really running on the Nvidia graphics card and not on the Intel CPU integrated graphics.

]cheers[
Mike
Logged
Don't split your mentality without thinking twice.

Colin S

  • member
  • Offline Offline
  • Posts: 5
Re: HardwareShaders=0 change it to 1 but keeps resetting back to 0
« Reply #4 on: November 29, 2019, 03:24:13 AM »

Thank you i will check that out when i fin work later.
Logged

Colin S

  • member
  • Offline Offline
  • Posts: 5
Re: HardwareShaders=0 change it to 1 but keeps resetting back to 0
« Reply #5 on: November 29, 2019, 02:51:51 PM »

THANK YOU Storebror! yes that's done the trick, wow big difference.  Thank you very much!!!, very much appreciated for your help this has drove me mad for the last week, so glad ive joined this awesome forum! Cheers Mike i owe you a beer!
Logged
Pages: [1]   Go Up
 

Page created in 0.038 seconds with 22 queries.