Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.NullReferenceException when opening .GEOMETRY.MBIN.PC files #3

Open
Gerokusu opened this issue Sep 16, 2017 · 1 comment
Open

Comments

@Gerokusu
Copy link

Hello,

I downloaded the two tools (NMS-Extract and NMS-View), and while the extractor works fine (create all MBIN files from PAK files), when I try to open any of these MBIN files in the Viewer, it keeps raising a null pointer exception.

System.NullReferenceException: Object reference not set to an instance of an object.
   at NMSView.NMSVertex..ctor(BinaryReader handle, NMSSectionStreamDescriptor desc)
   at NMSView.NMSModel.ReadVertices(BinaryReader handle, Int32 SecId, NMSSectionStreamDescriptor StreamDesc)
   at NMSView.NMSModel.Read(BinaryReader handle)
   at NMSView.NMSModel.Read(String fname)
   at NMSView.NMSViewGame.LoadModel(String FileName)
   at NMSView.RenderWin.openGeometryToolStripMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Any idea of how and why it could raise such an exception ?

Thank you very much !

@hansolocambo
Copy link

This is an abandonware. Check this page : http://nmsmodding.wikia.com/wiki/No_Man%27s_Sky_Modding_Wiki#Beginner_Topics
You'll find the most recent viewer (v 1.3). And much more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants