Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26736 - UT2003 ini files should specify SDL not DirectX renderer
Summary: UT2003 ini files should specify SDL not DirectX renderer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-16 11:24 UTC by Tom Felker
Modified: 2003-08-18 06:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Felker 2003-08-16 11:24:32 UTC
When I run /opt/ut2003/ut2003, it complains about missing
D3DDrv.D3DRenderDevice.  I was able to fix this by editing
/opt/ut2003/System/UT2003.ini.  Also, ut2003 isn't in my path, which I fixed
with a one-line shell script in /opt/bin.

Reproducible: Always
Steps to Reproduce:
emerge ut2003
ut2003
Actual Results:  
ut2003 isn't in the path.  When running /opt/ut2003/ut2003, it shows the splash
screen, prints an error about missing D3DDrv.D3DRenderDevice, and exits.

Expected Results:  
It should run.

I got it to run by making /opt/bin/ut2003, containing:
#!/bin/sh
exec /opt/ut2003/ut2003

and chmod a+x /opt/bin/ut2003.  A symlink doesn't work, because ut2003 looks for
it's data in the directory of it's executable.  I'm not sure if this is better
or worse than adding /opt/ut2003 to the path.

I also had to change /opt/ut2003/System/UT2003.ini thusly:

--- /root/UT2003.ini    2003-08-16 12:58:14.000000000 -0500
+++ /opt/ut2003/System/UT2003.ini       2003-08-16 12:58:48.000000000 -0500
@@ -18,9 +18,9 @@
 FirstRun=0

 [Engine.Engine]
-RenderDevice=D3DDrv.D3DRenderDevice
+;RenderDevice=D3DDrv.D3DRenderDevice
 ;RenderDevice=Engine.NullRenderDevice
-;RenderDevice=OpenGLDrv.OpenGLRenderDevice
+RenderDevice=OpenGLDrv.OpenGLRenderDevice
 AudioDevice=ALAudio.ALAudioSubsystem
 NetworkDevice=IpDrv.TcpNetDriver
 DemoRecordingDevice=Engine.DemoRecDriver
@@ -32,8 +32,8 @@
 EditorEngine=Editor.EditorEngine
 DefaultGame=XGame.XDeathmatch
 DefaultServerGame=XGame.XDeathmatch
-ViewportManager=WinDrv.WindowsClient
-;ViewportManager=SDLDrv.SDLClient
+;ViewportManager=WinDrv.WindowsClient
+ViewportManager=SDLDrv.SDLClient
 Render=Render.Render
 Input=Engine.Input
 Canvas=Engine.Canvas
Comment 1 SpanKY gentoo-dev 2003-08-16 11:55:44 UTC
if you added yourself to the games group and then `source /etc/profile`, you 
would have had ut2003 in your path 
 
the shell script was put in /usr/games/bin/ 
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2003-08-16 14:22:45 UTC
As for the rest of your bug, it was solved earlier in the week already and has already been fixed in CVS.

Check bug #26396 (trust me, it was the same problem)
Comment 3 Tom Felker 2003-08-16 20:04:14 UTC
I am a member of the games group, but I don't have /usr/games/bin/ut2003, or anything UT related in /usr/games/bin.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2003-08-18 06:08:35 UTC
You will need to remerge ut2003 to get the fixes.

emerge sync
emerge ut2003
emerge clean