ok... so i did that, but it still gave me the same error... :/
i also took a look at the source code and tinkered a bit, and i found out the problem, but i dont know how to fix it.
so first i ran monodevelop in debug mode.
then it pointed to this type of "end if" statment. and there are 2 of these in the trouble code.
If GraphicsContext.CurrentContext IsNot OpenGLControl.Context Then
OpenGLControl.MakeCurrent()
End If
when i delete these lines of code then FlaME opens... but the part where the Edititing happens is transparent. i ran this by a friend of mine and he was saying it could mean that it is calling for a certain something (i forget what its called) and that its not there.
i think that means that the dependancies you were talking about is not all that is needed.
X11 Error encountered:
Error: BadMatch (invalid parameter attributes)
Request: 135 (5)
Resource ID: 0x3600013
Serial: 209
Hwnd: Hwnd, Mapped:False ClientWindow:0x3600013, WholeWindow:0x3600012, Zombie=False, Parent:[<null>]
Control: OpenTK.GLControl at System.Environment.get_StackTrace()
at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
at OpenTK.Platform.X11.Glx.MakeCurrent(IntPtr , IntPtr , IntPtr )
at OpenTK.Platform.X11.Glx.MakeCurrent(IntPtr display, IntPtr drawable, ContextHandle context)
at OpenTK.Platform.X11.X11GLContext.MakeCurrent(IWindowInfo window)
at OpenTK.Graphics.GraphicsContext.MakeCurrent(IWindowInfo window)
at OpenTK.GLControl.MakeCurrent()
at OpenTK.GLControl.OnHandleCreated(System.EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message ByRef m)
at System.Windows.Forms.Control.WndProc(Message ByRef m)
at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
at System.Windows.Forms.UserControl.WndProc(Message ByRef m)
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.XplatUIX11.CreateWindow(System.Windows.Forms.CreateParams cp)
at System.Windows.Forms.XplatUI.CreateWindow(System.Windows.Forms.CreateParams cp)
at System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.CreateControl()
at OpenTK.GLControl.ValidateState()
at OpenTK.GLControl.MakeCurrent()
at FlaME.ctrlMapView..ctor()
at FlaME.frmMain..ctor()
at FlaME.modProgram..cctor()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[] commandLine)
at FlaME.My.MyApplication.Main(System.String[] Args)
OpenTK.Graphics.GraphicsContextException: Failed to make context current.
at OpenTK.Platform.X11.X11GLContext.MakeCurrent (IWindowInfo window) [0x00000] in <filename unknown>:0
at OpenTK.Graphics.GraphicsContext.MakeCurrent (IWindowInfo window) [0x00000] in <filename unknown>:0
at OpenTK.GLControl.MakeCurrent () [0x00000] in <filename unknown>:0
at OpenTK.GLControl.OnHandleCreated (System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WmCreate (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.UserControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
X11 Error encountered:
Error: BadMatch (invalid parameter attributes)
Request: 135 (5)
Resource ID: 0x3600013
Serial: 226
Hwnd: Hwnd, Mapped:True ClientWindow:0x3600013, WholeWindow:0x3600012, Zombie=False, Parent:[<null>]
Control: OpenTK.GLControl at System.Environment.get_StackTrace()
at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
at OpenTK.Platform.X11.Glx.MakeCurrent(IntPtr , IntPtr , IntPtr )
at OpenTK.Platform.X11.Glx.MakeCurrent(IntPtr display, IntPtr drawable, ContextHandle context)
at OpenTK.Platform.X11.X11GLContext.MakeCurrent(IWindowInfo window)
at OpenTK.Graphics.GraphicsContext.MakeCurrent(IWindowInfo window)
at OpenTK.GLControl.MakeCurrent()
at FlaME.ctrlMapView..ctor()
at FlaME.frmMain..ctor()
at FlaME.modProgram..cctor()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[] commandLine)
at FlaME.My.MyApplication.Main(System.String[] Args)
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for FlaME.modProgram ---> OpenTK.Graphics.GraphicsContextException: Failed to make context current.
at OpenTK.Platform.X11.X11GLContext.MakeCurrent (IWindowInfo window) [0x00000] in <filename unknown>:0
at OpenTK.Graphics.GraphicsContext.MakeCurrent (IWindowInfo window) [0x00000] in <filename unknown>:0
at OpenTK.GLControl.MakeCurrent () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) OpenTK.GLControl:MakeCurrent ()
at FlaME.ctrlMapView..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) FlaME.ctrlMapView:.ctor ()
at FlaME.frmMain..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) FlaME.frmMain:.ctor ()
at FlaME.modProgram..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] in <filename unknown>:0
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] in <filename unknown>:0
at FlaME.My.MyApplication.Main (System.String[] Args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for FlaME.modProgram ---> OpenTK.Graphics.GraphicsContextException: Failed to make context current.
at OpenTK.Platform.X11.X11GLContext.MakeCurrent (IWindowInfo window) [0x00000] in <filename unknown>:0
at OpenTK.Graphics.GraphicsContext.MakeCurrent (IWindowInfo window) [0x00000] in <filename unknown>:0
at OpenTK.GLControl.MakeCurrent () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) OpenTK.GLControl:MakeCurrent ()
at FlaME.ctrlMapView..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) FlaME.ctrlMapView:.ctor ()
at FlaME.frmMain..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) FlaME.frmMain:.ctor ()
at FlaME.modProgram..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] in <filename unknown>:0
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] in <filename unknown>:0
at FlaME.My.MyApplication.Main (System.String[] Args) [0x00000] in <filename unknown>:0
I've gathered some of the infos in this topic and linked topics and put them on a wiki page: https://warzone.atlassian.net/wiki/disp ... E+on+Linux -- if anything's wrong with that, please edit the wiki or comment on the wiki page.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
i have set up a new computer with ubuntu now and flame works fine
but VisualBasic Runtimes for mono are also required
if installed - flame.exe from the mono-download-package works fine with mono-command
"unit is under attack!", "unit is under attack!", unit is under attack!" then i wake up ... (true story)