Papy is an (incremental) build system from Skyrim Special Edition mods, written in Go.
- Incremental scripts compile system
- BSA packing
- BSA splitting
- BSA files aggregation
Right now, Papy is only able to compile scripts. In the future, it'll be able to pack, split and aggregate files inside BSA archives (like pigroman does). However, Papy will compile only scripts that have to be re-compiled, by comparing the psc and pex timestamps. Here's how you use it:
Get papy:
go get -v -u github.com/xnyo/papy
(assuming $GOPATH/bin
or $GOBIN
is in your PATH)
Create the global config file (it will detect/prompt for your papyrus compiler, you need to run this only once)
papy setup
Put a file called papy.yaml
in your project root (usually ModOrganizer\mods\yourmod
), and populate it:
output_folders:
- scripts
optimize: false
imports:
- $base_game
folders:
- source\scripts
Then run papy incremental
in your project root to compile the scripts that have been modified.
MIT