Tweaking your Deus Ex

<center>Enhanced Renderers For Deus Ex</center>
First of all you must choose whether to use Direct3D or OpenGL renderer.
NOTE: If you have problems with your renderer, please read this: [A] Knowledge Database - Changing Rendering Devices
Direct3D9
OpenGL
OpenGL Beta Build Renderer
Beta renderer builds. Not recommended for general use.
This renderer adds new experimental lighting features for meshes. It contains a new mesh drawing function that hopefully draws everything almost exactly like the old one when the other new features are not activated. However, this is a beta build and testing all cases is difficult, so it may have some rendering bugs.
<center>Renderer Settings</center>
Browse to your DeusEx\System folder and open DeusEx.ini
Find [WinDrv.WindowsClient] and apply these changes:
If you are using Direct3D 9, then find or create a line with [D3D9Drv.D3D9RenderDevice] and apply these changes:
If you are using OpenGL, then find or create a line with [OpenGLDrv.OpenGLRenderDevice] and apply these changes:
For full description of these OpenGL values please visit: UTGLR Settings
If you are using the beta renderer for OpenGL and want to enable it's features please also apply these changes to [OpenGLDrv.OpenGLRenderDevice]:
Also need to make sure that UseVertexProgram and UseFragmentProgram are enabled for the interesting parts of the new features to work. If not, the new mesh path can still be used. This may be useful for helping to determine if certain parts of it contain any bugs. It may run a bit faster too.
After those are taken care of, find the new lighting related settings in the Rendering\OpenGL Support section in the Advanced Options window. Leave the light count related setting that defaults to 4 set to 4.
Made by Dextruktor
Special Thanks To:
- [A] Knowledge Database
- Chris Dohnal (http://cwdohnal.home.mindspring.com/utglr/)
First of all you must choose whether to use Direct3D or OpenGL renderer.
NOTE: If you have problems with your renderer, please read this: [A] Knowledge Database - Changing Rendering Devices
Direct3D9
OpenGL
OpenGL Beta Build Renderer
Beta renderer builds. Not recommended for general use.
This renderer adds new experimental lighting features for meshes. It contains a new mesh drawing function that hopefully draws everything almost exactly like the old one when the other new features are not activated. However, this is a beta build and testing all cases is difficult, so it may have some rendering bugs.
<center>Renderer Settings</center>
Browse to your DeusEx\System folder and open DeusEx.ini
Find [WinDrv.WindowsClient] and apply these changes:
- Code: Select all
[WinDrv.WindowsClient]
WindowedViewportX=640 // Windowed resolution (Viewport X)
WindowedViewportY=480 // Windowed resolution (Viewport Y)
WindowedColorBits=32 // Screen brightness, leave 0.5 for best quality
FullscreenViewportX=1280 // Full-screen resolution (Viewport X)
FullscreenViewportY=1024 // Full-screen resolution (Viewport Y)
FullscreenColorBits=32 // The color amont in full-screen resolution (16,32)
Brightness=0.500000 // Screen brightness, leave 0.5 for best quality
MipFactor=1.000000
UseDirectDraw=True
UseJoystick=False
CaptureMouse=True
StartupFullscreen=True
CurvedSurfaces=False
ScreenFlashes=True
NoLighting=False // If this is set to [i]True[/i], there will be no lighting on things like walls, floor, ceiling, objects
SlowVideoBuffering=False
DeadZoneXYZ=True
DeadZoneRUV=False
InvertVertical=False
ScaleXYZ=1000.000000
ScaleRUV=2000.000000
Decals=True
MinDesiredFrameRate=1.000000 // The frames per second amount below which Deus Ex decreases quality for better performance
UseDirectInput=False
NoDynamicLights=False
SkinDetail=High // Skin detail, set it to Low or Normal for higher performance
TextureDetail=High // Texture detail, set it to Low or Normal for higher performance
If you are using Direct3D 9, then find or create a line with [D3D9Drv.D3D9RenderDevice] and apply these changes:
- Code: Select all
[D3D9Drv.D3D9RenderDevice]
Description= // Video card name
ZRangeHack=True // An experimental option that can make the z-buffer work better for far away objects. Might cause unexpected problems, but doesn't seem to break anything major so far. Will fix problems with decals flickering in the distance with 24-bit z-buffers, which is the most you can get on many video cards. Doesn't help enough to make 16-bit z-buffers work correctly.
NumAASamples=8 // Makes the edges of surfaces look better, put it either to 0, 2, 4, 6 or 8. 0 is no AA, 8 is max AA. Putting this to an other value than 0 will hurt your performance, so recommended to keep it to 0, when you're in dire need of fps.
UseAA=True // Enables multisample antialiasing. Requires the GL_ARB_multisample extension.
RequestHighResolution=True
UseSoftwareVertexProcessing=False
UsePureDevice=False
UseTripleBuffering=False
MaskedTextureHack=False // Enabling this option can prevent rendering problems with masked textures when the same texture is applied to different polygons that do not have the masked attribute set consistently across all of them. Likely examples of masked texture problems are rendering errors with solid colored boxes around railings and trees that can often times be fixed with the flush command. There is some risk to using this option, which is why it's called a hack option. It's likely to be very safe, but not completely safe. Implementing it the completely safe way is a lot of extra work, so it uses the simple solution. If it does happen to fail, there will be some completely incorrect textures on some objects.
SmoothMaskedTextures=False
SceneNodeHack=False
FrameRateLimit=0 // CPU controlled frame rate limiter in frames per second. Set to 0 to disable. (This won't work if your driver doesn't let the application decide on these options.)
SwapInterval=-1 // Controls V Sync. If set to the default value of -1, the default buffer swapping method is used. Set to 0 to disable V Sync. Set to 1 to enable V Sync. Set to higher values for one frame every N screen refreshes. Not all video drivers support values higher than 1.
UseVertexProgram=False // Enables vertex program mode. Consider this an experimental option. It can improve performance in some cases. It can also slow things down a lot if certain other settings are not configured correctly. It is likely to slow things down a lot if detail textures are enabled, but single pass detail texture mode is not enabled. It may not work correctly or may cause crashes with some video drivers.
TexDXT1ToDXT3=False // A workaround for poor image quality on NVIDIA GeForce1 - GeForce4 series hardware when using DXT1 format S3TC compressed textures. If enabled, converts all DXT1 textures to DXT3 textures on upload. This improves image quality on the previously mentioned NVIDIA hardware at the expense of twice as much texture memory usage for these textures. The NVIDIA DXT1 image quality problems or most noticeable on certain skybox textures. Keep this in mind when deciding whether or not to trade image quality for speed here. This option should not be enabled on any hardware that draws DXT1 textures with the same quality as DXT3 textures of course.
DynamicTexIdRecycleLevel=100
CacheStaticMaps=False
UseTexPool=True
UseTexIdPool=True
UseSSE2=True
UseSSE=True // Controls the use of SSE instructions. Set to True to auto detect CPU and OS support for SSE instructions and use them if supported. Set to False to disable the use of SSE instructions.
BufferTileQuads=True // Enables buffering in the DrawTile path. May improve text rendering performance.
BufferClippedActorTris=True // Alters how certain actor polygons are handled, some of which happen to be clipped by higher level code. It's a tradeoff and it is unlikely to make much of a difference either way.
SinglePassDetail=False // Enables single pass detail texture mode. This should generally be the highest performance detail texture mode. It requires 4 texture units. It also requires the UseDetailAlpha option to be enabled.
SinglePassFog=False // Enables single pass fog mode. This should generally be the highest performance fog mode. It requires 3 texture units. It also requires support for either the GL_ATI_texture_env_combine3 extension or the GL_NV_texture_env_combine4 extension.
ColorizeDetailTextures=False // Debug option for detail textures. If enabled, adds a green tint to detail textures.
DetailClipping=True // Enables the use of a somewhat experimental detail texture mode. It costs more CPU time, but may improve performance in fill rate limited situations.
UseDetailAlpha=True // Must be enabled for proper detail texture support.
DetailMax=0 // Set to 2 to enable a second detail texture layer. Set to 0 or 1 for standard one layer detail texturing if detail textures are enabled. The second detail texture layer will not show up unless SinglePassDetail is disabled.
RefreshRate=65 // Can be used to request a specific refresh rate when running full screen. If set to 0, a default refresh rate is used. If this value is set to an invalid or unsupported refresh rate based on video card or monitor capabilities, the renderer will fail to initialize.
MaxTMUnits=0 // Used to limit the number of texture units used by the renderer. Useful as a debug option. Disabled if set to 0.
NoFiltering=False // Can disable filtering on all textures. Useful as a debug option.
MaxAnisotropy=8 // Controls the use and level of anisotropic texture filtering. Disabled if set to 0. Should make no difference if set to 1 (isotropic texture filtering). If set to greater than 1, specifies the maximum degree of anisotropy to use for texture filtering.
Use16BitTextures=False //Selects lower quality and more compact formats for a number of textures, which will often speed things up. In many cases, there is only minor quality loss. In other cases, like with various skyboxes and coronas, there is often major quality loss.
UseS3TC=False // Enables the use of high resolution S3TC compressed textures if they are installed.
UseAlphaPalette=False // A workaround for very old buggy GeForce drivers. If set to False, will not upload masked textures as paletted. If there is hardware support for paletted textures, this option should be set to True unless it causes any problems.
UseTrilinear=False // Controls the use of trilinear texture filtering.
UsePrecache=False // Controls texture precaching. Texture precaching may improve performance by initializing internal data structures for a number of world textures and most likely getting them loaded into video memory at level load time. It will also slow level loading down some.
UsePalette=True // Controls the use of paletted textures. If there is hardware support for paletted textures, using them can significantly improve performance.
UseMultiTexture=True // Controls the use of multitexturing. Should always be enabled as the renderer has a few glitches when it is not. I might try to track these down some day. Due to the way some parts of the renderer are still written, it is likely to fail on any system without support for the GL_ARB_multitexture extension anyway.
MaxLogTextureSize=8
MinLogTextureSize=0
MaxLogVOverU=8
MaxLogUOverV=8
OneXBlending=True // If enabled, matches what the D3D renderer does for blending in multitexture mode when applying lightmaps to world geometry. I can't say for sure which way is correct. In single texture mode, the D3D renderer does appear to do blending like the OpenGL renderer in single texture mode or multitexture mode without OneXBlending enabled.
GammaCorrectScreenshots=False // If enabled, will apply gamma correction to screen shots.
GammaOffsetBlue=0.000000
GammaOffsetGreen=0.000000
GammaOffsetRed=0.000000
// Fine tuning parameters for gamma correction. These allow different offsets to be specified for each color channel. These offsets are never applied when gamma correcting screen shots, even if [i]GammaCorrectScreenshots[/i] is enabled.
GammaOffset=0.000000 // Offset for gamma correction. Can be used to adjust gamma correction even more if you hit the end of the Brightness slider in Video options. The default value of 0.0 causes no change. Use negative values for darker or positive values for brighter. If adjusting this setting for the first time, I'd recommend starting with small values such as -0.3 or 0.3.
LODBias=1.000000 // Allows mipmap selection bias to be adjusted. Use negative values to pseudo sharpen textures. Use positive values to blur textures and potentially improve performance at the expense of blurry textures.
DetailTextures=True // Enables detail textures.
HighDetailActors=True
Coronas=True
ShinySurfaces=True
VolumetricLighting=True
NoAATiles=False
RequestHighResolutionZ=True // Allows a high resolution Z buffer to be requested when running in a 16-bit color mode. It's a good idea to enable this option if running in 16-bit color because rendering problems can occur if a 16-bit Z buffer is used. Note that not all video cards support Z and color buffers of dissimilar bit depths.
UseFragmentProgram=False
Use565Textures=False
DescFlags=0
If you are using OpenGL, then find or create a line with [OpenGLDrv.OpenGLRenderDevice] and apply these changes:
- Code: Select all
[OpenGLDrv.OpenGLRenderDevice]
Translucency=True // Allows you to look through windows, shouldn't be disabled, even if you're struggling for performance, as it hardly affects performance
VolumetricLighting=True // Should be set to to true, setting it to false might make lightbuttons not work anymore (including your light augmentation)
ShinySurfaces=True // Setting it to false will make mirrors stop reflecting the environment.
Coronas=False // Setting it to true will cause street lights to have a glare around the light. Doesn't really affect performance, so put it to whatever you like.
HighDetailActors=False // Setting it to true will cause the actors to look more detailed, does affect performance quite a bit, so if you're struggling for fps, set it to false.
DetailTextures=False // Setting it to true will cause objects to look more detailed, affects performance as well, so if you're struggling for fps, set it to false.
UseTNT=False
MinDepthBits=0
MaxLogUOverV=8
MaxLogVOverU=8
UseMultiTexture=True
UsePalette=True // You should experiment around with this, some GFX cards perform better when this is toggled on, others do not.
UseAlphaPalette=True // Should be set to True, unless you have a really old computer with very old buggy GeForce drivers
ShareLists=False
AlwaysMipmap=True
DoPrecache=0 // Changing the value to 1, will make DX precache the maps every time you load them, making you have a little fps boost. There seems to be a bug however, making it precache the map every time you go to menu, causing a lot of annoyance after a while.
UseTrilinear=False // Makes the textures look a bit more nice than before, effects performance though, so keep it to false when you're struggling for fps.
MaxAnisotropy=0
SupportsLazyTextures=0
TruFormMinVertices=0
TruFormTessellation=3
UseTruForm=False
AAFilterHint=0
NumAASamples=0 // Makes the edges of surfaces look better, put it either to 0, 2, 4, 6 or 8. 0 is no AA, 8 is max AA. Putting this to an other value than 0 will hurt your performance, so recommended to keep it to 0, when you're in dire need of fps.
UseAA=False // Whether to use AA or not
RequestHighResolutionZ=True
MaskedTextureHack=True
FrameRateLimit=0 // Computer controlled frame rate limiter in frames per second. Set to 0 to disable.
SwapInterval=-1 // Controls V Sync. If set to the default value of -1, the default buffer swapping method is used. Set to 0 to disable V Sync. Set to 1 to enable V Sync.
UseVertexProgram=False
UseCVA=False
UseMultiDrawArrays=False
TexDXT1ToDXT3=False
DynamicTexIdRecycleLevel=100
CacheStaticMaps=True
UseTexPool=True
UseTexIdPool=True
UseSSE=True
BufferClippedActorTris=True
SinglePassDetail=True
ColorizeDetailTextures=False
DetailClipping=True // Enables the use of a somewhat experimental detail texture mode. It costs more CPU time, but may improve performance in fill rate limited situations.
UseDetailAlpha=True
RefreshRate=100 // Allows you to set a specific limit for your FPS to be at. (usually done, to lessen the strain on your computer) VSync has to be toggled on for this to work.
MaxTMUnits=0
NoFiltering=False
Use16BitTextures=True // Setting it to false will let you use 32 bit textures, which look better, but again decrease performance, set it to True, if you're struggling for FPS
UseS3TC=False
AutoGenerateMipmaps=False
UsePrecache=False // Changing the value to 1, will make DX precache the maps every time you load them, making you have a little fps boost. There seems to be a bug however, making it precache the map every time you go to menu, causing a lot of annoyance after a while.
UseBGRATextures=True
UseZTrick=False
MaxLogTextureSize=0
MinLogTextureSize=0
OneXBlending=False
GammaCorrectScreenshots=False
GammaOffsetBlue=0.000000
GammaOffsetGreen=0.000000
GammaOffsetRed=0.000000
GammaOffset=0.0000000
LODBias=1.100000 // Putting this to a positive value, wil cut the detail of textures, if they're far away from you, which will avoid your fps dropping massively when looking at a big part of the map. Putting it to a negative value will make textures blur less at long range, causing them to look better, but it will cut on your performance massively, especially when looking at a big part of the map.
DescFlags=0
Description=
ZRangeHack=True // Setting this to true will fix problems with decals flickering at long range. Please note that this is a "hack" and can result in something not displaying properly.
SmoothMaskedTextures=False
SceneNodeHack=True
UseSSE2=True
BufferTileQuads=True
SinglePassFog=True
DetailMax=0
NoMaskedS3TC=False
For full description of these OpenGL values please visit: UTGLR Settings
If you are using the beta renderer for OpenGL and want to enable it's features please also apply these changes to [OpenGLDrv.OpenGLRenderDevice]:
- Code: Select all
[OpenGLDrv.OpenGLRenderDevice]
EnablePatch=True
NewMeshPath=True
Also need to make sure that UseVertexProgram and UseFragmentProgram are enabled for the interesting parts of the new features to work. If not, the new mesh path can still be used. This may be useful for helping to determine if certain parts of it contain any bugs. It may run a bit faster too.
After those are taken care of, find the new lighting related settings in the Rendering\OpenGL Support section in the Advanced Options window. Leave the light count related setting that defaults to 4 set to 4.
Made by Dextruktor
Special Thanks To:
- [A] Knowledge Database
- Chris Dohnal (http://cwdohnal.home.mindspring.com/utglr/)