Page 1 of 1

Need help to get started

Posted: Mon Dec 10, 2012 4:11 am
by TheBlackSmurf
Hello,

I would like to have a look at the code and see if I could help you guys in this project... but right now, I'm the one who needs help getting started.

I did follow installations instructions carefully.... I did install every prerequisites using the links specified ine the INSTALL file. I'm able to compile but for some reasons, can't launch the compiled game. I only get an hourglass mouse pointer for half a second, then nothing.

I tried to start the game with both OpenRA.Game.exe (the root one and the one in OpenRA.Game\obj\x86\Debug) without success. (Before someone ask, I did add the parameters in the command line and moved all the third parties files...)

I use Visual Studio 2010... could it be the problem? Or is it someting else? Or maybe I need some rest and / or coffee in order to fix this?

Anyway, your help would be appreciated.

P.S. I downloaded and installed the game itself (Release 20121019) and it's working perfectly.

Posted: Mon Dec 10, 2012 1:05 pm
by Scott_NZ
Please reply with the contents of Documents/OpenRA/Logs/exception.log.

Posted: Mon Dec 10, 2012 1:36 pm
by TheBlackSmurf
Here's the log content:

Exception of type `System.DllNotFoundException`: Unable to load DLL 'SDL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
TypeName=``
at Tao.Sdl.Sdl.__SDL_Init(Int32 flags)
at Tao.Sdl.Sdl.SDL_Init(Int32 flags)
at OpenRA.Renderer.SdlCommon.SdlGraphics.InitializeSdlGl(Size& size, WindowMode window, String[] requiredExtensions) in C:\Users\UserName\OpenRA\OpenRA.Renderer.SdlCommon\SdlGraphics.cs:line 25
at OpenRA.Renderer.Glsl.GraphicsDevice..ctor(Size size, WindowMode window) in C:\Users\UserName\OpenRA\OpenRA.Renderer.Gl\GraphicsDevice.cs:line 50
at OpenRA.Renderer.Glsl.DeviceFactory.Create(Size size, WindowMode windowMode) in C:\Users\UserName\OpenRA\OpenRA.Renderer.Gl\GraphicsDevice.cs:line 26
at OpenRA.Graphics.Renderer.CreateDevice(Assembly rendererDll, Int32 width, Int32 height, WindowMode window) in C:\Users\UserName\OpenRA\OpenRA.Game\Graphics\Renderer.cs:line 158
at OpenRA.Graphics.Renderer.Initialize(WindowMode windowMode) in C:\Users\UserName\OpenRA\OpenRA.Game\Graphics\Renderer.cs:line 142
at OpenRA.Game.Initialize(Arguments args) in C:\Users\UserName\OpenRA\OpenRA.Game\Game.cs:line 256
at OpenRA.Program.Run(String[] args) in C:\Users\UserName\OpenRA\OpenRA.Game\Support\Program.cs:line 89
at OpenRA.Program.Main(String[] args) in C:\Users\UserName\OpenRA\OpenRA.Game\Support\Program.cs:line 36

Posted: Mon Dec 10, 2012 2:07 pm
by Matt

Posted: Mon Dec 10, 2012 3:11 pm
by TheBlackSmurf
Thanks to both of you...

It seems like zlib1.dll and freetype6.dll were also missing from the installation. I copied them from the 20121019 release and now everything is working.