fix: consoles & dpad being binded to 2 settings

This commit is contained in:
str1k3r committed 2026-09-29 16:41:13 -04:00
1 parent 02da402490
commit fed6871356
150 files changed
+19314 -431

No files matched your search

@@ -0,0 +1,67 @@
param(
[string]$OutDir,
[string]$ProjectDir
)
Write-Host "Xbox Postbuild: script started. Output Directory: $OutDir, Project Directory: $ProjectDir"
$directories = @(
"res",
"Tutorial"
)
foreach ($dir in $directories) {
New-Item -ItemType Directory -Path (Join-Path $OutDir $dir) -Force | Out-Null
}
$copies = @(
@{ Source = "Common\res"; Dest = "res" }
)
foreach ($copy in $copies) {
$src = Join-Path $ProjectDir $copy.Source
$dst = Join-Path $OutDir $copy.Dest
if (Test-Path $src) {
xcopy /q /y /i /s /e /d "$src" "$dst" 2>$null
} else {
Write-Host "Xbox Postbuild: Folder not found, skipping: $src"
}
}
$fileCopies = @(
@{ Source = "Xbox\kinect\speech\nuisp1031"; Dest = "nuisp1031" },
@{ Source = "Xbox\kinect\speech\nuisp1033"; Dest = "nuisp1033" },
@{ Source = "Xbox\kinect\speech\nuisp1036"; Dest = "nuisp1036" },
@{ Source = "Xbox\kinect\speech\nuisp1041"; Dest = "nuisp1040" },
@{ Source = "Xbox\kinect\speech\nuisp1041"; Dest = "nuisp1041" },
@{ Source = "Xbox\kinect\speech\nuisp2057"; Dest = "nuisp2057" },
@{ Source = "Xbox\kinect\speech\nuisp2058"; Dest = "nuisp2058" },
@{ Source = "Xbox\kinect\speech\nuisp3081"; Dest = "nuisp3081" },
@{ Source = "Xbox\kinect\speech\nuisp3082"; Dest = "nuisp3082" },
@{ Source = "Xbox\kinect\speech\nuisp3084"; Dest = "nuisp3084" },
@{ Source = "XboxMedia\AvatarAwards"; Dest = "AvatarAwards" },
@{ Source = "Common\Tutorial\Tutorial"; Dest = "Tutorial\Tutorial" }
)
$delDirs = @(
"Common\res\TitleUpdate\GameRules"
)
foreach ($dir in $delDirs) {
$path = Join-Path $OutDir $dir
if (Test-Path $path) {
Get-ChildItem -Path $path -Recurse -Include *.mcs -File |
Remove-Item -Force -ErrorAction SilentlyContinue
}
}
foreach ($copy in $fileCopies) {
$src = Join-Path $ProjectDir $copy.Source
$dst = Join-Path $OutDir $copy.Dest
if (Test-Path $src) {
Copy-Item -Path $src -Destination $dst -Force
} else {
Write-Host "Xbox Postbuild: File not found, skipping: $src"
}
}