PapyrusExtenderSSE
SKSE64/VR plugin that expands Papyrus script functionality with 442 functions, 82 events, and 4 script objects for Skyrim Special Edition.
Documentation for each function is listed in the wiki.
Requirements
- CMake
- Add this to your
PATH
- Add this to your
- PowerShell
- Vcpkg
- Add the environment variable
VCPKG_ROOT
with the value as the path to the folder containing vcpkg
- Add the environment variable
- Visual Studio Community 2019
- Desktop development with C++
- CommonLibSSE
- You need to build from the powerof3/dev branch
- Add this as as an environment variable
CommonLibSSEPath
- CommonLibVR
- Add this as as an environment variable
CommonLibVRPath
- Add this as as an environment variable
User Requirements
- Address Library for SKSE
- Needed for SSE/AE
- VR Address Library for SKSEVR
- Needed for VR
Register Visual Studio as a Generator
- Open
x64 Native Tools Command Prompt
- Run
cmake
- Close the cmd window
Building
git clone https://github.com/powerof3/PapyrusExtenderSSE.git
cd PapyrusExtenderSSE
# pull commonlib, skip if you've defined it in the path
git submodule init
# to update submodules to checked-out build (warning, pulling newer verisons may result in build problems)
git submodule update
SSE
cmake --preset vs2022-windows-vcpkg # for vs2019 use vs2019-windows-vcpkg
cmake --build build --config Release
AE
cmake --preset vs2022-windows-vcpkg # for vs2019 use vs2019-windows-vcpkg
cmake --build buildae --config Release
VR
cmake --preset vs2022-windows-vcpkg-vr # for vs2019 use vs2019-windows-vcpkg-vr
cmake --build buildvr --config Release
For VR, if you run into namespace errors/ambiguous references for stl or FORM. You may need to add :: in front of stl or FORM throughout. Cherry-pick 784293df6f8da93c2b8b114f578ec043a84cdd74
from https://github.com/alandtse/PapyrusExtenderSSE/tree/ambiguous_references to fix.