This is a basic plugin template using CommonLibSF.
- XMake [2.8.2+]
- C++23 Compiler (MSVC, Clang-CL)
git clone --recurse-submodules https://github.com/libxse/commonlibsf-template
cd commonlibsf-templateTo build the project, run the following command:
xmake buildNote: This will generate a
build/windows/directory in the project's root directory with the build output.
If you want to redirect the build output, set one of the following environment variables:
-
Path to a Starfield install folder:
XSE_SF_GAME_PATH -
Path to a Mod Manager mods folder:
XSE_SF_MODS_PATH
If you want to generate a Visual Studio project, run the following command:
xmake project -k vsxmakeNote: This will generate a
vsxmakeXXXX/directory in the project's root directory using the latest version of Visual Studio installed on the system.
If you want to upgrade the project's dependencies, run the following commands:
xmake repo --update
xmake require --upgradePlease refer to the Wiki for more advanced topics.