Skip to content

rethesda/SexLabpp

 
 

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

This project primarily falls under the Apache License Version 2.0. However, portions of the project derived from the original SexLab (including papyrus scripts, and various assets) remain subject to the Permissions terms found in Readme - SexLabFramework.txt.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.0%
  • Lua 3.1%
  • Xmake 2.3%
  • Python 0.6%