|
Unreal on Linux using WINE by Dougster, mirrored from
Unreal Gold Linux / Wine HOWTO!
It takes some tinkering to get OpenGL to work with Unreal Gold and Wine,
but I managed to get it working pretty well. There is a small amount of flickering
on the edges of far-away shapes, but it plays very well. I get avg 32fps in
1024x768-32bpp mode with everything set up to highest detail levels. This
is *without* real windows.
My test system is a dual Pentium-II Tyan Thunder 100GX motherboard with GeForce2MX,
192MB RAM, UW SCSI drives,
and mostly stock Debian 3.0 with some custom compiled stuff ( kernel, SDL,
etc... ) and X-Windows v 4.1.
I have a Creative SBLive! card which I compiled in support in my kernel.
Unreal Gold sound works fine! (As does everything else).
Unreal Gold already has the OpenGL renderer, but you have to add it to the
menu as it is apparently "beta" quality and isn't there by default.
Here's what you need to do (after compiling Wine {with OpenGL} and installing
Unreal Gold):
1. Create a file "OpenGlDrv.int" in [yourwine]/UnrealGold/System
[Public]
Object=(Name=OpenGlDrv.OpenGlRenderDevice,Class=Class,MetaClass=Engine.RenderDevice,Autodetect=)
Preferences=(Caption="Rendering",Parent="Advanced Options")
Preferences=(Caption="OpenGL rendering",Parent="Rendering",Class=OpenGlDrv.OpenGlRenderDevice,Immediate=True)
[OpenGLRenderDevice]
ClassCaption="OpenGL Support"
AskInstalled="Do you want to use OpenGL?"
AskUse=
2. Set "Unreal.log" to READ-ONLY (Prevents crash at
startup)
$ chmod ugo-w Unreal.log
3. Select the OpenGL renderer from the preferences menu and restart the game.
4. Edit / Tinker with "Unreal.ini" and "OpenGlDrv.ini" to optimize your card.
5. Consider making a script to run it to boost your gamma:
#!/bin/bash
cd [yourwine]/UnrealGold
xgamma -gamma 1.5
wine -- System/Unreal.exe
xgamma -gamma 1.0
Summary:
If it crashes, use "killall -9 wine" to zap it and restart, or
alternatively CTRL-ALT-BACKSPACE to kill X11. It will mostly
crash when screwing around with resolutions and renderers.
On my system, I just switch X to 1024x768 mode, go to the
top left corner of the desktop, and start the game. I have
no idea why "Unreal.log" needs to be read-only, but I read
about it somewhere on the net and it worked for me. It is
just as good or better than playing it on native Windows!
Once it is set up it runs great!
Enjoy!
|
| Monday, 11-Mar-2002 14:33:03 PST | kishan at hackorama dot com |

