Because this uses CommonLibSSE NG, it supports Skyrim SE, AE, GOG, and VR.
Hook IDs and offsets must still be found manually for each version.
- Visual Studio 2022 (the free Community edition)
vcpkg
-
- Clone the repository using git OR download it as a .zip
-
- Go into the
vcpkg
folder and double-click onbootstrap-vcpkg.bat
- Go into the
-
- Edit your system or user Environment Variables and add a new one:
- Name:
VCPKG_ROOT
Value:C:\path\to\wherever\your\vcpkg\folder\is
- The latest version of vcpkg needs a default repository defined in the json. If you're using an older version of vcpkg, simply delete the default repository definition in
vcpkg-configuration.json
-
Once you have Visual Studio 2022 installed, you can open this folder in basically any C++ editor, e.g. VS Code or CLion or Visual Studio
-
for VS Code, if you are not automatically prompted to install the C++ and CMake Tools extensions, please install those and then close VS Code and then open this project as a folder in VS Code
You may need to click OK
on a few windows, but the project should automatically run CMake!
It will automatically download CommonLibSSE NG and everything you need to get started making your new plugin!
By default, when this project compiles it will output a .dll
for your SKSE plugin into the build/
folder.
If you want to configure this project to output your plugin files
into your Skyrim Special Edition's "Data
" folder:
- Set the
SKYRIM_FOLDER
environment variable to the path of your Skyrim installation
e.g.C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition
If you want to configure this project to output your plugin files
into your "mods
" folder:
(for Mod Organizer 2 or Vortex)
- Set the
SKYRIM_MODS_FOLDER
environment variable to the path of your mods folder:
e.g.C:\Users\<user>\AppData\Local\ModOrganizer\Skyrim Special Edition\mods
e.g.C:\Users\<user>\AppData\Roaming\Vortex\skyrimse\mods