jaquadro/NBTExplorer

Opening level.dat in Wine crashes.

Beanow opened this issue · 5 comments

NBTExplorer Error Report
13/05/2016 13:15:40
-------
NBTExplorer encountered the following exception while trying to run: IndexOutOfRangeException
Message: Array index is out of range.

-------
  at System.Windows.Forms.XplatUIWin32.ClipboardAvailableFormats (IntPtr handle) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Windows.Forms.XplatUIWin32:Win32DispatchMessage (System.Windows.Forms.MSG&)
  at System.Windows.Forms.XplatUIWin32.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <filename unknown>:0 
  at NBTExplorer.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
-------

Wow, it looks like this project is dead.
Oh well. I was having the same problem and I was hoping it could be fixed. I guess I'll just have to use a different program then, to change my singleplayer world player file to cheats-enabled, so that I can assign missing energy-values to EE3 items, so that the calcinator will output minium dust instead of ash every time I try to gt minium dust...

gd71 commented

This is probably because of missing mono-runtime and libmono-system-windows-forms packages (at least it was the case for my ubuntu distro)

why would you run it on Wine - FYI I was able to run this on Linux natively, using Mono, see #54 (and http://blog2.vorburger.ch/2017/02/how-build-mono-app-like-eg-minecraft.html)

gd71 commented

this is what I've done in fact,
just went here because I was looking about this error as my first test was to run it under wine.
after installing the relevant mono packages, the application ran fine.
BTW without the need to rebuild it

If both can confirm this, I assume #54 will solve the issue and will close.
Meanwhile I don't have the same distro, the mincraft server or the exact level.dat anymore to verify.