Skip to main content

Unreal Tournament 2004 in 2015

I am planning to play some old games with some friends, but there are some issues with new hardware. For UT2k4 when starting I get the following error:

UT2004 Build UT2004_Build_[2005-11-23_16.22]

OS: Windows NT 6.2 (Build: 9200)
CPU: AuthenticAMD Unknown processor @ 3506 MHz with 2047MB RAM
Video: AMD Radeon HD 7700 Series (1429)

LockRect failed: D3DERR_DEVICELOST

History: UD3DRenderDevice::ReadPixels <- UD3DRenderDevice::Present <- UGameEngine::Draw <- UWindowsViewport::Repaint <- UWindowsClient::Tick <- ClientTick <- UGameEngine::Tick <- Level Untitled <- UpdateWorld <- MainLoop <- FMallocWindows::Free <- FMallocWindows::Realloc <- 10910191 0 FArray <- FArray::Realloc <- 0*2 <- FMallocWindows::Free

This seems to be a problem with Direct3D, so to fix it open the configuration file (C:\Program Files (x86)\Steam\steamapps\common\Unreal Tournament 2004\System\UT2004.ini). Under [Engine.Engine] comment out using a semi-colon (;) the line

RenderDevice=D3DDrv.D3DRenderDevice

and uncomment the line

RenderDevice=OpenGLDrv.OpenGLRenderDevice 

This changes the rendering to Open GL. Whilst the ini file is open you can set the monitor resolution (in my case 1920x1080). Under [WinDrv.WindowsClient] set

FullscreenViewportX=1920
FullscreenViewportY=1080

As widescreen resolutions have a wider field of view (FOV) than 4:3 monitors this also needs to be changed to stop things looking stretched. In user.ini in the UT2k4 system folder set

DesiredFOV=105.000000
DefaultFOV=105.000000

This should hopefully make everything run fine. The menus and HUD look a bit odd, but that doesn't make much difference to the gameplay.

Comments

Popular posts from this blog

Serious Sam on Windows 10

As an extension of my post on running Unreal Tournament 2004 on Windows 10, this post is about running Serious Sam: The First Encounter and Second Encounter on the new Windows. Installation from the CD is fine, as is the patch to the latest version ( First Encounter , Second Encounter ). The biggest difficulty getting the game in a widescreen resolution. When the game runs for the first time it adds all the settings to a file: C:\Program Files (x86)\Croteam\Serious Sam\Scripts\PersistentSymbols.ini In this file set persistent extern INDEX sam_iScreenSizeJ=(INDEX)1080; persistent extern INDEX sam_iScreenSizeI=(INDEX)1920; persistent extern user FLOAT plr_fFOV=(FLOAT)105; save and exit. For me this worked without any issues for the Second Encounter, but the First Encounter had this file completely blank. It turns out that Windows does not allow the game to edit this file when it's not running in Administrator mode. To set this so that it runs in Admin mode every time right

Latex package clash

Annoyingly, when trying to use the IOP journal template with the amsmath package you receive an error saying ! LaTeX Error: Command \equation* already defined.                Or name \end... illegal, see p.192 of the manual. which is caused by both amsmath and iopart having a definition for \equation*. This error occurs whether or not you are using \equation*. Not using amsmath makes writing maths so horrific you may as well use Word, but there is a way round; place the following lines before importing the amsmath package: \expandafter\let\csname equation*\endcsname\relax \expandafter\let\csname endequation*\endcsname\relax This removes the \equation* definition from iopart so that there isn't a clash when amsmath is imported. Perfect! Now you can use \align, \eqref, \text , etc. which are not part of the iopart package. I found this solution on stack exchange , but it took quite a while to find. Happy Latexing!

Hard case for Ibanez GA5TCE

One of the biggest criticisms of the Ibanez GA5TCE that I have seen is that Ibanez don't make a hard case for it. This wouldn't be so bad if it wasn't such an unusual size and shape for a classical acoustic, meaning you can't just use a generic case. After trying pretty much all of the cases in my local guitar shop they noticed that the Ibanez has a similar shape to the Alahambra slimline guitars, such as the 3 C CT , and Alahambra do make a hard case for them. The case has the catchy name " Cut-away thin Guitar Case 9565 " and turns out to fit the Ibanez GA5TCE almost perfectly. The case itself is black with a leather textured finish and copper coloured clasps. Inside it is black and fluffy like most cases. The guitar body fits snugly with effectively no movement. The neck is slightly thinner on the Ibanez than the Alahambra so the neck can move a few mm at the support. However, when the case is closed it seems very secure because the strings sit in the