Vellum is a scripting language for Creation Kit–era games. It compiles to PEX and stays compatible with the Papyrus ecosystem, with a focus on clearer syntax and compiler errors. It adds language features that Papyrus does not have, and more are planned.
For now, only the Skyrim PEX subset is supported and tested. Support for other Creation Engine titles is planned.
Full docs (language, usage, examples, VS Code extension): https://naratzul.github.io/vellum/
Compiler changelog: CHANGELOG.md.
-
Download the compiler — see the Download page in the docs.
-
Compile a script — from the docs, run:
vellum.exe -f <path-to-your-script> -i <path-to-skyrim-scripts-folder>
On success you get a
.pexnext to your.velfile, or in the output directory if you pass-o. Pass a directory to-fto compile all sources under it. Usevellum.exe -hfor more options. -
Example scripts — examples on GitHub.
- Skyrim modding setup: you need the game’s Scripts source folder (the path passed to
-i), as described in Using the compiler. - Prebuilt releases are Windows binaries (
vellum.exe) unless the download page says otherwise.
- CMake 3.12+
- C++23 toolchain (MSVC on Windows matches CI)
- Git
- First CMake configure downloads dependencies via CMake FetchContent (network required)
- Python 3.12+ recommended
pip install -r requirements-docs.txt, thenmkdocs buildormkdocs serve(the documentation stack is listed under Acknowledgments).
Vellum bundles or builds against:
The documentation site uses MkDocs, Material for MkDocs, PyMdown Extensions, and Pygments. Pin versions via requirements-docs.txt.
Thanks to the authors and maintainers of these projects.