Files
ayka-667andClaude Opus 5.5 1893ee896d SysDVR client port for PS4 (OpenOrbis homebrew)
Streams a Nintendo Switch running the SysDVR sysmodule (TCP Bridge mode)
to a jailbroken PS4: UDP auto-discovery, protocol 02/03 handshake,
FFmpeg H.264 software decoding, swscale to the sceVideoOut framebuffer,
sceAudioOut audio, DS4 settings UI. Includes a fake Switch and a native
test harness.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 12:19:21 +01:00

24 lines
1.0 KiB
PowerShell

# Builds SysDVR-PS4 on Windows: compiles in WSL, then packages with the Windows PkgTool.
# Usage: powershell -ExecutionPolicy Bypass -File build.ps1
$ErrorActionPreference = "Stop"
$root = $PSScriptRoot
$toolchainWin = if ($env:OO_PS4_TOOLCHAIN_WIN) { $env:OO_PS4_TOOLCHAIN_WIN } else { "$env:USERPROFILE\ps4dev\OpenOrbis\PS4Toolchain" }
$distro = if ($env:WSL_DISTRO) { $env:WSL_DISTRO } else { "Debian" }
$wslPath = (wsl -d $distro wslpath -a ($root -replace '\\', '/')).Trim()
Write-Host "==> Compiling in WSL ($distro): $wslPath"
wsl -d $distro -- make -C "$wslPath" pkg.gp4
if ($LASTEXITCODE -ne 0) { throw "make failed" }
Write-Host "==> Building the .pkg"
# PkgTool.Core targets .NET Core 3.0: let it run on any newer installed runtime
$env:DOTNET_ROLL_FORWARD = "Major"
Push-Location $root
try {
& "$toolchainWin\bin\windows\PkgTool.Core.exe" pkg_build pkg.gp4 .
if ($LASTEXITCODE -ne 0) { throw "PkgTool failed" }
} finally {
Pop-Location
}
Get-ChildItem "$root\*.pkg" | ForEach-Object { Write-Host "==> Done: $($_.FullName)" }