August 6

Games: UT2004 Crashes on startup – LockRect failed: D3DERR_DEVICELOST

On Windows 8.1 and Windows 10, Unreal Tournament 2004 has problem with DirectDraw.
The following error pops up:
LockRect failed: D3DERR_DEVICELOST
History: UD3DRenderDevice::ReadPixels <- UD3DRenderDevice::Present <- UGameEngine::Draw <- UWindowsViewport::Repaint <- UWindowsClient::Tick <- ClientTick <- UGameEngine::Tick <- Level Untitled <- UpdateWorld <- MainLoop
To resolve the issue you can deactivate the call for DirectDraw and use OpenGL instead.
Do the following:
Go to YourGamedirectoryUT2004SystemUT2004.ini
Find the section [Engine.Engine]
Comment out: RenderDevice=D3DDrv.D3DRenderDevice with a ;
Remove the “;” for RenderDevice=OpenGLDrv.OpenGLRenderDevice
Your section should look like the following:
[Engine.Engine]
;RenderDevice=D3DDrv.D3DRenderDevice
;RenderDevice=D3D9Drv.D3D9RenderDevice
;RenderDevice=Engine.NullRenderDevice
RenderDevice=OpenGLDrv.OpenGLRenderDevice
;RenderDevice=PixoDrv.PixoRenderDevice
Unreal Tournament should now start as normal


Copyright 2021. All rights reserved.

Posted August 6, 2015 by Timothy Conrad in category "Games

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. Securely email me using - PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B