Skip to content

v2.5.3

Latest
Compare
Choose a tag to compare
@space928 space928 released this 18 Sep 23:25
· 2 commits to main since this release
3720035

This release brings many many bug fixes, performance improvements and some new features relating to remote methods.

Some of the changes include:

  • OmsiRemoteMethods is no longer static and can be accessed through the instance of OmsiHook/Memory
  • Updated dependent classes to use the instance of OmsiRemoteMethods
  • D3DTexture implements IDisposable to prevent memory leaks
  • Memory and OmsiHook now implement IDisposable to tidy up resources
  • Implemented fast path for local plugins for all Memory read/write/allocate operations in Memory
  • Enabled unsafe compilation of OmsiHook to support fast path for Memory operations
  • Various other local plugin related bug fixes
  • Fixed dereferencing bug in OmsiCreateTextureAsync when using local plugins
  • Improved D3D hooking reliability
  • Implemented small test for D3DTexture usage in a local plugin
  • Updated DNNE
  • Added D3DTexture mipmap support
  • Added RPC method to get texture level count
  • Added a few null checks to the local plugin path for Memory Read/Write operations to prevent crashes
  • Fixed some bugs with MonitorStateTask (used for OmsiHook events) in local plugins
  • Disposing of OmsiRemoteMethods (which is done automatically when disposing of OmsiHook) now closes the RPC session correctly
  • CloseRPCSession() is now awaitable
  • Implemented MakeVehicle() and TempRVListCreate()
  • Added MemArray for TOList
  • Fixed some broken arrays in OmsiComplObj
  • Fixed an incorrectly parsed string in OmsiMap
  • Improved error reporting in Memory.cs
  • Improved safety/performance of some core methods in Memory.cs
  • Slightly improved the performance of string reading
  • Rewrote MarhsalStruct/UnMarshalStruct to make use of compiled Expression Trees to allow for much faster marshalling of data without the need for reflection every time. (A cached reflection based fallback has been implemented as well)
  • Fixed OmsiAmpelGroup marshalling
  • Fixed OmsiOFTTex marshalling
  • Some bugfixes to multiple sessions with OmsiHookRPCPlugin

What's Changed

Full Changelog: v2.4.4...v2.5.3