Skip to content

Instantly share code, notes, and snippets.

@mrowrpurr
Created April 28, 2022 23:09
Show Gist options
  • Save mrowrpurr/3a51ec7ad0358c351ebb880fc58e565f to your computer and use it in GitHub Desktop.
Save mrowrpurr/3a51ec7ad0358c351ebb880fc58e565f to your computer and use it in GitHub Desktop.
Latest Skyrim .ppj
<?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="C:\Users\mrowr\Dropbox\Skyrim\Mod Authoring\Mods" />
<!-- The folder where you store additional Papyrus imports -->
<Variable Name="ImportsFolder" Value="C:\Users\mrowr\Dropbox\Skyrim\Papyrus Imports" />
</Variables>
<Imports>
<Import>@ImportsFolder\SKSE</Import>
<Import>C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\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