mbelle
Kako bi izvukli maksimum od svoje grafičke kartice, u slijedećih par redova možete pogledati kako nabrijati grafiku preko config.ini fajla te natjerati IL-2 da koristi multicore procesore iako generalno ne podržava ali malim prčkanjem po config.ini fajlu, može se napraviti čuda ako se zna šta se radi.

Prije upuštanja u tako nešto, molim vas da napravite backup config.ini fajla.

Slijedi pojašnjenje za neke postavke pod OpenGL-om u kojem se igra bolje ponaša nego pod DirectX-om.

"[Render_OpenGL]

TexQual=3
3= normal
2= reduced by factor of 2
1= reduced by factor of 4 0 = reduced by factor of 8.
Only need to reduce for older graphics cards of 16mb or less.

TexMipFilter=1
0=Bilinear (fastest)
1=Trilinear (Improves quality with little sacrifice in speed)
2=anisotrophic (Best quality but slower)

TexCompress=2
0=No compression best quality
1=16bit conversion
2=S3TC compression, best Performance. with easily worst texture quality

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=0

TexFlags.TexCompressARBExt=1
must be activated if S3TC compression is used

TexFlags.TexEnvCombine4NV=1

TexFlags.TexEnvCombineDot3=1


TexFlags.DepthClampNV=1

TexFlags.SeparateSpecular=1

TexFlags.TextureShaderNV=1


HardwareShaders=0
Must be 1 to activate Perfect mode.

Shadows=1

The lower the value in this section the less detailed these appear but game runs faster e.g
If you suspect trees or forests may cause the frame rate to drop, try lowering the Forestparameter in the conf.ini to 1, or even 0 (that would make forest appear in less detail, but render faster).

The only ones I have adjusted are water, Forest and Effects.

Specular=2

SpecularLight=2

DiffuseLight=2

DynamicalLights=1

MeshDetail=2

VisibilityDistance=2


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

LandGeom=2
TexLarge=0 High-resolution airplane textures (0/1)
0= low resolution, fewer memory needs, faster
1= quality, improves textures more memory need, slower

TexLandQual=3
TexLandLarge=0 High-resolution land textures (0/1) 0= low resolution, fewer memory needs, faster 1= quality, improves textures more memory need, slower

VideoSetupId=17

0 - Safe Settings
1 - Default Settings
2 - Maximum Settings
3 - NVidia GeForce 6800/6600/FX/4/3
4 - NVidia GeForce 5200..5900 - 1.x Shaders
5 - NVidia GeForce 4MX
6 - NVidia GeForce 2 GTS/MX/256
7 - NVidia Riva TNT2
8 - ATI Radeon X800/9800/9700/9600/9500
9 - ATI Radeon 8500/9000
10 - ATI Radeon
11 - Intel 915/925 (GMA900)
12 - Kyro II
13 - Matrox G400
14 - 3dfx Voodoo 3
15 - 3dfx Voodoo 5
16 - S3 Savage 4
17 – Custom

Water=4
To select water rendering mode please modify the Water section in the file conf.ini in the [Render_OpenGL] section (Water = 1 by default).

Water = 0 - Water with flat geometry (fastest).

Water = 1 - Water with flat geometry (fast).

Water = 2 - This mode is visually similar to water = 3 but it runs on ATI cards 9800, X800, X1800 and later models.

Water = 3 - Fast render mode with Vertex Shaders 3.0 (NVIDIA 6600 and later models)

Water = 4 - Better quality mode with Vertex Shaders 3.0 (NVIDIA 6800 and later models)

Reminder:
ATI 9500 and higher supports modes: 0, 1, 2.
NVIDIA 6600 and later models support: 0, 1, 2, 3, 4.
NVIDIA cards before the 6xxx series support: 0, 1, 2 (2 is not recommended).


Effects=1
To minimize effects settings, use Effects = 0 (effects without shadows).
Effects=2, ([Render_OpenGL] section of conf.ini) test mode for improved effects lighting. This mode required 3.0+ MHz CPU.

ForceShaders1x=0
If on older cards try to use ForceShaders1x = 1 it's helpful for GeForce FX 5200, 5600, 5700 cards. Not needed for newer cards



Clouds rendering

In order to see higher quality clouds you will need to manually edit the conf.ini file located in your main game folder before launching the game. Open the file with a text editor, find the [game] section and in the TypeClouds= line write in either 0 or 1, then save the file.

TypeClouds=0
standard clouds

TypeClouds=1
improved quality clouds

Note:
When playing online the player will see the cloud type set by the server, and not as individually set in their conf.ini. This is done to ensure all players see the same tactical situation in the air regardless of their settings.

PolygonOffsetFactor=-0.15
If you experience flickering airfields when viewed from high altitude, add these two lines into the OpenGL section to fix the issue

PolygonOffsetUnits=-3.0
-------------------------------------------------------

Perfect mode radi samo ako je uključeno hadwareShaders=1 i stencilbits=8.
Obavezno je i namjestiti LandGeom=3, jer kad vidite kako izgleda kad je postavka na 3, nikad vam neće pasti na pamet da je vratite na manji broj.

Korištenje više jezgri u IL-2

Za sve one koji nisu napravili slijedeće u config.ini fajlu učinite to (odnosi se za sve vlasnike višejezgrenih procesora).

Potrebno je u config.ini fajlu promijeniti tj. maknuti točku-zarez ispred " ;ProcessAffinityMask=1 " i promijeniti u " ProcessAffinityMask=3 " za dual core (vidi detaljni opis ispod). S time ste omogućili da IL-2 koristi više jezgri ukoliko vam je do sada koristio samo jednu.
Provjereno, osjeti se boost perfomansi u FPS, pogotovo kad su vam efekti nabrijani do kraja.

"If it is commented out the OS will decide which cores to use. ie All cores.
"IL-2 is not a ,multithread application." True
IL-2 only uses 1 core" False.
so PAF....

=1 - core 0
=2 - core 1
=3 - core 0+1
=4 - core 2
=5 - core 0+2
=6 - core 1+2
=7 - core 0+1+2
=8 - core 3
=9 - core 0 + 3
=10 - core 1 + 3
=11 - core 0 + 2 + 3
=12 - core 2 + 3
=13 - core 0 + 2 + 3
=14 - core 1 + 2 + 3
=15 - core 0 + 1 + 2 + 3

commented out - all cores

If a core is enabled, it does NOT mean that core will be performing 100% while the other cores that are not enabled do nothing.
The enabled core needs an active thread to perform,
The disabled cores will be assigned tasks by the OS if needed.
There is only one way to switch off cores - the power switch - meaning all or nothing lol.

There was an long thread at SimHQ some time back exploring this(end 2005/beginning of 2006).

a '1' bit will enable the core, a '0' bit disables it.
Actual activity of cores can be checked through TaskManager. Keep in mind in general Windows OS runs hundreds of threads at the same time IL-2 runs.

A substantial part of IL-2 is written in Java which can use in excess of 100 threads. (source: Sun Microsystems) Shift-Tab opens the Java console in-game Yep that's where all those white messages come from.

Bitmask: 00000 = Decimal 0
Processor affinity is off, and the load is distributed across all available processors.

Bitmask: 00001 = Decimal 1
Processor 1 selected. The process will only run on processor 1.

Bitmask: 00010 = Decimal 2
Processor 2 selected. The process will only run on processor 2.

Bitmask: 00011 = Decimal 3
Processors 1 & 2 selected. The load is distributed across both processors, effectively the same as setting 0 above for Dual cores.

Because 0 puts the load across all processors and 3 puts the load on processor 1 and 2, they are essentially the same thing for Dual core CPUs.

For Quad core CPUs you can use more values:

Bitmask: 00100 = Decimal 4
Processor 3 selected. The process will only run on processor 3.

Bitmask: 01000 = Decimal 8
Processor 4 selected. The process will only run on processor 4.

And any combo between 0 and 15, for example:

Bitmask: 00101 = Decimal 5
Processor 1 and 3 selected. The load is distributed across processor 1 and 3.

Bitmask: 01111 = Decimal 15
Processor 1, 2, 3, and 4 selected. The load is distributed across all processors, 1, 2, 3, and 4.

Get the picture?

Basically, using a multi core processor in IL-2 has no real performance gain when you're talking about just the game, but........
If you use a multicore processor and assign different programs to each core, you get incredible results.

ie. I use an AMD Phenom 9850 quad core with the following settings.

IL-2 is running on Core 4
TS is running on Core 3
HL is running on Core 2
Windows uses Core 1

This is what processor affinity will do for you. Take the load off of the core that you're using for the game by assigning the game to use a core that isn't normally used. Windows, by default, will always try to use the first core (Core 0). "



Mali izvadak iz config.ini fajla gdje se vidi promjena

"
[rts]
ProcessAffinityMask=3
mouseUse=2
joyUse=1
trackIRUse=1
DisableIME=0
locale=
"

 

.