SQGLib is a C++ lib powered by SKSE to add runtime quest generation capabilities to Skyrim.
- CMake
- Add this to your
PATH
- Add this to your
- The Elder Scrolls V: Skyrim Special Edition
- Add the environment variable
Skyrim64Pathto point to the root installation of your game directory (the one containingSkyrimSE.exe).
- Add the environment variable
- Vcpkg
- Add the environment variable
VCPKG_ROOTwith 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/ZeCroque/SQGLib.git
cd SQGLib
git submodule init
git submodule update
cmake --preset vs2022-windows
cmake --build build --config Release
- You can add the environment variable
MO2Pathto automatically add a debug target that will launch MO2 from Visual Studio. To attach to the right process you will need to install the extension Microsoft Child Process Debugging Power Tool 2022- Set
MO2_INSTANCEto the name of the instance you want MO2 to manage (default isSkyrim Special Edition) - Set
MO2_TARGETto the name of the target you want MO2 to run (default isSkyrim Special Edition). To debug properly the target should point toSkyrimSE.exewith SKSE dll loaded using theForce load librariesfeature - Set
MO2_PROFILEto the name of the MO2 profile you want to use (useful to have MO2 write to a mod folder instead of the overwrite in the chosen profile)
- Set
- Set
LEGACY_SCRIPT_PATHtoONto use the old Scripts/Source path instead of the new (and stupid) Source/Scripts path - Set
NOTES_FOLDER_PATHif you are versionning notes/TODOs etc.. outside git and want to have them appear in VSC - Build the
packagetarget to automatically build and zip up your dll in a ready-to-distribute format.