Failed to create the D3D9 device problem

Avatar image for luq16
#1 Posted by luq16 (25 posts) -
I have this problem when I start the game, so I figured out that resolution in which the game starts is higher than my monitor resolution(the 'box' is higher, but tighter, so instead 1440x990 I have ~1400x990+). Can anyone help me find the .ini from where the resolution is set? I've been searching, but unsuccessfully.
Avatar image for luq16
#2 Posted by luq16 (25 posts) -
I've been able to find these lines in one of the .inis: [UnrealEd.UIEditorOptions] WindowPosition=(X=256,Y=256,Width=1024,Height=768) and changed it into [UnrealEd.UIEditorOptions] WindowPosition=(X=256,Y=256,Width=1440,Height=990) but the same error appears. Here's the screenshot: http://prntscr.com/18x3x6 EDIT: I managed to find the answer. I logged in to admin acc, disabled UAC and started the game. Got the same error. Went back to the normal acc and noticed more files under [RM folder]\RemeberMeGame\Config, particularly DefaultAdriftGfxConfig.ini. Tried changing ResWidth and ResHeight there with no success. After that I discovered Unreal Engine config files in Documents\My Games\UnrealEngine3\RememberMeGame\config and found a file named ExampleAdriftGfxConfig.ini there, which is the same as DefaultAdriftGfxConfig.ini, and I changed the values of ResHeight and ResWidth to match with the other file. After starting the game it works fine.
Avatar image for natasha8384
#3 Posted by natasha8384 (837 posts) -

I have this problem when I start the game, so I figured out that resolution in which the game starts is higher than my monitor resolution(the 'box' is higher, but tighter, so instead 1440x990 I have ~1400x990+). Can anyone help me find the .ini from where the resolution is set? I've been searching, but unsuccessfully.luq16
There is a newer patch that addressed that problem ... at least on Steam. However, if you can't get the patch or is still not working, try this (my post from Steam forums):

Try going to the file: ExampleAdriftGfxConfig.ini and open it in Notepad. The file path:
C:\Users\YourName\Documents\My Games\UnrealEngine3\RememberMeGame\Config\ExampleAdriftGfxConfig.ini

You'll see something like this and edit ResWidth and ResHeight to match your screen/desktop:
[Rendering]
ResWidth=1680 -- edit/write in your screen Width
ResHeight=1050 -- edit/write in with your screen Height
ResWinWidth=1280
ResWinHeight=720
RefreshRate=59
SuperSampleCount=2
AntiAliasing=2
EffectQuality=2
TextureQuality=1
ShadowQuality=1
Fullscreen=true
VSync=false
Gamma=244

Hope that works for you. Note that the file path on your system may be different, but you should be able to search your computer for *ExampleAdriftGfxConfig.ini*.