-
Notifications
You must be signed in to change notification settings - Fork 6
/
!Update.ps1
541 lines (480 loc) · 23.3 KB
/
!Update.ps1
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
#Requires -Version 5
# args
param (
[Parameter(Mandatory)][ValidateSet('COPY', 'SOURCEGEN', 'DISTRIBUTE')][string]$Mode,
[string]$Version,
[string]$Path,
[string]$Project
)
$ErrorActionPreference = "Stop"
$Folder = $PSScriptRoot | Split-Path -Leaf
$SourceExt = @('.c', '.cpp', '.cxx', '.h', '.hpp', '.hxx', '.inl', '.ixx')
$ConfigExt = @('.ini', '.json', '.toml')
$DocsExt = @('.md')
$env:ScriptCulture = (Get-Culture).Name -eq 'zh-CN'
function L {
param (
[Parameter(Mandatory)][string]$en,
[string]$zh = ''
)
process {
if ($env:ScriptCulture -and $zh) {
return $zh
}
else {
return $en
}
}
}
function Resolve-Files {
param (
[Parameter(ValueFromPipeline)][string]$a_parent = $PSScriptRoot,
[string[]]$a_directory = @('include', 'src', 'test')
)
process {
Push-Location $PSScriptRoot
$_generated = [System.Collections.ArrayList]::new()
try {
foreach ($directory in $a_directory) {
if (!$env:RebuildInvoke) {
Write-Host "`t[$a_parent/$directory]"
}
Get-ChildItem "$a_parent/$directory" -Recurse -File -ErrorAction SilentlyContinue | Where-Object {
($_.Extension -in ($SourceExt + $DocsExt)) -and
($_.Name -notmatch 'Plugin.h|Version.h')
} | Resolve-Path -Relative | ForEach-Object {
if (!$env:RebuildInvoke) {
Write-Host "`t`t<$_>"
}
$_generated.Add("`n`t`"$($_.Substring(2) -replace '\\', '/')`"") | Out-Null
}
}
Get-ChildItem "$a_parent" -File -ErrorAction SilentlyContinue | Where-Object {
($_.Extension -in ($ConfigExt + $DocsExt)) -and
($_.Name -notmatch 'cmake|vcpkg')
} | Resolve-Path -Relative | ForEach-Object {
if (!$env:RebuildInvoke) {
Write-Host "`t`t<$_>"
}
$_generated.Add("`n`t`"$($_.Substring(2) -replace '\\', '/')`"") | Out-Null
}
}
finally {
Pop-Location
}
return $_generated
}
}
Write-Host "`n`t<$Folder> [$Mode]"
# @@COPY
if ($Mode -eq 'COPY') {
# process newly added files
$BuildFolder = Get-ChildItem (Get-Item $Path).Parent.Parent.FullName "$Project.sln" -Depth 2 -File -Exclude ('*CMakeFiles*', '*CLib*')
$NewFiles = Get-ChildItem $BuildFolder.DirectoryName -File | Where-Object { $_.Extension -in $SourceExt }
if ($NewFiles) {
# trigger ZERO_CHECK
$NewFiles | Move-Item -Destination "$PSScriptRoot/src" -Force -Confirm:$false -ErrorAction:SilentlyContinue | Out-Null
[IO.File]::WriteAllText("$PSScriptRoot/CMakeLists.txt", [IO.File]::ReadAllText("$PSScriptRoot/CMakeLists.txt"))
}
# Build Target
Write-Host "`t$Folder $Version"
$vcpkg = [IO.File]::ReadAllText("$PSScriptRoot/vcpkg.json") | ConvertFrom-Json
$Install = $vcpkg.'features'.'mo2-install'.'description'
$ProjectCMake = [IO.File]::ReadAllText("$PSScriptRoot/CMakeLists.txt")
$OldVersion = [regex]::match($ProjectCMake, '(?s)(?:(?<=\sVERSION\s)(.*?)(?=\s+))').Groups[1].Value
Add-Type -AssemblyName Microsoft.VisualBasic
Add-Type -AssemblyName System.Windows.Forms
Add-Type -AssemblyName System.Drawing
[System.Windows.Forms.Application]::EnableVisualStyles()
$MsgBox = New-Object System.Windows.Forms.Form -Property @{
TopLevel = $true
ClientSize = '350, 305'
Text = $Project
StartPosition = 'CenterScreen'
FormBorderStyle = 'FixedDialog'
MaximizeBox = $false
MinimizeBox = $false
Font = New-Object System.Drawing.Font('Segoe UI', 10, [System.Drawing.FontStyle]::Regular)
}
$Message = New-Object System.Windows.Forms.ListBox -Property @{
ClientSize = '225, 150'
Location = New-Object System.Drawing.Point(20, 20)
}
function Log {
param (
[Parameter(ValueFromPipeline)][string]$a_log
)
process {
$Message.Items.Add($a_log)
$Message.SelectedIndex = $Message.Items.Count - 1;
$Message.SelectedIndex = -1;
}
}
function Copy-Mod {
param (
$Data
)
New-Item -Type Directory "$Data/SKSE/Plugins" -Force | Out-Null
# binary
Copy-Item "$Path/$Project.dll" "$Data/SKSE/Plugins/$Project.dll" -Force
"- Binary files copied" | Log
# pdb
Copy-Item "$Path/$Project.pdb" "$Data/SKSE/Plugins/$Project.pdb" -Force
"- PDB files copied" | Log
# configs
Get-ChildItem $PSScriptRoot | Where-Object {
($_.Extension -in $ConfigExt) -and
($_.Name -notmatch 'CMake|vcpkg')
} | ForEach-Object {
Copy-Item $_.FullName "$Data/SKSE/Plugins/$($_.Name)" -Force
"- Configuration files copied" | Log
}
# shockwave
if (Test-Path "$PSScriptRoot/Interface/*.swf" -PathType Leaf) {
New-Item -Type Directory "$Data/Interface" -Force | Out-Null
Copy-Item "$PSScriptRoot/Interface" "$Data" -Recurse -Force
"- Shockwave files copied" | Log
}
# papyrus
if (Test-Path "$PSScriptRoot/Scripts/*.pex" -PathType Leaf) {
New-Item -Type Directory "$Data/Scripts" -Force | Out-Null
xcopy.exe "$PSScriptRoot/Scripts" "$Data/Scripts" /C /I /S /E /Y
"- Papyrus scripts copied" | Log
}
if (Test-Path "$PSScriptRoot/Scripts/Source/*.psc" -PathType Leaf) {
New-Item -Type Directory "$Data/Scripts/Source" -Force | Out-Null
xcopy.exe "$PSScriptRoot/Scripts/Source" "$Data/Scripts/Source" /C /I /S /E /Y
"- Papyrus scripts copied" | Log
}
}
$BtnCopyMO2 = New-Object System.Windows.Forms.Button -Property @{
ClientSize = '70, 50'
Text = 'Copy to MO2'
Location = New-Object System.Drawing.Point(260, 19)
BackColor = 'Cyan'
Add_Click = {
foreach ($runtime in @("$($env:MO2SkyrimAEPath)/mods", "$($env:MO2SkyrimSEPath)/mods", "$($env:MO2SkyrimVRPath)/mods")) {
if (Test-Path $runtime -PathType Container) {
Copy-Mod "$runtime/$Install"
}
}
"- Copied to MO2." | Log
}
}
$BtnCopyData = New-Object System.Windows.Forms.Button -Property @{
ClientSize = '70, 50'
Text = 'Copy to Data'
Location = New-Object System.Drawing.Point(260, 74)
Add_Click = {
foreach ($runtime in @("$($env:SkyrimAEPath)/data", "$($env:SkyrimSEPath)/data", "$($env:SkyrimVRPath)/data")) {
if (Test-Path $runtime -PathType Container) {
Copy-Mod "$runtime"
}
}
"- Copied to game data." | Log
}
}
$BtnRemoveData = New-Object System.Windows.Forms.Button -Property @{
ClientSize = '70, 50'
Text = 'Remove in Data'
Location = New-Object System.Drawing.Point(260, 129)
Add_Click = {
foreach ($runtime in @("$($env:SkyrimAEPath)/data", "$($env:SkyrimSEPath)/data", "$($env:SkyrimVRPath)/data")) {
if (Test-Path "$runtime/SKSE/Plugins/$Project.dll" -PathType Leaf) {
Remove-Item "$runtime/SKSE/Plugins/$Project.dll" -Force -Confirm:$false -ErrorAction:SilentlyContinue | Out-Null
}
}
"- Removed from game data." | Log
}
}
$BtnOpenFolder = New-Object System.Windows.Forms.Button -Property @{
ClientSize = '70, 50'
Text = 'Show in Explorer'
Location = New-Object System.Drawing.Point(260, 185)
BackColor = 'Yellow'
Add_Click = {
Invoke-Item $Path
}
}
$BtnLaunchSKSEAE = New-Object System.Windows.Forms.Button -Property @{
ClientSize = '70, 50'
Text = 'SKSE (AE)'
Location = New-Object System.Drawing.Point(20, 185)
Add_Click = {
Push-Location $env:SkyrimAEPath
Start-Process ./SKSE64_loader.exe
Pop-Location
"- SKSE (AE) Launched." | Log
}
}
if (!(Test-Path "$env:SkyrimAEPath/skse64_loader.exe" -PathType Leaf)) {
$BtnLaunchSKSEAE.Enabled = $false
}
$BtnLaunchSKSESE = New-Object System.Windows.Forms.Button -Property @{
ClientSize = '70, 50'
Text = 'SKSE (SE)'
Location = New-Object System.Drawing.Point(100, 185)
Add_Click = {
Push-Location $env:SkyrimSEPath
Start-Process ./SKSE64_loader.exe
Pop-Location
"- SKSE (SE) Launched." | Log
}
}
if (!(Test-Path "$env:SkyrimSEPath/skse64_loader.exe" -PathType Leaf)) {
$BtnLaunchSKSESE.Enabled = $false
}
$BtnLaunchSKSEVR = New-Object System.Windows.Forms.Button -Property @{
ClientSize = '70, 50'
Text = 'SKSE (VR)'
Location = New-Object System.Drawing.Point(180, 185)
Add_Click = {
Push-Location $env:SkyrimVRPath
Start-Process ./SKSE64_loader.exe
Pop-Location
"- SKSE (VR) Launched." | Log
}
}
if (!(Test-Path "$env:SkyrimVRPath/skse64_loader.exe" -PathType Leaf)) {
$BtnLaunchSKSEVR.Enabled = $false
}
$BtnBuildPapyrus = New-Object System.Windows.Forms.Button -Property @{
ClientSize = '70, 50'
Text = 'Build Papyrus'
Location = New-Object System.Drawing.Point(20, 240)
Add_Click = {
$BtnBuildPapyrus.Text = 'Compiling...'
$Invocation = "`"$($env:SkyrimSEPath)/Papyrus Compiler/PapyrusCompiler.exe`" `"$PSScriptRoot/Scripts/Source`" -f=`"$env:SkyrimSEPath/Papyrus Compiler/TESV_Papyrus_Flags.flg`" -i=`"$env:SkyrimSEPath/Data/Scripts/Source;$PSScriptRoot/Scripts;$PSScriptRoot/Scripts/Source`" -o=`"$PSScriptRoot/Scripts`" -a -op -enablecache -t=`"4`""
Start-Process cmd.exe -ArgumentList "/k $Invocation && pause && exit"
$BtnBuildPapyrus.Text = 'Build Papyrus'
}
}
$BtnChangeVersion = New-Object System.Windows.Forms.Button -Property @{
ClientSize = '70, 50'
Text = 'Version'
Location = New-Object System.Drawing.Point(100, 240)
Add_Click = {
$NewVersion = $null
while ($OldVersion -and !$NewVersion) {
$NewVersion = [Microsoft.VisualBasic.Interaction]::InputBox("Input the new versioning for $Project", 'Versioning', $OldVersion)
}
$ProjectCMake = $ProjectCMake -replace "VERSION\s$OldVersion", "VERSION $NewVersion"
$vcpkg.'version-string' = $NewVersion
[IO.File]::WriteAllText("$PSScriptRoot/CMakeLists.txt", $ProjectCMake)
$vcpkg = $vcpkg | ConvertTo-Json -Depth 9
[IO.File]::WriteAllText("$PSScriptRoot/vcpkg.json", $vcpkg)
"- Version changed $OldVersion -> $NewVersion" | Log
$OldVersion = $NewVersion
}
}
$BtnPublish = New-Object System.Windows.Forms.Button -Property @{
ClientSize = '70, 50'
Text = 'Publish Mod'
Location = New-Object System.Drawing.Point(180, 240)
Add_Click = {
$BtnPublish.Text = 'Zipping...'
Copy-Mod "$PSScriptRoot/Tmp/Data"
Compress-Archive "$PSScriptRoot/Tmp/Data/*" "$Path/$($Project)-$(($OldVersion).Replace('.', '-'))" -Force
Remove-Item "$PSScriptRoot/Tmp" -Recurse -Force -Confirm:$false -ErrorAction:SilentlyContinue | Out-Null
Invoke-Item $Path
"- Mod files zipped & ready to go." | Log
$BtnPublish.Text = 'Publish Mod'
}
}
$BtnExit = New-Object System.Windows.Forms.Button -Property @{
ClientSize = '70, 50'
Text = 'Exit'
Location = New-Object System.Drawing.Point(260, 240)
Add_Click = {
$MsgBox.Close()
}
}
$MsgBox.Controls.Add($Message)
$MsgBox.Controls.Add($BtnCopyData)
$MsgBox.Controls.Add($BtnCopyMO2)
$MsgBox.Controls.Add($BtnRemoveData)
$MsgBox.Controls.Add($BtnOpenFolder)
$MsgBox.Controls.Add($BtnExit)
$MsgBox.Controls.Add($BtnBuildPapyrus)
$MsgBox.Controls.Add($BtnChangeVersion)
$MsgBox.Controls.Add($BtnPublish)
$MsgBox.Controls.Add($BtnLaunchSKSEAE)
$MsgBox.Controls.Add($BtnLaunchSKSESE)
$MsgBox.Controls.Add($BtnLaunchSKSEVR)
"- [$Project - $OldVersion] has been built." | Log
$MsgBox.ShowDialog() | Out-Null
Exit
}
# @@SOURCEGEN
if ($Mode -eq 'SOURCEGEN') {
Write-Host "`tGenerating CMake sourcelist..."
Remove-Item "$Path/sourcelist.cmake" -Force -Confirm:$false -ErrorAction Ignore
$generated = 'set(SOURCES'
$generated += $PSScriptRoot | Resolve-Files
if ($Path) {
$generated += $Path | Resolve-Files
}
$generated += "`n)"
[IO.File]::WriteAllText("$Path/sourcelist.cmake", $generated)
}
# @@DISTRIBUTE
if ($Mode -eq 'DISTRIBUTE') {
# update script to every project
Get-ChildItem "$PSScriptRoot/*/*" -Directory | Where-Object {
$_.Name -notin @('vcpkg', 'Build', '.git', '.vs') -and
(Test-Path "$_/CMakeLists.txt" -PathType Leaf)
} | ForEach-Object {
Write-Host "`tUpdated <$_>"
Robocopy.exe "$PSScriptRoot" "$_" '!Update.ps1' /MT /NJS /NFL /NDL /NJH | Out-Null
}
}
# SIG # Begin signature block
# MIIbmwYJKoZIhvcNAQcCoIIbjDCCG4gCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUlikn5WrRM0fvun6VTctn5b/y
# lWGgghYRMIIDBjCCAe6gAwIBAgIQd58hKje8GqdIukXlE/nOnjANBgkqhkiG9w0B
# AQsFADAbMRkwFwYDVQQDDBBES1NjcmlwdFNlbGZDZXJ0MB4XDTIzMDUyMjEwMzUz
# MVoXDTI0MDUyMjEwNTUzMVowGzEZMBcGA1UEAwwQREtTY3JpcHRTZWxmQ2VydDCC
# ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL7cagpOGEhqHKV7TAqwCT6h
# gSCvqU8xWXL2fkbBT3adwrpjjF9w31Q1GKW/XKqcbqu9xgGM2LKVdKfwz2Dy3vJJ
# Rq1VqfgvnBYIRs2BDM6u+PPS6GuCN5in+GSw8K1BpeWIgndWC4urX9czOfkRRiJF
# rsxackrNMFJdRgfXUaOC3uuPh9PuXYZdKcO80RUeDEE1nTpwJztluNWBMmEMgLwu
# 5DaKtZ7MW2zhftIs6gWuMleqEMOUHZYxKeSoaC5ZUjFJyVucoftzvQskwLLDggKh
# MuRYjMJFiyCnpC97Q3za7xnqV3f5qnx/ueOuQYzMa1V6qtNbvdFElxrMUuwJXCUC
# AwEAAaNGMEQwDgYDVR0PAQH/BAQDAgeAMBMGA1UdJQQMMAoGCCsGAQUFBwMDMB0G
# A1UdDgQWBBQSE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