Skip to content

Repository files navigation

SexLab P+

A high performance and stability patch for SexLab for Skyrim SE.

Requirements

Building

Clone

git clone https://github.com/Scrabx3/SexLabpp.git
cd SexLabpp
git submodule update --init --recursive

Configure

Before building you must provide the following options: spriggit_path, papyrus_path, papyrus_include, and papyrus_gamesource. These can be provided using either:

  1. Environment variables (optionally loaded from .env)

    • See .env.example for variables/descriptions.
    • Copy to .env and edit the values.
    • Run xmake f after making changes to load the new values.
    • Alternate files can be loaded with xmake f --dotenv=.env.other
  2. Command-line configure

    • Set options when configuring with xmake f:
xmake f -m release \
	--spriggit_path="C:\path\to\Spriggit.CLI" \
	--papyrus_path="C:\path\to\Papyrus Compiler" \
	--papyrus_include="C:\path\to\ModOrganizer\mods" \
	--papyrus_gamesource="C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data"

Build

# Everything
xmake
# SexLabUtil.dll
xmake build SexLabUtil
# Papyrus Scripts
xmake build papyrus
# SexLab.exm
xmake build SexLab.esm

Install

If install_path and auto_install are configured, files will be automatically coppied to install_path after a successful build. Otherwise install can be run manually using:

xmake install -o INSTALLDIR

Plugin Serialization

After making changes to SexLab.esm, serialize back to yaml using:

# From .\dist\SexLab.esm
xmake serialize
# From install_path
xmake serialize -i

Papyrus Project Generation

Generate a papyrus project file for IDE integration using:

xmake papyrus.project papyrus

License

The native code is licensed under GPL-3.0-or-later with the Modding Exception and GPL-3.0 Linking Exception (with Corresponding Source), matching the linked CommonLibSSE-NG dependency. These exceptions cover interoperation with Skyrim and linking with modding libraries such as SKSE and Windows; they also apply to this project's native code. See NOTICE for attribution and retained license notices, including the prior Apache 2.0 license.

Portions derived from the original SexLab (including Papyrus scripts and various assets) retain the Permissions terms in Readme - SexLab Framework.txt. Third-party code retains its own license notices.

Binary distributions must provide Corresponding Source as required by the GPL and the linking exception, including the exact CommonLibSSE-NG revision and the source for the parts of Modding Libraries used.

About

Backend Systems for SLP+

Resources

Stars

27 stars

Watchers

4 watching

Forks

Contributors

Languages