Page 1 of 1

crash on startup

Posted: Mon May 25, 2015 12:34 am
by tbro
Program ran fine the fist time. Started up a 2nd time and it crashes on startup. Any help would be welcome. I was just getting into it. Here's what I get:

Sovereignty Error Report - Version: EA1.6 Build: 46
Reporter ID: 76561197994703088
Loaded Mods: None

=========================================================

Sovereignty Crash in thread: Main

Error: D3DERR_INVALIDCALL: Invalid call (-2005530516)

Stack traces:
-------------

Active thread (Main):

Method: Void Throw[T](System.Object, System.Object)
File: c:\users\promit\documents\projects\slimdx\main\trunk\source\result.cpp
Line Number: 119

Method: SlimDX.Result Record[T](Int32, Boolean, System.Object, System.Object)
File: c:\users\promit\documents\projects\slimdx\main\trunk\source\result.cpp
Line Number: 150

Method: Void .ctor(SlimDX.Direct3D9.Direct3D, Int32, SlimDX.Direct3D9.DeviceType, IntPtr, SlimDX.Direct3D9.CreateFlags, SlimDX.Direct3D9.PresentParameters[])
File: c:\users\promit\documents\projects\slimdx\main\trunk\source\direct3d9\device.cpp
Line Number: 64

Method: Void Begin(System.String, Int32, Int32, Int32, Boolean)
File: c:\Users\Jekky\Documents\Visual Studio 2010\Projects\Sovereignty\Sovereignty\Engine\RenderEngine.cs
Line Number: 195

Method: Void MainFunc()
File: c:\Users\Jekky\Documents\Visual Studio 2010\Projects\Sovereignty\Sovereignty\Program.cs
Line Number: 206

Method: Void ThreadFunc()
File: c:\Users\Jekky\Documents\Visual Studio 2010\Projects\Sovereignty\Sovereignty\Engine\ThreadManager.cs
Line Number: 79

============================END THREAD TRACE============================

Re: crash on startup

Posted: Mon May 25, 2015 7:37 am
by Jekky
It seems to be failing to create the game window - whic usually indicates a problem with the settings (incorrect resolution, etc). A little odd since you say it worked first time, but i would going to My Documents\Sovereignty\ and deleting the settings.cfg file to reset the game settings.

Re: crash on startup

Posted: Mon May 25, 2015 1:25 pm
by tbro
Thanks.
That worked.

The default resolution the program chose the first time I installed it wasn't my desktop one but I thought I'd let it keep the choice it made. When I deleted the cfg file and reinstalled (just to sure) it chose my desktop resolution of 1920x1080. A little weird but it starts up fine now.