Go Back   Forums > Unreal Tournament Forums > UT Technical
User Name
Password
Main Menu
Module Jump:
Top Posters
Last Post: 23-07-2008
Post Count: 1001001
Last Post: 28-11-2009
Post Count: 2295
Last Post: 29-10-2009
Post Count: 2063
Last Post: 22-10-2006
Post Count: 1870
Last Post: 01-04-2009
Post Count: 1322
More...
Mini Stats
Users 3,384 Articles 2
Users Articles
Threads 4,473 Reviews 0
Threads Reviews
Posts 48,032 Polls 115
Posts Polls
Content 0 Files 1
Content Files
Links 0 Ads 0
Links Ads
More...

UT Open GL Resources
  #1  
Old 06-09-2005, 08:18 PM
vitriol Offline
Rampage!
 
Join Date: Jan 2005
Location: Durham, England
Posts: 92
vitriol is off the scale
Default UT Open GL Resources

There have been many threads recently about using UT with OpenGL. So I thought it would be a good idea to pool as much information as possible into one thread.

When UT first came out in '99 the 3dfx Voodoo cards were the best accelerator to use, they used their own API called Glide. UT would default to using this API if you used a Voodoo card. Now though things are a little different. The two main graphics card producers are ATi and Nvidia, their hardware does not use glide, instead two more API's can be used.

The first is Direct3d or more commonly known as DirectX. While this gives good framerates and image quality, it has it's drawbacks ALT+TAB or minimising UT would cause the PC to hang while the API and your graphics card was working out what was going on. Another drawback was that the CD2 textures of the game would not work correctly, so you ended up installing 350mb of textures that looked no different.

The second is OpenGL which is an open source API. As people upgraded their machines, out went the classic Voodoo cards and in came an ATi / Nvidia card. Alot of the old school UT players who played on Glide dont like the way UT renders in Direct3d. UT did support OpenGL from the very first version, but the renderer was buggy and often caused more problems for the UT player (missing textures etc)

During UT's lifespan a clever chap decided that he'd make his own UT OpenGL renderer. He has steadily increased the feature set and performance of the renderer and most serious UT players will use it. It gives a nice crisp, clean look and delivers in most cases higher framerates.

What do you need to use OpenGL?

Make sure you have the latest video card driver installed, links at bottom of page.

Now you need to download and install the updated UT OpenGL renderer, it can be found here

http://cwdohnal.home.mindspring.com/utglr/

Scroll down to the bottom of the page, and download the version of the renderer that you want. i.e utglr31.zip (this is the latest renderer and the one that I would recommend that you use). There are previous version and the source code available too. Once downloaded you must extract the contents of the zip file to your UT system folder, if you need a program to extract the contents try winzip or winrar. When asked if you want to overwrite the existing file click on yes.

Now that the renderer has been installed, its time to tweak out the Unreal Engine!

Go into your UT system folder and look for this file

unrealtournament.ini

Open this file with notepad or another word processing program. Once the file is open look for this line (use the Edit > Find option in notepad)

[OpenGLDrv.OpenGLRenderDevice]

Delete the 6 lines of code that are there. Now you are ready to insert and enable the new features of the renderer.

Below is my opengl settings for UT just copy and paste into your unrealtournament.ini

[OpenGLDrv.OpenGLRenderDevice]
RefreshRate=85
DetailTextures=True
UseTrilinear=True
UseS3TC=True
UseTNT=False
LODBias=0.000000
UseMultiTexture=True
UsePalette=True
UseAlphaPalette=False
Translucency=True
VolumetricLighting=False
ShinySurfaces=True
Coronas=False
HighDetailActors=True
MaxAnisotropy=0
AlwaysMipmap=True
UsePrecache=False
SupportsLazyTextures=0
GammaOffset=0.000000
MaxLogTextureSize=0
MinLogTextureSize=0
MaxLogVOverU=0
MaxLogUOverV=0
MaxTMUnits=0
NoFiltering=False
DisableSpecialDT=False
UseFilterSGIS=False
Use4444Textures=False
UseVertexSpecular=False
UseTruform=False
ShareLists=False
DescFlags=0
Description=
TruFormMinVertices=0
TruFormTessellation=3
AAFilterHint=0
NumAASamples=0
UseAA=True
RequestHighResolutionZ=True
MaskedTextureHack=False
FrameRateLimit=0
SwapInterval=-1
UseVertexProgram=False
UseCVA=False
UseMultiDrawArrays=False
TexDXT1ToDXT3=False
DynamicTexIdRecycleLevel=100
UseTexPool=True
UseTexIdPool=True
UseSSE=2
BufferClippedActorTris=True
SinglePassDetail=False
ColorizeDetailTextures=False
DetailClipping=False
UseDetailAlpha=True
AutoGenerateMipmaps=False
UseBGRATextures=True
UseZTrick=False
OneXBlending=False
GammaCorrectScreenshots=True
GammaOffsetBlue=0.000000
GammaOffsetGreen=0.000000
GammaOffsetRed=0.000000

Descriptions of what each setting does can be found on the renderer page at the top. Ati Radeon owners may want to set UseTruform to True for an interesting effect. Depends on personal preference really.

A word of warning, the first line specifies the refresh rate to run the game at, make sure you set this to the same refresh rate as your desktop. If you are unsure of your refresh rate put it to 60, all modern monitors are capable of running at this refresh rate.

Save the unrealtournament.ini and fire up UT in safe mode. Click change your 3d device, tick show all devices and select OpenGL support. Click Next, Next and then Run. UT will now boot up in OpenGL.

You may have to adjust the brightness within UT, especially with ATi Radeon cards, ATi broke the gamma control in an earlier catalyst driver and with some cards / driver sets its still a bit iffy. I dont really find it a problem, pressing F11 ingame will increase the brightness for you.

