Richard Matthew

Results 32 comments of Richard Matthew

#936 Does not happen if there's no fiber switching in `ScriptMain`, but the game crashes after loading a save game Edit: somehow referred to the wrong issue

I think I found a way to avoid the crash through some tricky managed/unmanaged transition. #1167

Ok, I don't think one can load multiple .NET runtime in a single process. However, with NativeAOT, it is possible to compile a self-contained native win32 dll. You can see...

I've created a working implementation for this: https://github.com/Sardelka9515/scripthookvdotnetcore New C++ core is written from scratch to adapt to NativeAOT's limitations. Most marshallig code and scripting API are copied from this...

It would be happy to merge it into this repo. But I'm not sure whether it should be kept in a separate asi or be merged into the current core...

It seems that .NET supports side-hosting with FX, after all. I've successfully implemented this in SHVDNC using hostfxr, it now supports CoreCLR/JIT mode. (Not released yet) Unloading is possible with...

#1118 was never going to work (at least in the original form), i think it was closed because it didn't get any update nor further explanations. > I'm also worried...

Ok, then i think I'll start with porting the core to pure c++, needs to research a bit about COM hosting (hostfxr is for .NET Core), there's not much information...

The basic idea is as follows: C++ core -> starts CLR using COM hosting -> shvdn(net48) -> load scripts in another AppDomain C++ core -> starts CoreCLR using hostfxr ->...

It never happened to me, does it present without rockstar launcher?