What problem does it solve?
Manually compiling and decompiling Papyrus scripts for Bethesda games requires tracking down the correct Creation Kit compiler and Champollion decompiler, configuring paths manually, and fixing compatibility issues like Starfield's Guard syntax that break standard decompilation outputs.
Core Features & Use Cases
- Automated Toolchain Detection: Automatically finds installed official Creation Kit compilers and Champollion decompilers for Skyrim, Fallout 4, and Starfield, eliminating manual path setup.
- Papyrus Compilation: Compiles .psc source files to .pex bytecode using official or fallback backends, with support for import directories and compile optimizations.
- Validated Decompilation: Decompiles .pex bytecode to .psc source with automatic Starfield Guard syntax correction to match official compiler requirements, reducing manual fix-up work.
- Use Case: If you are modding Starfield and need to patch a broken vanilla quest script, use this skill to decompile the script, adjust the source code, and recompile it to a working .pex file that the game will load correctly.
Quick Start
Use the using-bgs-papyrus skill to compile your custom Fallout 4 quest script to a working .pex file for use in your MO2 mod.