-
Notifications
You must be signed in to change notification settings - Fork 0
/
SE-Chickens.ppj
50 lines (50 loc) · 2.08 KB
/
SE-Chickens.ppj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version='1.0'?>
<PapyrusProject xmlns="PapyrusProject.xsd"
Flags="TESV_Papyrus_Flags.flg"
Game="sse"
Anonymize="true"
Output="Scripts"
Optimize="false"
Release="false"
Zip="true"
Package="true"
Final="false">
<Variables>
<Variable Name="ModName" Value="NoKids" />
<Variable Name="ModVersion" Value="v1.2.1" />
<Variable Name="ModType" Value="Chickens" />
<Variable Name="SkyrimVersion" Value="SE" />
<Variable Name="ModsFolder" Value="C:\Users\mrowr\Dropbox\Skyrim\Mods" />
<Variable Name="ImportsFolder" Value="C:\Users\mrowr\Dropbox\Skyrim\Imports" />
</Variables>
<Imports>
<Import>@ModsFolder\SKSE64\Scripts\Source</Import>
<Import>@ImportsFolder\SkyUI_SDK\Scripts\Source</Import>
<Import>@ImportsFolder\PapyrusUtil\Scripts\Source</Import>
<Import>C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source</Import>
</Imports>
<Folders>
<Folder>./Scripts/Source</Folder>
</Folders>
<Packages Output=".">
<Package Name="@ModName" RootDir=".">
<Match In="Scripts">*.pex</Match>
<Match In="Scripts\Source">*.psc</Match>
</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-@ModVersion-@ModType @SkyrimVersion" RootDir="." Compression="deflate">
<Include>NoKids\Config.json</Include>
<Include>@ModName.esp</Include>
<Include NoRecurse="true">*.bsa</Include>
</ZipFile>
</ZipFiles>
<PreBuildEvent Description="Pre-Build Setup for SE or LE" UseInBuild="true">
<Command>copy NoKids\Config.@SkyrimVersion.@ModType.json NoKids\Config.json</Command>
<Command>copy NoKids.@SkyrimVersion.esp NoKids.esp</Command>
</PreBuildEvent>
<PostBuildEvent Description="Post-Build Remove BSA Files" UseInBuild="true">
<Command>del /s /q /f *.bsa</Command>
</PostBuildEvent>
</PapyrusProject>