Now some links

The renderer http://cwdohnal.home.mindspring.com/utglr/
Ati Drivers http://www.ati.com/
Nvidia Drivers http://www.nvidia.com/page/home
Winzip http://www.winzip.com/
Winrar http://www.rarlab.com/

Much kudos to the guy who continually supports our game with his efforts on the renderer. Thanks man

I take no responsibility if you manage to mess up your unrealtournament.ini file or if your game develops faults / crashes. I have used these settings for almost 4 years know with no problems. So do so at your own risk.

Cheers

vit
Reply With Quote
 

  #2  
Old 07-09-2005, 08:26 AM
Flash Offline
Administrator
Truff Administrator
 
Join Date: Jan 2005
Location: Dartmoor, UK
Posts: 2,063
Flash is an unknown quantity at this point
Default

Top article, thanks!
__________________
Reply With Quote
 

  #3  
Old 13-09-2005, 03:10 PM
Elfie's Avatar
Elfie Offline
Dominating!
 
Join Date: Feb 2005
Location: UK
Posts: 139
Elfie is off the scale
Default

Nice one mate. Flashy any chance of this being pinned?
__________________
¹²Monkeyz UT Clan Aliases Used : E=MC2 |S|ioux F/\BLE and many more....
Reply With Quote
 

  #4  
Old 13-09-2005, 03:24 PM
Me96 Offline
Dominating!
 
Join Date: Jul 2005
Posts: 190
Me96 is off the scale
Default

great stuff, will try it when I get home sometime tonight
Reply With Quote
 

  #5  
Old 13-09-2005, 08:56 PM
Xepha's Avatar
Xepha Offline
Godlike!
Truff Member
 
Join Date: Dec 2004
Location: 1000101
Posts: 1,088
Xepha is an unknown quantity at this point
Default

Good post!

One bit I don't quite understand:

Quote:
A word of warning, the first line specifies the refresh rate to run the game at, make sure you set this to the same refresh rate as your desktop. If you are unsure of your refresh rate put it to 60, all modern monitors are capable of running at this refresh rate.

Why set it to the refresh rate of your desktop or 60, when the refresh rate of the resolution UT is running at can go much higher?

My normal windows desktop just so happens to run at 60, which is also the maximum refresh rate, which is all I can get at my maximum resolution - 1280x1024. (Yes, I'm due a new monitor, and the 60hz isnt good for the eyes - but I just can't cope with windows at any lower res - everything just so god damn big! But nevermind all that...)

But, I run UT at 800x600 with a refresh rate of 85hz (forced with a little utility due to a windows bug). I would have thought, in my case, that the OpenGL setting RefreshRate would be 85?? Would that be wrong? And why?

Does any of that make any sense...
__________________
Disconnect me. I could be reworked, but I'll never be top of the line again. I'd rather be nothing...
Reply With Quote
 

  #6  
Old 13-09-2005, 09:28 PM
BullDog's Avatar
BullDog Offline
Godlike!
Truff Member
 
Join Date: Dec 2004
Location: Bristol, UK
Posts: 751
BullDog is an unknown quantity at this point
Default

no that's correct - UT should run at the same refresh rate as your desktop = in your case 85
__________________

Reply With Quote
 

  #7  
Old 14-09-2005, 07:31 AM
vitriol Offline
Rampage!
 
Join Date: Jan 2005
Location: Durham, England
Posts: 92
vitriol is off the scale
Default

using a refesh rate that exeeds your monitors capabilty will

1. Possibly cause damage to your monitor
2. Cause a lack of V Sync pulse, it will appear as if you have unplugged the monitor cable, screen will go black and the led on the front of your monitor will flash.

I recommended 60 as it is a safe value to use, as most monitors will support this refresh rate at resoloutions of 800x600, 1024x786, 1280x1024
__________________
[size=2]Phoenix Alliance (.pa) original member
#.pa @ irc.quakenet.org

Game Domain - http://game-domain.net
#game-domain @ irc.quakenet.org
Reply With Quote
 

  #8  
Old 14-09-2005, 07:34 AM
vitriol Offline
Rampage!
 
Join Date: Jan 2005
Location: Durham, England
Posts: 92
vitriol is off the scale
Default

Quote:
But, I run UT at 800x600 with a refresh rate of 85hz (forced with a little utility due to a windows bug). I would have thought, in my case, that the OpenGL setting RefreshRate would be 85?? Would that be wrong? And why?

aslong as your monitor is capable of 85hz at 800x600 then thats fine.
__________________
[size=2]Phoenix Alliance (.pa) original member
#.pa @ irc.quakenet.org

Game Domain - http://game-domain.net
#game-domain @ irc.quakenet.org
Reply With Quote
 

  #9  
Old 24-09-2005, 05:52 PM
Erotic-Sludge's Avatar
Erotic-Sludge Offline
Godlike!
Truff Member
 
Join Date: Dec 2004
Location: Purple Paradise
Posts: 1,182
Erotic-Sludge is an unknown quantity at this point
Default

Excellent post I'm gonna make it a sticky for a while
__________________
Monkeys!
Reply With Quote
 

  #10  
Old 22-10-2005, 07:12 PM
Lazarus's Avatar
Lazarus Offline
Godlike!
Truff Member
 
Join Date: Jan 2005
Location: Stockport
Posts: 608
Lazarus is an unknown quantity at this point
Default

Thanks very much Vitriol I did what you said and for the 1st time in 2 yearsI can use open GL with out playing in the dark or being unable to open and close the game via the windows button.
Reply With Quote
 
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT. The time now is 04:48 AM.


vBulletin skin developed by: eXtremepixels
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
top of page