This is a SKSE plugin that wraps CommonLibSSE and presents it to Python. The idea is to leverage the Python VM to the maximum capacity to enable average people, to write python scripts that interface with Skyrim.
Note: this was originally forked from : https://github.com/Ryan-rsm-McKenzie so thank you to Ryan for the setup of all the CMake files and the like
- CMake
- Add this to your
PATH
- Add this to your
- The Elder Scrolls V: Skyrim Special Edition
- Add the environment variable
Skyrim64Path
to point to the root installation of your game directory (the one containingSkyrimSE.exe
).
- Add the environment variable
- 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 2022
- Desktop development with C++
git clone https://github.com/wabbajack-tools/SkyrimPy
cd SkyrimPy
git submodule init
git submodule update
cmake --preset vs2022-windows
cmake --build build --config Release
- Set
COPY_OUTPUT
toON
to automatically copy the built dll to the game directory, i.e.cmake --preset vs2022-windows -DCOPY_OUTPUT=ON
- Build the
package
target to automatically build and zip up your dll in a ready-to-distribute format.