midspace / SEToolbox

This is a comprehensive 'world' Save Editor for the 'Space Engineers' Game.
143 stars 61 forks source link

SE Toolbox Continuation #183

Open mawh1 opened 5 years ago

mawh1 commented 5 years ago

HI Midspace, i'm hoping this reaches you through here, i was just wondering if SEToolbox is broken due to:

A) Lack of time/funds to fix it for the new update B) Its just hopelessly broken requiring an entire re-write to fix it for the new update

I understand how valuable SE Toolbox is to the SE community and i'm willing to fund its continued development / fix. Either through you if you'd like or continuing the project my self.

midspace commented 5 years ago

Hi Mawh1

As I wrote in #180

Due to the 2019-08-23 update of Space engineers containing the Economy update, I can no longer get SEToolbox working. SEToolbox is officially dead. I've looked into the changes in SE, but cannot see a way ahead to get it working again. I'm sorry to everyone who has been using it, both now and in the past, but it really isn't possible to get it working.

It's not a matter of funding, but thanks for the offer. A re-write won't fix it currently.

It comes down to integrating with the SpaceEngineers game libraries so that it can load the game resources and mods.

The problem is over time, the game code is integrated too tightly into the code for loading and managing game resources. Trying not to break copyright, or licencing, or the rules of the universe to load game resources without loading the game itself is very difficult.

In addition to that fact I've spend such a long time working on trying to get this working, that I'm frankly worn out. I've thrown in the towel on this. I can't lift this X-Wing Master Yoda.

I can outline the problem currently for you, if anyone else is looking to get it working. I may look at checking in the minor changes, but it's the major changes that are a showstopper.

Minor changes: The protobuf-net binaries replaced with protobuf.Net and protobuf.Net.Core sharp 2D have been removed. There's a change to IVRagePlatform, which requires new a implementation.

Major changes: These can only be debugged during runtime.

Can't created an instance of MySandboxGame any longer. There are render dependencies. I've tried to reflect around it. If I do, it throws an Object reference not set... exception. Going around it I tried to replace the call to Sandbox.MySandboxGame.InitiliazeRender(), except I get a The runtime has encountered a fatal error. The address of the error was at 0xa9881ce0, on thread 0x4d78. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack. This sounds like is more along the lines of doing something I shouldn't to a signed assembly.

MySandboxGame is required to load any Definitions. If you don't, there will be a NullReference exception as soon as you hit... MyDefinitionManager.Static.PrepareBaseDefinitions()

GAMEMASTER-THX commented 4 years ago

Hi, Midspace. Since SEToolbox is unfortunately dead due to the economy update, are there any tutorials on how to manually (using XML) change the size and coordinations of the planets on existing save games ?

Replies and assistance are highly appreciated.

VasVadum commented 4 years ago

And here I was getting back into the game, now with no ability to resize planets I feel it was pointless to return to the game. :/ I figured KeenSWH would eventually break things to an irrecoverable state though. Its a shame they didn't reach out and try to help fix this great tool.