* Fix DLCs textures and crash in 720p
* Revert "Fix DLCs textures and crash in 720p"
This reverts commit 7c38605360.
* Update Durango and Windows64 DLCs Textures also fix crash in 720p
* DLC update for Windows edition
- The windows edition dont use anymore DurangoMedia
- Fixed Bed and missing items in Skyrim
- Fixed Hud in almost all the DLCs (Halo hud in 720p is still the default hud)
- Add 720p support
- Add missing skin packs
- High quality Music for DLCs
* Add Fantasy Texture Pack, Remove LittleBigPlanet DLC
The LittleBigPlanet world crash the game, the texture pack dont support 1080p, and the loc file wasn't working
42 lines
1.2 KiB
PowerShell
42 lines
1.2 KiB
PowerShell
param(
|
|
[string]$OutDir,
|
|
[string]$ProjectDir
|
|
)
|
|
|
|
Write-Host "Post-build script started. Output Directory: $OutDir, Project Directory: $ProjectDir"
|
|
|
|
$directories = @(
|
|
"music",
|
|
"Windows64\GameHDD",
|
|
"Common\Media",
|
|
"Common\res",
|
|
"Common\Trial",
|
|
"Common\Tutorial",
|
|
"Windows64Media"
|
|
)
|
|
|
|
foreach ($dir in $directories) {
|
|
New-Item -ItemType Directory -Path (Join-Path $OutDir $dir) -Force | Out-Null
|
|
}
|
|
|
|
$copies = @(
|
|
@{ Source = "music"; Dest = "music" },
|
|
@{ Source = "Common\Media"; Dest = "Common\Media" },
|
|
@{ Source = "Common\res"; Dest = "Common\res" },
|
|
@{ Source = "Common\Trial"; Dest = "Common\Trial" },
|
|
@{ Source = "Common\Tutorial"; Dest = "Common\Tutorial" },
|
|
@{ Source = "Windows64\GameHDD"; Dest = "Windows64\GameHDD" },
|
|
@{ Source = "Windows64\Sound"; Dest = "Windows64\Sound" },
|
|
@{ Source = "Windows64Media"; Dest = "Windows64Media" }
|
|
)
|
|
|
|
foreach ($copy in $copies) {
|
|
$src = Join-Path $ProjectDir $copy.Source
|
|
$dst = Join-Path $OutDir $copy.Dest
|
|
|
|
if (Test-Path $src) {
|
|
# Copy the files using xcopy, forcing overwrite and suppressing errors, and only copying if the source is newer than the destination
|
|
xcopy /q /y /i /s /e /d "$src" "$dst" 2>$null
|
|
}
|
|
}
|