Configuration

From MegaGlest
Revision as of 22:17, 7 December 2009 by Trappin (talk) (The glest.ini Settings Explained)
Jump to: navigation, search

In Game

auto config description

In-game.jpg

  • Fx Volume -
  • Ambient Volume -
  • Music Volume -
  • Language -
  • Filter -
  • Shadows - If a message saying "YOUR SYSTEM DOES NOT SUPPORT 3 TEXTURE UNITS, REQUIRED FOR SHADOWS" appears, disable shadows
  • 3D Textures -
  • Max lights -

The glest.ini Settings Explained (outdated and needs revision)

This is an explanation of glest.ini options, values listed here are the defaults for version 0.7.1. martinho May 26, 2004

AiLog=0
Enables AI logging, 0 means log is disabled, higher values enable more log messages.

AiRedir=0
Redirects AI log to console. 0=No, 1=Yes

CameraFps=100
Internal framerate of camera calculations.

ChangeDisplay=1
1=Fullscreen, 0=Windowed

ColorBits=32
Framebuffer color bits. Don't change this.

ConsoleMaxLines=10
Max number of messages in the console

ConsoleTimeout=1
Seconds before a console message dissapears

DayTime=1000
Speed of day/night cycle, in seconds.

DebugMode=0
When enabled some usefull info is diaplayed on the screen (such as fps)

DepthBits=32
Depth buffer bits. For nvidia cards 24 is enough but 32 is recomended for ATI.

Filter=Bilinear
Selects from Bilinear and Trilinear filter.

FilterMaxAnisotropy=1
Anisotropic filtering. 1=Disabled, 2, 4, or 8 enable anisotropic filtering.

FocusArrows=1
Draws arrows for units one is selected.

FogOfWar=1
Enables disables fog of war.

FogOfWarSmoothing=1
Enables or disables fog of war smoothing.

FogOfWarSmoothingFrameSkip=3
Frame skip for fog of war smoothing.

GameMusic=music_a.ogg
Default music.

Lang=english.lng
Default language.

MaxLights=4
Max number of dynamic lights.

PathFindLevelsMax=400
Max number of pathfind levels, higher values result in better pathfinding and slower performance.

PhotoMode=0
Disables camera constraints.

RefreshFrequency=75
Refresh frequency when changing display mode.

ScreenHeight=768
X size of the screen

ScreenWidth=1024
Y size of the screen.

ShadowMapAlpha=0.05
Transparency of shadow map shadows.

ShadowMapFrameSkip=3
Frameskip for shadows.

ShadowMapSize=256
Size of shadow maps, must be a power of 2 but always under the screen size, higher values result in more accurate shadows and slower performance.

Shadows=ShadowMapLike
Shadow mode: Disabled, ShadowMapLike or ShadowVolumes. Starting from 0.7.1 shadow volumes can not be enabled in the in-game menu, so mofying glest.ini is the only way of enabling shadow volumes. If you want to do so you will also have to change the StencilBits option to 8 or 16

SoundStaticBuffers=8
Voices for FX sounds.

SoundStreamingBuffers=4
Number of streaming buffers.

SoundVolumeAmbient=65
Ambient volume.

SoundVolumeFx=85
FX volume.

SoundVolumeMusic=80
Music volume.

StencilBits=0
Sntencil buffer bits, should be 0 unless you want to use shadow volumes that must be 8 or 16.

Textures3D=1
Enable/disable 3D textures.

UpdateFps=40

World update frame rate. Higher rates smoother animations and slower performance.

Using the Configurator Application

VIDEO CARD HINTS

Auto config.

The first time you run the game it will try to detect the graphic settings most suitable for your video 
card. It's highly recommended that you don't change them unless you really know what you are doing. If you 
change the settings and you want to reset to the recommended ones, you can do it by using the auto config button
in the in-game config menu.

Required card features.
The game requires either OpenGL 1.4 or OpenGL 1.3 plus the GL_ARB_env_crossbar extesion. Most video cards with 
recent drivers support this features. You can bypass the feature check by replacing the "CheckGlCaps=1" line in 
glest.ini by "CheckGlCaps=0", but the game may crash or have graphics errors.

ATI card problems.
It seems to be bug in some ATI OpenGL drivers that makes the game crash with certain card/driver configurations 
when using more than 1 light. Auto config  will detect this issue and turn off all secondary lights when it 
detects an ATI card. If you still want to try running the game using more than 1 light you can change this setting
in the in-game config menu.

Shadows.
The game features real-time shadows using different algorithms. 1) Projected: Fast shadows but they provide unit 
over terrain shadows only, and can produce incorrect shadows in some circumstances. 2) Shadow mapping: Slow 
shadows but they are always correct and provide everything over everything shadows. In ATI cards they look 
aliased. Both types of shadows require a video card with 3 texture unit support. Auto config will set the most 
suitable shadow mode for your video card.

3D textures
The game uses 3D textures for some effects like animated water. Some old video cards (ie: GeForceMX) don't support
this feature by hardware and the game runs really slow when the camera is near a river.  Auto config will detect 
this and disable 3D textures when needed.