Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

cheers Mike - I'll take  a look...

I'm running it fine  here... I unzipped into a clean folder and ran with
Foldertest\CSpect.exe  -w3 cspect-next-16gb.img
So not sure what's different with yours....
Does it run the included demos (beast, parallax, mod etc)?

(+1)

Thanks.

 Still no joy.

This is the output from terminal after running with a clean folder ~ \mono CSpect.exe  -w3 cspect-next-16gb.img

Unhandled Exception:

System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.dylib assembly:<unknown assembly> type:<unknown type> member:(null)

  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)

  at System.Drawing.GDIPlus..cctor () [0x000b0] in <6bff38d4f68d4314b3cadf6dff6c9c99>:0 

   --- End of inner exception stack trace ---

  at System.Drawing.Icon.GetInternalBitmap () [0x00008] in <6bff38d4f68d4314b3cadf6dff6c9c99>:0 

  at System.Drawing.Icon.ToBitmap () [0x00018] in <6bff38d4f68d4314b3cadf6dff6c9c99>:0 

  at (wrapper remoting-invoke-with-check) System.Drawing.Icon.ToBitmap()

  at OpenTK.Platform.SDL2.Sdl2NativeWindow.set_Icon (System.Drawing.Icon value) [0x0001e] in <9314f5d039f340638e3a78d50aa1a6d0>:0 

  at OpenTK.NativeWindow.set_Icon (System.Drawing.Icon value) [0x00006] in <9314f5d039f340638e3a78d50aa1a6d0>:0 

  at A.y..ctor () [0x000b2] in <6a8159a131e9420581b0f73a3031e72c>:0 

  at a.Y.A (System.Int32 , System.Int32 ) [0x00016] in <6a8159a131e9420581b0f73a3031e72c>:0 

  at a.A.a (System.String[] ) [0x00343] in <6a8159a131e9420581b0f73a3031e72c>:0 

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.dylib assembly:<unknown assembly> type:<unknown type> member:(null)

  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)

  at System.Drawing.GDIPlus..cctor () [0x000b0] in <6bff38d4f68d4314b3cadf6dff6c9c99>:0 

   --- End of inner exception stack trace ---

  at System.Drawing.Icon.GetInternalBitmap () [0x00008] in <6bff38d4f68d4314b3cadf6dff6c9c99>:0 

  at System.Drawing.Icon.ToBitmap () [0x00018] in <6bff38d4f68d4314b3cadf6dff6c9c99>:0 

  at (wrapper remoting-invoke-with-check) System.Drawing.Icon.ToBitmap()

  at OpenTK.Platform.SDL2.Sdl2NativeWindow.set_Icon (System.Drawing.Icon value) [0x0001e] in <9314f5d039f340638e3a78d50aa1a6d0>:0 

  at OpenTK.NativeWindow.set_Icon (System.Drawing.Icon value) [0x00006] in <9314f5d039f340638e3a78d50aa1a6d0>:0 

  at A.y..ctor () [0x000b2] in <6a8159a131e9420581b0f73a3031e72c>:0 

  at a.Y.A (System.Int32 , System.Int32 ) [0x00016] in <6a8159a131e9420581b0f73a3031e72c>:0 

  at a.A.a (System.String[] ) [0x00343] in <6a8159a131e9420581b0f73a3031e72c>:0 

(1 edit)

Oh wow.... its crashing adding the icon to the window! What the actual hell!?!?!
Via Window.set_Icon() 

Does it work running any of the demos? Running the "beast.bat" file?

Oh wait... you're on MAC aren't you... interesting, might be a mono bug with the window icon. I can put a check around that for you. But please try the  supplied demos just to let me know it's consistent.

Ok, I tried starting the the nex files from  the demos, Beast, 3xAY, and tilemap test, they all failed with the previous console output.

I've updated to only set the window icon on Windows  ,   this should work for you.

Thanks, seems fine now.

Thanks for reporting :)