Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.43 KB

File metadata and controls

45 lines (33 loc) · 1.43 KB

PrismaUI SKSE Plugin Template

This is a basic plugin template using PrismaUI and CommonLibSSE-NG.

You can download ready-to-use plugin for MO2 here: Download PrismaUI-Example-Plugin

Requirements

  • XMake [2.8.2+]
  • C++23 Compiler (MSVC, Clang-CL)

Getting Started

git clone --recurse-submodules <repository>

Build

  • To build the project, run the following command:
xmake build

Note: This will generate a build/windows/ directory in the project's root directory with the build output.

  • Move view/index.html to your plugin folder in <YourPluginName>/PrismaUI/views/PrismaUI-Example-UI/index.html.

Project Generation for Visual Studio

If you want to generate a Visual Studio project, run the following command:

xmake project -k vsxmake

Note: This will generate a vsxmakeXXXX/ directory in the project's root directory using the latest version of Visual Studio installed on the system.

Upgrading Packages

If you want to upgrade the project's dependencies, run the following commands:

xmake repo --update
xmake require --upgrade

Build Output (Optional)

If you want to redirect the build output, set one of or both of the following environment variables:

  • Path to a Skyrim install folder: XSE_TES5_GAME_PATH

  • Path to a Mod Manager mods folder: XSE_TES5_MODS_PATH