Skip to content

SARDONYX-sard/commonlibsse_ng

Repository files navigation

CommonLibSSE-NG rust

Manual implementation

Implementation progress

  • I have not been able to test any APIs other than Calendar, so I am not sure if the memory layout is correct.

  • In fact, almost all relocation and vtable address acquisition is now possible, so it can already be used by manually defining the RE namespace structure API.

  • Currently the priority is to enable the PlayerCharacter API

  • API names are currently not stable and are in the trial and error stage. Therefore, there is no guarantee of compatibility in the next commit.

Module progress additional
RE 3% The work on the Calendar API is done, but the workload is too huge to finish.
REL 80% It is already possible to load AddressLibrary and use any ID.
SKSE 70% Most of the API is already available.
commonlibsse_ng = { git = "https://github.com/SARDONYX-sard/commonlibsse_ng", rev = "b118ea6" }

Example test

cargo xtask example --dest_mode build
  • FFI

It probably will crash if used it does not pass the layout test. See test results

commonlibsse_ng_sys = { git = "https://github.com/SARDONYX-sard/commonlibsse_ng", rev = "b118ea6" }

Licenses

// SPDX-FileCopyrightText: (C) 2025 SARDONYX
// SPDX-License-Identifier: Apache-2.0 OR MIT