Skip to content

SLIF NG 0.4.18

Choose a tag to compare

@crajjjj crajjjj released this 27 Oct 18:52
· 6 commits to main since this release

SKSE plugins can now read SLIF NG's values from C++ on every Skyrim version, and SLIF NG holds on to RaceMenu in a case where it used to lose it. Safe on existing saves. Profiles, the MCM and the Papyrus API are unchanged.

RaceMenu connection

SLIF NG reaches RaceMenu through an SKSE message. On Skyrim AE, when another SKSE plugin that sorts before skee64.dll fails to load, SKSE can deliver that message to the wrong plugin, and SLIF NG then ran the whole session without morphs or bone scaling. It now asks a second way that SKSE cannot misdeliver. The log line that tells you to read skee64.log also prints its folder correctly now (the backslashes were missing).

For SKSE plugin authors

  • New: SLIFNG_GetQueryInterface, a plain C export of BodyInflationNG.dll that returns the query interface. Find it with GetModuleHandleA + GetProcAddress from kPostLoad on. It works on every runtime and does not depend on SKSE messaging. The updated header declares the names and the function type.
  • The messaging handshake is still served. On SE 1.5.97 (SKSE 2.1.1 and older), SLIF NG now subscribes after every DLL has loaded. Until now, plugins sorting more than a few places after BodyInflationNG.dll were never heard (Failed to dispatch message to SLIFNG). On newer SKSE, messaging has holes no plugin can close, which is why the export exists.
  • The query interface is still version 2 and the Papyrus API still version 5. Only the header and the kit README changed in the integration kit.

Guide: C++ API