FlaME on Linux
- Aubergine
- Andrew
Install Mono
If you've already installed Mono, skip this step.
Using your package manager, apt or Ubuntu Software Center:
- Install TCL 8.5 and TK 8.5 (you can try the -dev versions of these if you run in to problems later)
- Install mono-complete and mono-vbnc
Download & Setup FlaME
Get the latest FlaME Mono package, tilesets and object data from the downloads page.
Make a folder for FlaME in your home folder and extract the FlaME Mono package there.
Extract the tilesets and object data to the FlaME folder.
Run FlaME
Open a terminal window and browse to the directory that you extracted FlaME Mono package to.
Run FlaME with the following command:
mono FlaME.exe
If you've installed Mono developer you can run FlaME from your desktop by choosing Open With → Mono Runtime (Terminal) like this:
Troubleshooting
X11 Error ecnountered: BadMatch (invalid parameter attributes) (click below for full stack trace)
X11 Error encountered: Error: BadMatch (invalid parameter attributes) Request: 135 (5) Resource ID: 0x4600013 Serial: 207 Hwnd: Hwnd, Mapped:False ClientWindow:0x4600013, WholeWindow:0x4600012, 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(FlaME.frmMain Owner) 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: 0x4600013 Serial: 224 Hwnd: Hwnd, Mapped:True ClientWindow:0x4600013, WholeWindow:0x4600012, 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(FlaME.frmMain Owner) 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)
...it's likely to be an issue with the Linux 24-bit graphics detection which can usually be fixed by editing settings.ini (in the FlaME folder) and changing this:
MapViewBPP=32
To this:
MapViewBPP=24
Forum Topics
If you run in to problems, please check these forum topics: