A high performance and stability patch for SexLab for Skyrim SE.
- xmake
- Add this to your
PATH
- Add this to your
- python
- Visual Studio Community 2022
- Desktop development with C++
- Papyrus Sources:
git clone https://github.com/Scrabx3/SexLabpp.git
cd SexLabpp
git submodule update --init --recursiveBefore building you must provide the following options: spriggit_path, papyrus_path, papyrus_include, and papyrus_gamesource. These can be provided using either:
-
Environment variables (optionally loaded from
.env)- See
.env.examplefor variables/descriptions. - Copy to
.envand edit the values. - Run
xmake fafter making changes to load the new values. - Alternate files can be loaded with
xmake f --dotenv=.env.other
- See
-
Command-line configure
- Set options when configuring with
xmake f:
- Set options when configuring with
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"# Everything
xmake
# SexLabUtil.dll
xmake build SexLabUtil
# Papyrus Scripts
xmake build papyrus
# SexLab.exm
xmake build SexLab.esmIf 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 INSTALLDIRAfter making changes to SexLab.esm, serialize back to yaml using:
# From .\dist\SexLab.esm
xmake serialize
# From install_path
xmake serialize -iGenerate a papyrus project file for IDE integration using:
xmake papyrus.project papyrusThis 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.