Go to ...


A Better Technical Repository

RSS Feed

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:
Unreal Tournament should now start as normal