Skip to content

rzkyif/rykz-spcm

Repository files navigation

rykz-spcm

Description

An MCM equivalent for Skyrim Platform plugins.

This is the source code. For releases, visit the mod page on Skyrim Special Edition Nexus.

Build Requirements

Build Preparation

  1. Run yarn install
  2. Run yarn build once, scripts/config.js will be generated
  3. Fill scripts/config.js according to the Config section of this readme
  4. Run the script you need according to the Yarn Scripts section of this readme

Yarn Scripts

  • yarn dev : build the plugin and minified ui files and install to dataPathInstall in hot reload mode
  • yarn dev-plugin : build the plugin and install to dataPathInstall in hot reload mode
  • yarn dev-ui : build nonminified ui files in hot reload mode
  • yarn build : build everything, create a fomod installer zip, and install to dataPathInstall
  • yarn build-plugin : build the plugin and install to dataPathInstall
  • yarn build-ui : build minified ui files (for installation and release)
  • yarn build-ui-nonminified : build nonminified ui files (for development)
  • yarn build-install : build everything and install to dataPathInstall
  • yarn build-zip : build everything and create a fomod installer zip

Config

  • dataPathInstall
    A path to a Skyrim Special Edition Data folder where the build tools will install the built plugin when you call yarn build-install.
    This can be the actual Skyrim Special Edition Data folder or a Mod Organizer 2 mod folder.
  • dataPathModules
    A path to a Skyrim Special Edition Data folder where the build tools can find the required Skyrim Plaform modules and skyrimPlatform.ts.
    This can be the actual Skyrim Special Edition Data folder or a Mod Organizer 2 mod folder.