Frontpage   Releases   Forum   Documents   Downloads   Links   Join Us!   Disclaimer   Contact Us


 

Advanced tweaks for IL2 stutter/FPS problems!
Submitted By: StG77_HaDeS Date: April 30, 2012, 02:43:44 PM Views: 4904
Summary: This is a HowTo whitepaper for tweaking your system so you can enjoy a smooth Play

Hi!
Here we'll try to make a stutter-FREE IL2 with the MAX performance.
This guide is a modified version from this one written by BigSilverHotDog :

Nvidia cards run IL2-Sturmovik better than ATI cards natively due to better openGL support. This is not a matter of debate, it is a fact. It has been repeated and reported on countless forums and technical sites by people more qualified than I, and in more technical reasons than I will go into here. The primary reason is that IL2 is natively an OpenGL game, not a directX game. DirectX mode is inferior because it maps directx calls to openGL calls, and because not all calls can be mapped, some things will be displayed incorrectly or not at all. A framerate boost going from GL to DX does not mean your computer cannot run IL2 well in GL mode, or that DX mode is 'better' for you, it simply means that you need to tweak your system better to support IL2's openGL mode.

Below you'll find 2 guides; one for Nvidia cards and one for ATI cards.

1 - NVIDIA ONLY!

Install nHancer. http://www.nhancer.com/
If the installation complains about Microsoft's .NET Framework Version 2.0 go here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en
download and  install it.
If you have  a 64Bit version of Windows XP download it from Here : http://www.microsoft.com/downloads/details.aspx?familyid=B44A0000-ACF8-4FA1-AFFB-40E78D788B00&displaylang=en

Make sure nvidia settings in the nHancer control panel are at defaults. No Anti Aliasing / Anisotropic Filtering , No Vertical sync, etc.





Use nHancer to clone a profile for il2 (if you need to, only some will need to) and then make sure the profile you will be editing has il2fb.exe as it's executable link. This way your settings will be applied every time you run IL2, but not for other games. nHancer can be used for all your games this way, but we're only concerning ourselves with IL2. In your cloned profile, assuming you have at least a 68O0 series card, you may have 2x/4x Anti-Aliasing and 8/16x Anisotropic filtering (make sure to check the box for multisampling, not super sampling, but you can use super-transparency if you like). Gamma corrected AA should be checked, and make sure Vertical Sync is ON and Force Open GL Triple-Buffer is ON also.





IF YOU USE SLI MAKE SURE THAT AFR3 IS THE MODE USED. This simple option took me forever to locate but once I used it a lot of stuttering disappeared.


2 - ATI ONLY

ATI cards work fine with Anti-Aliasing/Anisotropic Filtering in IL2. Do not be scared to use them, they don't hurt your FPS much. Some cards need catalyst AI disabled, some do not, so experiment with that option. VSYNC MUST BE OFF. I cannot stress this enough. "ATI Stutter" in IL2, and for you long time ATI owners who know what kind of stutter I'm talking about because we've seen it in countless games, is caused by vsync in almost every case. It's not bad framerate, its those incredibly annoying jerks.

3 - EVERYONE

This part is nice and simple. Don't argue with me, do it. Go into the game and make sure the landscape is Perfect. Everything else can be excellent, high, whatever maxed out. Open up conf.ini and go to the bottom (under the [Render_OpenGL]) and set the following options as follows (not in this order, just change the values as noted, IF NECESSARY):

HardwareShaders=0
Water=0
Forest=0
Effects=1

TRUST ME. There are other things you can change here if you want to improve visual quality, and I can post a full guide to what most options mean, and what values are possible, if so desired. The ones posted above are the big framerate killers though, and none of them significantly degrade visual quality in my opinion, and I'm really a stickler for pretty graphics. If you've simply got to have shaded water and Forest=2, enjoy your stuttering. If you claim you can max it out including shaded water and everything else, great. Good for you, you obviously don't need my help. Most people can't, no matter what hardware they are running, and 'stutter' means different things to different people. Try what I've said here. You might be surprised at how smooth il2 can really get.

4 - Samples of conf.ini for Nvidia Cards 68O0 and above

