Space Engineers

Space Engineers

Armor Ramps [By UncleSte]
Owen Feb 10, 2015 @ 7:16pm
These Blocks Break Ship Export
Kind of annoying. The program crashes when I attempt to export a ship using these blocks. I see this in my log:

Exception occured: SharpDX.SharpDXException: HRESULT: [0x8876086C], Module: [SharpDX.Direct3D9], ApiCode: [D3DERR_INVALIDCALL/InvalidCall], Message: Unknown
at SharpDX.Result.CheckError()
at SharpDX.Direct3D9.Device.CreateTexture(Int32 width, Int32 height, Int32 levels, Int32 usage, Format format, Pool pool, Texture textureOut, IntPtr sharedHandleRef)
at SharpDX.Direct3D9.Texture..ctor(Device device, Int32 width, Int32 height, Int32 levelCount, Usage usage, Format format, Pool pool)

at VRageRender.MyRender.RenderColoredTextures()
at VRageRender.MyRender.Draw(Boolean draw)
at VRage.MyRenderThread.Draw()
at VRage.MyRenderThread.RenderCallback()
at SharpDX.Windows.RenderLoop.Run(Control form, RenderCallback renderCallback, Boolean useApplicationDoEvents)
at VRage.MyRenderThread.RenderThreadStart(Object param)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

Being a programmer the bold line made me think that maybe the textures were too hefty (they are kind of crazy at 2048x4096 which is really a lot more than necessary). I dropped them down to 1024x2048 and even 512x1024 in a local copy of the mod with the same issue. Really just wondering if this mod is doing something naughty. I have no trouble getting more complex mods to export; just seems to be this one that is giving me trouble.

Anybody have any suggestions beyond that?
Last edited by Owen; Feb 10, 2015 @ 7:17pm
< >
Showing 1-5 of 5 comments
Riverey Feb 25, 2015 @ 5:17am 
Hi Owen! Did you figured out how to get the textures out of the mod?
Riverey Feb 25, 2015 @ 5:31am 
@Owen
I'm asking because I wanted to set this material by hand to export the model on SketchFab
Owen Feb 25, 2015 @ 4:48pm 
I wanted it for the same reason. Sadly I haven't had any more luck with it.

I even dropped the texture resolution way down with no luck. I believe it is a known issue though. I can't remember where I read about it though. Apparently it is just an issue with some mods.

If you are feeling really creative the model still exports just fine and all the blocks have sane UV coordinates so you could always roll your own.
Owen Feb 25, 2015 @ 4:49pm 
Also, you can make your life a lot easier by preprocessing the ships a bit in a program like Blender. The meshes can be dramatically simplified without loosing any detail.
Riverey Feb 26, 2015 @ 12:28am 
But what do you mean by "dropped the texture resolution in the local copy of mod"?=)
Don't you need the texture itself for it?

Yes, I know, thank you. Actually that's what I'm talking about - I have my ship with all meshs and all textures exept the Armor Ramps. And I know how to add materials so I just need a texture for them

That's how ship look like if you use usual armor texture on them - SketchFab[skfb.ly]
Last edited by Riverey; Feb 26, 2015 @ 12:32am
< >
Showing 1-5 of 5 comments
Per page: 1530 50