Created
February 20, 2022 01:00
-
-
Save mrowrpurr/a5b69d137304dc467b989697cf631872 to your computer and use it in GitHub Desktop.
Latest Favorite Skyrim Papyrus Project File Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0'?> | |
<PapyrusProject xmlns="PapyrusProject.xsd" | |
Flags="TESV_Papyrus_Flags.flg" | |
Game="sse" | |
Output="Scripts" | |
Anonymize="false" | |
Optimize="false" | |
Release="false" | |
Zip="false" | |
Package="false" | |
Final="false"> | |
<Variables> | |
<!-- Set the name of your mod: --> | |
<Variable Name="ModName" Value="CHANGE THE MOD NAME HERE" /> | |
<!-- The folder where you store all of your mods --> | |
<Variable Name="ModsFolder" Value="%SKYRIM_SE_MODS%" /> | |
<!-- The folder where you store additional Papyrus imports --> | |
<Variable Name="ImportsFolder" Value="%PAPYRUS_IMPORTS%" /> | |
</Variables> | |
<Imports> | |
<!-- <Import>@ImportsFolder\SKSE\Scripts\Source</Import> --> | |
<Import>%SKYRIM_SE_PATH%\Data\Scripts\Source</Import> | |
</Imports> | |
<Folders> | |
<!-- Relative path to folder containing .psc Papyrus source code files for this project --> | |
<Folder>./Scripts/Source</Folder> | |
</Folders> | |
<!-- The following section is for .bsa archives. You can enable it by setting Package="true" in the PapyrusProject --> | |
<Packages Output="."> | |
<Package Name="@ModName" RootDir="."> | |
<Match In="Scripts">*.pex</Match> | |
<!-- <Match In="interface\translations">*.txt</Match> --> | |
</Package> | |
<!-- If you have any texture files, uncomment the following to create a Textures .bsa archive with texture files --> | |
<!-- <Package Name="@ModName - Textures" RootDir="."> | |
<Include>*.dds</Include> | |
</Package> --> | |
</Packages> | |
<!-- The following section is for .zip archive. You can enable it by setting Zip="true" in the PapyrusProject --> | |
<ZipFiles Output="Build"> | |
<ZipFile Name="@ModName" RootDir="." Compression="deflate"> | |
<Include>@ModName.esp</Include> | |
<Include NoRecurse="true">*.bsa</Include> | |
<Match In="Scripts\Source">*.psc</Match> | |
</ZipFile> | |
</ZipFiles> | |
<!-- This will remove any *.bsa files in this directory *after* the build, if there are any. Set UseInBuild="false" to disable. --> | |
<!-- <PostBuildEvent Description="Post-Build Remove BSA Files" UseInBuild="true"> | |
<Command>del /s /q /f *.bsa</Command> | |
</PostBuildEvent> --> | |
</PapyrusProject> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment