fix: miles not shutting down, copying extra stuff to output folder, typo, durango output paths & stray pixel on logos

This commit is contained in:
str1k3r committed 2026-08-29 13:04:39 -04:00
1 parent 81e4a789b6
commit 902a6ca641
15 files changed
+66 -114

No files matched your search

@@ -23,7 +23,7 @@ foreach ($dir in $directories) {
$folderCopies = @(
@{ Source = "music"; Dest = "PS4_GAME\music" },
@{ Source = "Common\Media"; Dest = "PS4_GAME\Common\Media" },
@{ Source = "Common\Media\Font";Dest = "PS4_GAME\Common\Media\Font" },
@{ Source = "Common\res"; Dest = "PS4_GAME\Common\res" },
@{ Source = "OrbisMedia\Sound"; Dest = "PS4_GAME\Orbis\Sound" },
@{ Source = "OrbisMedia\DLC"; Dest = "PS4_GAME\Orbis\DLC" },
@@ -50,6 +50,7 @@ foreach ($copy in $folderCopies) {
}
$fileCopies = @(
@{ Source = "Common\Media\MediaOrbis.arc"; Dest = "PS4_GAME\Common\Media\MediaOrbis.arc" },
@{ Source = "Orbis\PS4ProductCodes.bin"; Dest = "PS4_GAME\Orbis\PS4ProductCodes.bin" },
@{ Source = "Orbis\session_image.jpg"; Dest = "PS4_GAME\Orbis\session_image.jpg" }
)
@@ -75,18 +76,7 @@ if (Test-Path $builtFile) {
}
$deleteDirs = @(
"PS4_GAME\Common\Media\Graphics",
"PS4_GAME\Common\Media\font\RU",
"PS4_GAME\Common\Media\Sound",
"PS4_GAME\Common\Media\de-DE",
"PS4_GAME\Common\Media\es-ES",
"PS4_GAME\Common\Media\fr-FR",
"PS4_GAME\Common\Media\it-IT",
"PS4_GAME\Common\Media\ja-JP",
"PS4_GAME\Common\Media\ko-KR",
"PS4_GAME\Common\Media\pt-BR",
"PS4_GAME\Common\Media\pt-PT",
"PS4_GAME\Common\Media\zh-CHT"
"PS4_GAME\Common\Media\font\RU"
)
foreach ($dir in $deleteDirs) {
@@ -97,15 +87,14 @@ foreach ($dir in $deleteDirs) {
}
$delDirs = @(
"PS4_GAME\Common\Media",
"PS4_GAME\Common\Media\font",
"PS4_GAME\Common\Media\font",
"PS4_GAME\Common\Media\font\*"
)
foreach ($dir in $delDirs) {
$path = Join-Path $OutDir $dir
if (Test-Path $path) {
Get-ChildItem -Path $path -Recurse -Include *.swf, *.txt, *.resx, *.xml, *.loc, *.lang, *.col, *.xui, *.abc, *.h, "Mojang Font_7.ttf", "Mojang Font_11.ttf", "MSYH.ttf", MediaDurango.arc, MediaWindows64.arc, MediaPS3.arc, MediaPSVita.arc -File |
Get-ChildItem -Path $path -Recurse -Include *.txt, *.abc, "Mojang Font_7.ttf", "Mojang Font_11.ttf", "MSYH.ttf" -File |
Remove-Item -Force -ErrorAction SilentlyContinue
}
}