Skip to content

Configurations

Scrivener07 edited this page Jun 26, 2019 · 5 revisions

The extension will first look for your games in their default install directories. If not found, it will then attempt to find installation directories by reading the Windows registry. You can manually specify a custom install directory using the installPath setting.

By default, the global Papyrus configurations will be read from the Creation Kit's initialization file (ini). These Creation Kit ini settings will be used unless otherwise provided with a Papyrus Project file (ppj).

Read more about the Papyrus ini settings for Fallout 4 and Skyrim on the Creation Kit website.

The following settings and configurations are supported for each game.

Skyrim

These settings apply to Skyrim. Each game has similar settings with slight variations.

SkyrimEditor.ini

  • sScriptSourceFolder: The papyrus source file directory. These scripts will be compiled.
  • sScriptCompiledFolder: The output directory for compiled Papyrus scripts.
  • sCompilerFolder: The directory path to the Papyrus compiler.
[Papyrus]
sScriptSourceFolder = "Data\Scripts\Source"
sScriptCompiledFolder = "Data\Scripts\"
sCompilerFolder = "Papyrus Compiler\"

Settings

These settings are for configuring Skyrim with the Papyrus Language extension.


papyrus.skyrim.enabled

Enables or disables the Skyrim Papyrus language features.

  • Default: true

papyrus.skyrim.installPath

The Skyrim install directory to use.

  • Default: C:\Program Files (x86)\Steam\steamapps\common\Skyrim\

papyrus.skyrim.creationKitIniFiles

The Creation Kit initialization files to use.

  • Default: SkyrimEditor.ini

Skyrim SE

These settings apply to Skyrim Special Edition. Each game has similar settings with slight variations.

CreationKit.ini, CreationKitCustom.ini
  • sScriptSourceFolder: The papyrus source file directory. These scripts will be compiled.
  • sCompilerFolder: The directory path to the Papyrus compiler.
  • sScriptCompiledFolder: The output directory for compiled Papyrus scripts.
[Papyrus]

Settings

These settings are for configuring Skyrim Special Edition with the Papyrus Language extension.


papyrus.skyrimSpecialEdition.enabled

Enables or disables the Skyrim SE Papyrus language features.

  • Default: true

papyrus.skyrimSpecialEdition.installPath

The Skyrim SE install directory to use.

  • Default: C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\

papyrus.skyrimSpecialEdition.creationKitIniFiles

The Creation Kit initialization files to use.

  • Default: CreationKit.ini, CreationKitCustom.ini

papyrus.skyrimSpecialEdition.ignoreDebuggerVersion

Disables the debugger's xSE plugin version update prompt. Makes it so you don't get prompted about a new version of the debugger plugin before you attach.

  • Default: false

Fallout 4

These settings apply to Fallout 4. Each game has similar settings with slight variations.

Papyrus Projects

A Papyrus Project file (ppj) can be used to specify compiler configurations for individual projects. Read more about Papyrus Projects on the Creation Kit website.

CreationKit.ini

  • sScriptSourceFolder: The current project's papyrus import folder. These scripts will be compiled.
  • sAdditionalImports: A semicolon delimited list of additional papyrus import folders.
  • sCompilerFolder: The directory path to the Papyrus compiler. There is almost no reason to change this as the compiler installs to this folder by default.
  • sScriptCompiledFolder: The output directory for compiled Papyrus scripts.
[Papyrus]
sScriptSourceFolder =.\Data\Scripts\Source\User\
sAdditionalImports = "$(source);.\Data\Scripts\Source\Base"
sCompilerFolder =
sScriptCompiledFolder =

Settings

These settings are for configuring Fallout 4 with the Papyrus Language extension.


papyrus.fallout4.enabled

Enables or disables the Fallout 4 Papyrus language features.

  • Default: true

papyrus.fallout4.installPath

The Fallout 4 install directory to use.

  • Default: C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\

papyrus.fallout4.creationKitIniFiles

The Creation Kit initialization files to use.

  • Default: CreationKit.ini, CreationKitCustom.ini

papyrus.fallout4.ignoreDebuggerVersion

Enables or disables the Fallout 4 Papyrus debugger features.

  • Default: false

VS Code

VS Code provides many options for configuring the editor. Read more about customizing VS Code in the topics below.

Clone this wiki locally