Add build scripts, documentation, and smooth camera analysis for ScummVM's Ultima VIII engine

- Introduced `build-scummvm.ps1` and `run-scummvm.ps1` scripts for building and running the ScummVM project with MSVC.
- Created `phase-0-evidence-compatibility-gate.md` to outline the evidence and compatibility gate for the Crusader project.
- Added `smooth-camera-analysis.md` detailing the proposed smooth camera behavior and regression checks.
- Documented the Visual Studio build process in `visual-studio-build.md`, including prerequisites and steps for generating the Ultima solution.
- Updated `startup-map-patch-file.md` to clarify the behavior of the fixed-map and glob archives in the GOG installation.
This commit is contained in:
Marco 2026-10-09 16:59:29 +02:00
commit 3b2561b053
10 changed files with 967 additions and 0 deletions

View file

@ -0,0 +1,37 @@
[CmdletBinding()]
param (
[ValidateSet('Debug', 'Release')]
[string]$Configuration = 'Debug',
[string[]]$ScummVMArgs = @()
)
$ErrorActionPreference = 'Stop'
$sourceRoot = [System.IO.Path]::GetFullPath((Join-Path $PSScriptRoot '..\..\..\scummvm'))
$buildDirectory = Join-Path $sourceRoot 'build-msvc'
$executable = Join-Path $buildDirectory "$($Configuration)x64\scummvm.exe"
if (-not (Test-Path -LiteralPath $executable -PathType Leaf)) {
throw "'$executable' was not found. Run build-scummvm.ps1 -Configuration $Configuration first."
}
$previousPath = $env:PATH
try {
$vcpkgBin = Join-Path $buildDirectory 'vcpkg_installed\x64-windows'
if ($Configuration -eq 'Debug') {
$vcpkgBin = Join-Path $vcpkgBin 'debug\bin'
} else {
$vcpkgBin = Join-Path $vcpkgBin 'bin'
}
if (-not (Test-Path -LiteralPath $vcpkgBin -PathType Container)) {
throw "The vcpkg $Configuration DLL directory was not found at '$vcpkgBin'."
}
$env:PATH = "$vcpkgBin;$previousPath"
& $executable @ScummVMArgs
if ($LASTEXITCODE -ne 0) {
throw "ScummVM exited with code $LASTEXITCODE."
}
} finally {
$env:PATH = $previousPath
}