Page 1 of 1

Failed to set screen mode on win 7 netbook 1024x600

Posted: Sat Jan 23, 2010 11:31 am
by markbond
trying to run a cd version of darwinia on a 1024x600 netbook and get the failed to set screen mode error. patch also fails to install as it says i need dx9 even though win7 has dx10. i guess the problem is my screen resolution, which cannot be increased. some people say to edit the preferences.txt but i do not have one as this is only created one first good run. can someone send me their prefs file? will this work? is there any other fix?


thanks :?

Posted: Sat Jan 23, 2010 8:10 pm
by Shwart!!
1. Which patch are you talking about?
2. Have you tried setting the resolution from ingame? There is an options menu - press escape, go to options, then screen options. I'm not sure whether that specific resolution will be available or not, but if not, there should be several similar resolutions to choose from.
3. You should have a preferences file. The 'failed to set screen mode' error should just start Darwinia in a smaller, windowed resolution, so a preferences.ini file would be created. If Darwinia actually refuses to run, I'm not sure what to do about it. Can you clarify for me whether it actually starts or not?

Shwart!!

Posted: Tue Mar 29, 2011 12:31 am
by demagogue
I had this same error on my laptop.
I fixed it by running this program:
http://stellarmatter.net/static.php?page=dpg

I used DPG to create a preferences.txt file from scratch, with the screen resolution set to a lower value that my laptop could handle (like 800x600). Now it runs fine.

This should be put in the "Common Bugs" sticky because I saw the error coming up a lot in a Google search.

Posted: Thu Nov 24, 2011 5:11 pm
by Zalminen
Same problem here, and the DPG link just gives a 404 error now...

Anyone have a working preferences file?

Posted: Thu Nov 24, 2011 6:30 pm
by NeatNit
I think you can just create a new preferences file with the following:

Code: Select all

ScreenWidth = 800
ScreenHeight = 600

It's really important that you have an empty line in the end of the file.

I haven't tested this but it couldn't hurt.

Posted: Thu Nov 24, 2011 9:21 pm
by Zalminen
Well, now the blackbox.txt showed it had read the preferences but it still gave me the same error.

Ah, installing the 1.5.11 patch did the trick (after I removed the preferences file again), should have tried that first :roll:

Posted: Thu Nov 24, 2011 10:19 pm
by NeatNit
Didn't you buy it from the Humble Bundle? That should come with the latest update...


Whatever though, who am I to argue with results :P

Solved

Posted: Sun Nov 27, 2011 12:57 am
by SmaZz
Lunch with
preferences.txt

Code: Select all

BypassNetwork = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 1
SoundLibrary = software
SoundMixFreq = 22050
SoundMasterVolume = 255
SoundChannels = 32
SoundHW3D = 0
SoundSwapStereo = 0
SoundMemoryUsage = 1
SoundBufferSize = 512
SoundDSP = 0
ScreenWidth = 1024
ScreenHeight = 600
ScreenWindowed = 0
ScreenZDepth = 24
ScreenColourDepth = 32
ScreenRefresh = 60
RenderLandscapeDetail = 4
RenderWaterDetail = 3
RenderBuildingDetail = 3
RenderEntityDetail = 3
RenderCloudDetail = 3
RenderPixelShader = 0
ControlMouseButtons = 3
ControlMethod = 1
RenderLandscapeMode = 1
ManuallyScaleTextures = 1
UserProfile = SmaZz
RenderSpecialLighting = 1
BootLoader = random


Re: Solved

Posted: Sat Dec 03, 2011 11:50 pm
by shiftkun
I did this, but then it gave me this

VERSION : win32-full-1.4.2
ERROR : 'Couldn't open language file language/english .txt'

Also, I have a netbook with WinXP. Same resolution as OP.

SmaZz wrote:Lunch with
preferences.txt

Code: Select all

BypassNetwork = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 1
SoundLibrary = software
SoundMixFreq = 22050
SoundMasterVolume = 255
SoundChannels = 32
SoundHW3D = 0
SoundSwapStereo = 0
SoundMemoryUsage = 1
SoundBufferSize = 512
SoundDSP = 0
ScreenWidth = 1024
ScreenHeight = 600
ScreenWindowed = 0
ScreenZDepth = 24
ScreenColourDepth = 32
ScreenRefresh = 60
RenderLandscapeDetail = 4
RenderWaterDetail = 3
RenderBuildingDetail = 3
RenderEntityDetail = 3
RenderCloudDetail = 3
RenderPixelShader = 0
ControlMouseButtons = 3
ControlMethod = 1
RenderLandscapeMode = 1
ManuallyScaleTextures = 1
UserProfile = SmaZz
RenderSpecialLighting = 1
BootLoader = random