[Solved] Can not launch NLEditor, through Wine on Ubuntu

Started by Guigui, May 29, 2025, 01:45:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Guigui

Hello there,

I'm using a hopefully complete installation of Wine 9, on Ubuntu 24.04.
The NeoLemmix.exe game launches just fine with the command
wine NeoLemmix.exe
However I wanted to try the level editor, and wine NLEditor.exe  gets me a bunch of error I'm not sure how to interpret, pasted below.
This could mainly be related to the whole Wine-Ubuntu thing, but I'm asking here too in case anyone encountered a similar problem and can give advice on how to launch the level editor with my current setup :
coq@GC:~/Jeux/NeoLemmix/Editor$ wine NLEditor.exe
MESA-INTEL: warning: ../src/intel/vulkan_hasvk/anv_device.c:1252: The kernel reported a GTT size larger than 2 GiB but not support for 48-bit addresses
MESA-INTEL: warning: ../src/intel/vulkan_hasvk/anv_device.c:1252: The kernel reported a GTT size larger than 2 GiB but not support for 48-bit addresses

Unhandled Exception:
System.NotImplementedException: The method or operation is not implemented.
  at System.Drawing.Font.FromLogFont (System.Object lf, System.IntPtr hdc) [0x0009e] in <881e150859e047dba143982f9ad099a8>:0
  at System.Drawing.Font.FromHfont (System.IntPtr hfont) [0x00029] in <881e150859e047dba143982f9ad099a8>:0
  at System.Drawing.SystemFonts.get_DefaultFont () [0x0009e] in <881e150859e047dba143982f9ad099a8>:0
  at System.Drawing.SystemFonts.get_MenuFont () [0x00053] in <881e150859e047dba143982f9ad099a8>:0
  at System.Windows.Forms.ToolStripManager.get_DefaultFont () [0x00025] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItem.get_Font () [0x00027] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItemInternalLayout.CommonLayoutOptions () [0x00047] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripDropDownButton+ToolStripDropDownButtonInternalLayout.CommonLayoutOptions () [0x00000] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItemInternalLayout.GetLayoutData () [0x00000] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItemInternalLayout.PerformLayout () [0x00000] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItem.OnBoundsChanged () [0x00017] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripDropDownItem.OnBoundsChanged () [0x00000] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItem.SetBounds (System.Drawing.Rectangle bounds) [0x0002e] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripOverflowButton.SetBounds (System.Drawing.Rectangle bounds) [0x0005d] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItem.set_Size (System.Drawing.Size value) [0x0000f] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStrip.get_OverflowButton () [0x0006a] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStrip.get_OverflowButton()
  at System.Windows.Forms.ToolStripSplitStackLayout.get_OverflowButtonSize () [0x00015] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripSplitStackLayout.LayoutHorizontal () [0x0005a] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripSplitStackLayout.LayoutCore (System.Windows.Forms.Layout.IArrangedElement container, System.Windows.Forms.LayoutEventArgs layoutEventArgs) [0x0009c] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.Layout.LayoutEngine.Layout (System.Object container, System.Windows.Forms.LayoutEventArgs layoutEventArgs) [0x00008] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00035] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ScrollableControl.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00023] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStrip.OnLayout (System.Windows.Forms.LayoutEventArgs e) [0x00076] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.LayoutEventArgs args) [0x00069] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.Control.PerformLayout () [0x00008] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.Control.ResumeLayout (System.Boolean performLayout) [0x00063] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStrip..ctor () [0x00102] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.MenuStrip..ctor () [0x00000] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.MenuStrip..ctor()
  at NLEditor.NLEditForm.InitializeComponent () [0x0001c] in <40f3c4fbcfec4904af7507f0bc9d0a39>:0
  at NLEditor.NLEditForm..ctor () [0x00032] in <40f3c4fbcfec4904af7507f0bc9d0a39>:0
  at (wrapper remoting-invoke-with-check) NLEditor.NLEditForm..ctor()
  at NLEditor.Program.Main () [0x0000e] in <40f3c4fbcfec4904af7507f0bc9d0a39>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: The method or operation is not implemented.
  at System.Drawing.Font.FromLogFont (System.Object lf, System.IntPtr hdc) [0x0009e] in <881e150859e047dba143982f9ad099a8>:0
  at System.Drawing.Font.FromHfont (System.IntPtr hfont) [0x00029] in <881e150859e047dba143982f9ad099a8>:0
  at System.Drawing.SystemFonts.get_DefaultFont () [0x0009e] in <881e150859e047dba143982f9ad099a8>:0
  at System.Drawing.SystemFonts.get_MenuFont () [0x00053] in <881e150859e047dba143982f9ad099a8>:0
  at System.Windows.Forms.ToolStripManager.get_DefaultFont () [0x00025] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItem.get_Font () [0x00027] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItemInternalLayout.CommonLayoutOptions () [0x00047] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripDropDownButton+ToolStripDropDownButtonInternalLayout.CommonLayoutOptions () [0x00000] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItemInternalLayout.GetLayoutData () [0x00000] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItemInternalLayout.PerformLayout () [0x00000] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItem.OnBoundsChanged () [0x00017] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripDropDownItem.OnBoundsChanged () [0x00000] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItem.SetBounds (System.Drawing.Rectangle bounds) [0x0002e] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripOverflowButton.SetBounds (System.Drawing.Rectangle bounds) [0x0005d] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripItem.set_Size (System.Drawing.Size value) [0x0000f] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStrip.get_OverflowButton () [0x0006a] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStrip.get_OverflowButton()
  at System.Windows.Forms.ToolStripSplitStackLayout.get_OverflowButtonSize () [0x00015] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripSplitStackLayout.LayoutHorizontal () [0x0005a] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStripSplitStackLayout.LayoutCore (System.Windows.Forms.Layout.IArrangedElement container, System.Windows.Forms.LayoutEventArgs layoutEventArgs) [0x0009c] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.Layout.LayoutEngine.Layout (System.Object container, System.Windows.Forms.LayoutEventArgs layoutEventArgs) [0x00008] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00035] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ScrollableControl.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00023] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStrip.OnLayout (System.Windows.Forms.LayoutEventArgs e) [0x00076] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.LayoutEventArgs args) [0x00069] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.Control.PerformLayout () [0x00008] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.Control.ResumeLayout (System.Boolean performLayout) [0x00063] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.ToolStrip..ctor () [0x00102] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at System.Windows.Forms.MenuStrip..ctor () [0x00000] in <ec4eb079760f4b2cad3017bac4150f59>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.MenuStrip..ctor()
  at NLEditor.NLEditForm.InitializeComponent () [0x0001c] in <40f3c4fbcfec4904af7507f0bc9d0a39>:0
  at NLEditor.NLEditForm..ctor () [0x00032] in <40f3c4fbcfec4904af7507f0bc9d0a39>:0
  at (wrapper remoting-invoke-with-check) NLEditor.NLEditForm..ctor()
coq@GC:~/Jeux/NeoLemmix/Editor$

Bravo jolie Ln, tu as trouvé : l'armée de l'air c'est là où on peut te tenir par la main.

namida

You probably need to install some WINE equivalent of the .NET Framework as well. I'm not sure off-hand how to go about that.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

Guigui

Thanks for the reply namida, it will give it a try and let you know if things go better.
Bravo jolie Ln, tu as trouvé : l'armée de l'air c'est là où on peut te tenir par la main.

Guigui

Ok I could launch the editor. Rough steps followed :

* uninstall version 9.0 of wine
* install wine 10.0 and wine HQ
* try to lauch the NLEditor, get a message asking me to install WineMONO ; which has components allowing .NET framework stuff
* let this WineMONO install.
* launch NLEditor via sudo wine NLEditor.exe. For some reason, trying to launch it without sudo privileges returns an error.

Now I have what looks like an OK editor, and certainly wont find time to learn how to use it.
Bravo jolie Ln, tu as trouvé : l'armée de l'air c'est là où on peut te tenir par la main.