config.ini explanation
[il2]
describes game
title=Il2-Sturmovik Forgotten Battles
describes game
hotkeys=HotKey game
this determines whether the game uses hotkeys that are assigned in control section of hardware section of game setup
[window]
this describes how windows displays the game on screen
width=1024
resolution width in pixels set in display properties settings tab in windows
height=768
resolution height in pixels set in display properties settings tab in windows
LCD native resolution not included as an option in FB/AEP/PF Enter your screen values here and Save and start your game.... (if you later open the IL-2 Setup and close it by clicking OK it will change the resolution to 640x480 16bit, unless you change it to something else via this IL-2 Setup.) You will need the following values as well
change SaveAspect=0
ChangeScreenRes=1
EnableResize=0
ColourBits=32
resolution colour set in display properties settings tab in windows. Can be 16 or 32
DepthBits=24
Z buffer usage can be 16 or 24
StencilBits=0
Set in driver section of Il2FB hardware setup. Can be 0 or 8
All the above deal with image quality. The higher the numbers for width and height then the more pixels will be used in the same area therefore the image will be more detailed. The larger the number of bits then the more detail there is per pixel so better image quality
ChangeScreenRes=1
allows the screen resolution to be changed in game. Can be 0 or 1
FullScreen=1
forces display to be full screen and not in a window. Can be 0 or 1
DrawIfNotFocused=0
setting to 1 allows watching the IL2 window in the background, while Alt-Tabbing out of the game. Quite useful for playing co-ops - if you crash and wait for the next mission to start, you can put IL-2 in the background and keep an eye on the mission progress, but at the same time start ranting about "my fav plane is porked" on the forums.
EnableResize=0
Enables user to change window size. can be 0 or 1
must be 0 to allow lcds to fill screen
EnableClose=1
SaveAspect=1
Forces 4:3 picture aspect. Can be 0 or 1
Change SaveAspect=1 to SaveAspect=0 will remove some small black bars at the top and bottom of the screen you get without it on lcds
Use3Renders=0
Allows use of up to 3 screens. Can be 0 or 1
[GLPROVIDER]
This section comments on what 3D drivers you are using
GL=Opengl32.dll
It will either be openGL or Direct X depending on what you picked during setup.
[GLPROVIDERS]
Changed by running setup from start-programs-ubi-il2sturmovich-setup
Open GL=Opengl32.dll
DirectX=dx8wrap.dll
[NET]
This section deals with your settings for connecting to the internet
speed=25000
for multiplayer games.
routeChannels=0
serverChannels=31
serverchannels indicates max allowable number of players
localPort=21000
port 21000 this will have to be enabled in your firewall to allow you to connect to web
remotePort=21000
This is Server's port that you connect. Hyper Lobby detects it automatically.
SkinDownload=1
SkinDownload= 1 allows skins to be used. 0 does not
serverName=
Name of own server
serverDescription=
Own description of server
remoteHost=
IP Internet address of the remote computer that one connects to
localHost=
IP internet address of the local computer that one connects to
socksHost=
checkServerTimeSpeed=1
Compares master clock of server and client
checkClientTimeSpeed=0
checkTimeSpeedDifference=0.05
Maximum difference of the master clock permitted (Maximum is 5%)
Note spelling of differense is correct
checkTimeSpeedInterval=5
Maximum difference of the master clock permitted (Maximum is seconds)
checkruntime=
In order to set the client-side verification parameters you will need to manually edit here
checkRuntime=0-no check is made (default);
checkRuntime=1-quick check;
checkRuntime=2-comprehensive check.
[MaxLag]
farMaxLagTime=10.0
nearMaxLagTime=2.0
cheaterWarningDelay=5.0
Time until you are cheating warning
cheaterWarningNum=-1
Number of warnings until player is kicked. If at -1 autokick is deactivated.
[chat]
region=(dx=0.6925,dy=0.071666665,x=0.0,y=0.0) Position and size of chat window
msg0 =
Contents of the message "0"
adr0=ALL
Receiver of the message "0" (all)
msg1 =
Contents of the message "1"
adr1=MY ARMY
Receiver of the message "1" (own side)
autoLogDetail =
On-Line Stat Messages
The server hosting an on-line game may set the ‘level of detail’ of the server auto-generated stat messages. The level is set in the conf.ini file in the Il-2 folder, in section [chat], in the autoLogDetail key.Ex.:[chat]
autoLogDetail = 3
You can set the key to the following options:0 - disables all stat messages.1 - only player-vs-player kill messages are displayed.2 - displays player-vs-player, and AI-vs-player kill messages.3 - a lot of chit-chatting.
[game]
In game settings
Arcade=0
when at 1 changes display to show balloon speech from aircraft and arrow bullet strikes etc. Can be 1 or 0
HighGore=0
when at 1 changes display to show gore effects on a limited number of planes Can be 1 or 0
This feature has been dsabled in recent versions of the game
mapPadX=0.6689453
mapPadX and mapPadY are position coordinates for the inflight map, they're nothing to do with padlock.They are a measure in fractions of full screen width from left of screen (mapPadX) and height from the top of the screen (mapPadY) for the top left corner of the map.
mapPadY=-0.046875
viewSet=32
Snap view -Even number. Pan view Odd number.
Intro=0
when at 1 runs intro movie at game launch
NoSubTitles=0
(Subtitles for pilots' voices; 1 = none, 0 = all) At top of screen
SubTitlesLines=3
Number of lines for sub-titles
NoChatter=0
(Radio chatter; 1 = none, 0 = all) To hear pilots voices
NoHudLog=0
HUD text messages and warnings; 1 = none, 0 = all At side of screen
NoLensFlare=0
(Lens flare effects; 1 = none, 0 = all)
iconTypes=3 allows user to change what is displayed in icons when enabled these are available from key bind in control section.
Icon Settings: You can change your icon types and distances by typing these variables in console in game the command syntax is: mp_dotrange [FRIENDLY|FOE] [DEFAULT] [COLOR] [DOT ] [RANGE ] [TYPE ] [ID ] [NAME ]
FRIENDLY or FOE keywords define which party the following parameters apply to the aircraft of the viewer's army, or the aircraft of the hostile armies.
The following keys define the distance at which the appropriate icon is enabled:
COLOR: The distance at which icons take the color of the inbound plane’s army. Icons farther away will be drawn in grey.
DOT: The distance at which the “dot” plane marker becomes visible.
RANGE: The distance at which the distance measurement appears in the icon.
TYPE: The distance at which the airplane model or model family becomes visible.
ID: The distance at which the tactical number is visible.
NAME: The distance at which the aircraft’s pilot name is visible (if it is driven by a human pilot).
mp_dotrange DEFAULT restores the Pacific Fighters predefined icon setup.
mp_dotrange run without parameters prints the current icon setup ranges (which may be issued by both client and server).
e.g mp_dotrange FRIENDLY COLOR 0.1 DOT 15 RANGE 5 TYPE 0.1 ID 0.1 NAME 2.5
This will give you friendly info at Aircraft dot at 15km range at 5km Pilot name 2.5km all other at 100metres
eventlog=eventlog.lst
describes where eventlog is written=n to is enabled
eventlogkeep=0
0 when 0, every mission overwrites the event log file, so it contains the last mission only. when 1, it writes an eventlog continuously, keeping log for all missions you fly
3dgunners=1
For 3d gunners in PF will effect frame rate =0 turns them off
Typeclouds=
TypeClouds=0 - standard clouds
TypeClouds=1 - improved quality clouds
[HotKey game]
describes keys assigned during play
PrintScreen=
ScreenShot
P=pause
Pause=pause
[HotKey gui]
Escape=activate
This line needs to be in config to end missions, For some reason, this line very often disappears when patching is done.
[HookViewFly Config]
this section is how your view moves in external view
timeFirstStep=2.0
Time until aircraft passes camera
deltaZ=10.0
Angle of camera to aircraft
[HookView]
The camera origins are fixed but the distances you may be able to change for the [Hook View] and [Hook View Fly] sections
MouseLeft=Len
[HookView Config]
AzimutSpeed=0.1
TangageSpeed=0.1
LenSpeed=1.0
MinLen=1.0
(closest distance from a given object while in camera view)
DefaultLen=20.0
(Default distance from object when using external views)
MaxLen=3000.0
(Max distance from camera you can zoom out, I have mine set to 50000 which is 50km. Nice for finding stuff if you die!)
Speed=6
(speed of mouse zoom and pan, higher is faster)
[HotKey builder]
these are key assignments when using the mission builder
[MouseXYZ]
This section concerns the variables for mouse control
The mouse is generally used as a viewing device either in game or when viewing tracks
[HotKey Console]
This section deals with console . There is a console help section in forums at
www.airwarfare.com for full list of commands. In the console you can change most of the config parameters while in game.
Shift Tab=Activate
The console is where you can type commands to the game. In this default setting you press shift +tab to show console
[Console]
The console is where you can type commands to the game.
In the default key setting you press shift +tab to show console
The most common use is fps START SHOW to display FPS
In the console you can change most of the config parameters while in the game.
HISTORY=1024
Number of lines permitted in console
HISTORYCMD=1024
LOAD=console.cmd
SAVE=console.cmd
LOG=0
Here logs are disabled but you can save them by setting to 1 if you wish the console will then be saved to a text file for you to view later.
LOGTIME=0
LOGFILE=log.lst
LOGKEEP=0
[sound]
This section deals with sound settings in game most are determined in the in game hardware setup sound section
SoundUse=1
SoundEngine=1
Speakers=1
0=Default 1=Headphones 2=Desktop speakers 3=Quadraphonic 4=Surround
Placement=0
0=Default 1=Small 2=Narrow 3=Wide
SoundFlags.reversestereo=0
RadioFlags.Enabled=1
RadioEngine=2
Radio volume
MusicVolume=8
Music volume
ObjectVolume=14
Object volume
MusState.takeoff=1
Takeoff music can be 1 or 0
MusState.inflight=1
Inflight music can be 1 or 0
MusState.crash=1
Crash music can be 1 or 0
MasterVolume=12
Main volume
NumChannels=2
0=Default 1=8 2=16 Best for quality vs. performance 3=32 Beware of performance hit!
[rts]
This section is for input controls for mouse and joystick
;ProcessAffinityMask=1
IL-2 supports two processors using the ProcessAffinityMask in the conf.ini. There's little documentation from Maddox Games about how you're supposed to use it, though.
ProcessAffinityMask=1 Core1 (default) or
ProcessAffinityMask=2 Core2 or
ProcessAffinityMask=3 Core1+2
You must remove the semicolon in order to run this command Basically tells IL-2 which core(s)to run on. There appears to be no consensus that running IL-2 on two cores shows any tangible difference.
One more thing to add. With the Semicolon in place you essentially have the same as:
ProcessAffinityMask=0 which also uses both cores so it's the same as =3.
EDIT BY StG77_HaDeS
Actually you HAVE to set game to use Only 1 core to have better FPS and considerable LESS stuttering.
mouseUse=2
joyUse=1
can be 1 or 0
trackIRUse=1
TrackIR is a piece of hardware that moves view when you move your head. This line also has to be in file if you use niewview a program that helps you get better control of your hat switch
DisableIME=0
locale=
Set menu and HUD message language to other than English, e.g., German (de) or Russian (ru) or Hungarian (hu)
[rts_mouse]
SensitivityX=1.0
the higher the value the more sensitive movement in x axis
SensitivityY=1.0
the higher the value the more sensitive movement in y axis
Invert=0
Inverts mouse movement
SensitivityZ=1.0
the higher the value the more sensitive movement in z axis
[rts_joystick]
Joystick settings are found in hardware setup in game See Tully's Joystick section for full instructions on setting up your joystick.
X=0 1 4 9 16 25 36 49 64 81 100 0
Each axis has 12 entries. The first is the dead zone ( 0 to 50) the last is filtering ( 0 to 100)
Y=0 1 4 9 16 25 36 49 64 81 100 0
If all values set to 100, IL-2 software does not do any "curving"
[Render_DirectX]
This section is for your video card and how its features are used in the game.
Most use OPENGL as the game was optimized for this so all comments are in this section.
See Video card section in IL2 optimization guide for explanation of terms
[Render_OpenGL]
This section is for your video card and how its features are used in the game.
See Video card section in IL2 optimization guide for explanation of terms
As Far as I Know the Text variables are all set in hardware setup program and depend on your card.
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=None
1=Bilinear (fastest)
2=Trilinear (Improves quality with little sacrifice in speed)
3=anisotrophic (Best quality but slower)
TexCompress=2
0=No compression best quality
1=16bit conversion
2=S3TC compression, best Performance. with little worse 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=15
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