If you have a good Nvidia Card and a good processor >2GHZthen you should try the following conf.ini
Cut and paste it into your [Render_OpenGL] section and REPLACE yours. Make a back-up of your conf.ini if you like:

[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=2
Specular=2
SpecularLight=2
DiffuseLight=2
DynamicalLights=1
MeshDetail=2
VisibilityDistance=3

Sky=2
Forest=0
LandShading=3
LandDetails=2

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

VideoSetupId=3
Water=0
Effects=1
ForceShaders1x=0

PolygonOffsetFactor=-0.15
PolygonOffsetUnits=-3.0


If your game runs smoothly then you are OK. If you encounter Stutter or Frame-Loss the you must Change the Following Values in your [Render_OpenGL] section of conf.ini;

TexMipFilter=2
Specular=1
SpecularLight=0

And you should be OK.

5 - Samples of conf.ini for ATI cards

If you have a good ATI Card and a good processor >2GHZ then you should try the following conf.ini
Cut and paste it into your [Render_OpenGL] section and REPLACe yours. Make a back-up of your conf.ini if you like:

[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=0
TexFlags.TexEnvCombineDot3=1
TexFlags.DepthClampNV=0
TexFlags.SeparateSpecular=1
TexFlags.TextureShaderNV=0

HardwareShaders=0

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

Sky=2
Forest=0
LandShading=3
LandDetails=2

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

VideoSetupId=17
Water=0
Effects=1
ForceShaders1x=0

PolygonOffsetFactor=-0.15
PolygonOffsetUnits=-3.0

Again, if your game runs smoothly then you are OK. If you encounter Stutter or Frame-Loss the you must Change the Following Values in your [Render_OpenGL] section of conf.ini;

TexMipFilter=2
Specular=1
SpecularLight=0

And you should be OK.

ATTENTION!

If you STILL encounter big STUTTER and/or FPS Loss (No matter if you have Nvidia or ATI card, doesn't matter it applies at BOTH cards) then You SHOULD change the following values:

LandGeom=2

And/or

VisibilityDistance=2




(You may also try setting landscape details in IL2 in-game SetUp from "Perfect" to "Excellent")

WIDE-SCREEN SUPPORT:

If you have widescreen and have not specifically set it up for IL2 by editing the conf.ini, you need to do so. If you have a 16:10 monitor (that supports 1680x1050, otherwise use whatever 16:10 res you like), replace these lines in conf.ini with the following values:

width=1680
height=1050
ColourBits=32
DepthBits=24
StencilBits=8
ChangeScreenRes=1
FullScreen=1
DrawIfNotFocused=0
EnableResize=0
EnableClose=0
SaveAspect=0
Use3Renders=0

If you have 16:9, use the following values (or whatever 16:9 res you like, wikipedia has a list if you need it):

width=1366
height=768
ColourBits=32
DepthBits=24
StencilBits=8
ChangeScreenRes=1
FullScreen=1
DrawIfNotFocused=0
EnableResize=0
EnableClose=0
SaveAspect=0
Use3Renders=0


Some Last notes:

VideoSetupId=17 for ATI cards, 3 for NVIDIA. This is ideal for all the cards I specified in the beginning (68O0/r8O0 and beyond). PolygonOffsetFactor=-0.15 PolygonOffsetUnits=-3.0 are the correct values for both ATI and NVIDIA cards, at least at this point in my testing. ATI defaults to something else, I highly recommend changing it as ATI no longer has the numerous instances of polygon gaps as they once did (when IL2 was designed).

FOR MULTI CORE SYSTEMS ONLY!

Open conf.ini and browse to find ;ProcessAffinityMask
 Now remove the semicolon to uncomment the ProcessAffinityMask and set it to a value of 2 like this: ProcessAfinityMask=2 . This will force IL2 to use the second core. The first core is heavily used by Windows thus is more appropriate to run IL2 in the Second Core.
Trust me, you'll notice an increase in game performance!

See you in a Stutter-Free Sky!

S!!

Rating: This article has not been rated yet.
Comments


Powered By SMF Articles
Powered by EzPortal