Set Paths Overview

The Set Paths tool configures your development environment by setting up folder paths and environment variables. This is typically the first step when setting up ClibDT.

What It Does

Development Root Folder

The Development Root is your main workspace folder where all projects and tools will be organized.

Choosing a Location

  1. Click Choose Folder in the Development Root section
  2. Select or create a folder (e.g., C:\Dev\Skyrim)
  3. ClibDT will automatically create the required subfolders
Recommended: Use a short path without spaces (e.g., C:\Dev or D:\SKSEDev).

Auto-Created Subfolders

FolderPurpose
builds/Compiled plugin outputs (DLL files)
projects/Your SKSE plugin source code projects
tools/Downloaded tools and utilities
tools/BuildTools/Build Tools workspace (created if missing)
tools/xmake/Xmake workspace (created if missing)
resources/Headers, libraries, CommonLibSSE
plugins/SKSE plugin dependencies
backups/Automatic project backups

Tool Paths

These paths are auto-detected when possible, but can be manually set if needed.

VS Build Tools

Path to Visual Studio Build Tools installation. This contains the MSVC C++ compiler.

xmake

Path to the xmake build system installation.

Git

Path to Git installation for version control.

GitHub Desktop (Optional)

Path to GitHub Desktop application for easier repository management.

Game Paths

Game Path

Path to your Skyrim Special Edition installation folder.

Projects Path

Where new projects will be created. Defaults to %DEVROOT%\projects.

Mods Path

Where compiled plugins can be placed. Useful for MO2 or Vortex users.

Auto-Detection

ClibDT attempts to automatically detect installed tools when you set the Development Root:

Tip: If a tool is detected, its status indicator turns green. Run Install Toolchain to install missing tools.

Environment Variables

Set Paths manages these environment variables:

VariablePurpose
XSE_CLIBDT_DEVROOTDevelopment root folder
XSE_MSVCTOOLS_ROOTVisual Studio Build Tools path
XSE_XMAKE_ROOTxmake installation path
XSE_GIT_ROOTGit installation path
XSE_GITHUB_DESKTOP_PATHGitHub Desktop path
XSE_TES5_GAME_PATHSkyrim SE game folder
XSE_TES5_MODS_PATHMods output folder
XSE_PROJECTS_ROOTProjects folder override
Storage: Settings are stored in %LOCALAPPDATA%\ClibDT\clibdt_settings.json and also in the Windows registry under HKCU\Software\ClibDT.

Troubleshooting

Path Not Detected

If a tool path is not auto-detected:

  1. Click the folder icon next to the path field
  2. Navigate to and select the tool's installation folder
  3. ClibDT will validate and save the path

Environment Variables Not Applied

If changes don't seem to take effect:

Permission Issues

If you get permission errors creating folders: