How do I make map in Ubuntu Linux

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
User avatar
stealthx
Trained
Trained
Posts: 39
Joined: 01 Dec 2010, 00:59

Re: How do I make map in Ubuntu Linux

Post by stealthx »

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.

Code: Select all

        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. :(

to the bat cave!
"Game over man! Game over!"

In-game User: Penguin Army
User avatar
Goth Zagog-Thou
Regular
Regular
Posts: 1582
Joined: 06 Jan 2007, 08:08
Location: Delta Base
Contact:

Re: How do I make map in Ubuntu Linux

Post by Goth Zagog-Thou »

Hmm.. add tcl8.5-dev and tx8.5-dev using apt. Maybe that'll help.
User avatar
stealthx
Trained
Trained
Posts: 39
Joined: 01 Dec 2010, 00:59

Re: How do I make map in Ubuntu Linux

Post by stealthx »

nope still same error :(
"Game over man! Game over!"

In-game User: Penguin Army
User avatar
stealthx
Trained
Trained
Posts: 39
Joined: 01 Dec 2010, 00:59

Re: How do I make map in Ubuntu Linux

Post by stealthx »

i am also getting this error on flame 1.27

Code: Select all

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
"Game over man! Game over!"

In-game User: Penguin Army
User avatar
stealthx
Trained
Trained
Posts: 39
Joined: 01 Dec 2010, 00:59

Re: How do I make map in Ubuntu Linux

Post by stealthx »

never mind if you look @ my post in the FlaME map editr topic i figured it out.
"Game over man! Game over!"

In-game User: Penguin Army
User avatar
Goth Zagog-Thou
Regular
Regular
Posts: 1582
Joined: 06 Jan 2007, 08:08
Location: Delta Base
Contact:

Re: How do I make map in Ubuntu Linux

Post by Goth Zagog-Thou »

Yep, that's the missing tk8.5-dev and tk8.5 I was talking about. Glad you got it sorted. :)
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: How do I make map in Ubuntu Linux

Post by aubergine »

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
User avatar
duda
Trained
Trained
Posts: 141
Joined: 30 Aug 2011, 20:36
Location: Austria

Re: How do I make map in Ubuntu Linux

Post by duda »

hi

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

:roll:
"unit is under attack!", "unit is under attack!", unit is under attack!" then i wake up ... (true story)
Post Reply