added ability to use dgvoodoo ddraw for VM resource builds.
This commit is contained in:
@@ -78,7 +78,9 @@ Write-Host "[pack 2/3] running resource compiler fullscreen (this can take a whi
|
||||
# Error -> the builder hangs on a modal dialog). Move it aside so the builder uses native DirectDraw;
|
||||
# the finally restores it for the editor regardless of how the build ends.
|
||||
$ddraw = Join-Path $Runtime "ddraw.dll"; $ddrawBak = "$ddraw.buildaside"; $ddrawMoved = $false
|
||||
if (Test-Path $ddraw) { Move-Item $ddraw $ddrawBak -Force; $ddrawMoved = $true; Write-Host " (moved DDrawCompat ddraw.dll aside for the build)" }
|
||||
$isDDrawCompat = (Test-Path $ddraw) -and -not (Test-Path (Join-Path $Runtime "dgVoodoo.conf"))
|
||||
if ($isDDrawCompat) { Move-Item $ddraw $ddrawBak -Force; $ddrawMoved = $true; Write-Host " (moved DDrawCompat ddraw.dll aside for the build)" }
|
||||
elseif (Test-Path $ddraw) { Write-Host " (dgVoodoo2 ddraw.dll detected - keeping in place for build)" }
|
||||
$code = $null
|
||||
try {
|
||||
$argList = "/gosnodialogs -armorlevel 3 -build -norun -nosound -nocd -noeula"
|
||||
|
||||
Reference in New Issue
Block a user