RynthCore as of 2026-11-10 (internal b7e3008): release 2026.11.10.1

This commit is contained in:
Tom Bohar 2026-11-10 15:28:10 -05:00
commit 55e15c0ac4
59 changed files with 6963 additions and 1030 deletions

View file

@ -339,6 +339,17 @@ if ($SkipDecalBridge) {
# release.txt — which core release this install is ($release, from -Version at the top).
Set-Content -Path "$StagingDir\release.txt" -Value @($release, $Version) -Encoding ASCII
# The PE machine field of a DLL (e_lfanew at 0x3C, then the COFF Machine at PE offset + 4). The game is
# 32-bit, so the web panel's native loader must be the x86 one (0x14C): the NuGet package also carries
# win-x64 and win-arm64 copies that would load nowhere.
function Assert-PeMachine([string]$Path, [int]$Expected) {
$bytes = [System.IO.File]::ReadAllBytes($Path)
if ($bytes.Length -lt 0x40) { throw "$Path is not a PE file (too short)" }
$pe = [System.BitConverter]::ToInt32($bytes, 0x3C)
if ($pe -lt 0 -or $pe + 6 -gt $bytes.Length) { throw "$Path is not a PE file (bad e_lfanew)" }
$machine = [System.BitConverter]::ToUInt16($bytes, $pe + 4)
if ($machine -ne $Expected) { throw ("{0}: PE machine 0x{1:X}, expected 0x{2:X}" -f $Path, $machine, $Expected) }
}
# Everything a working install needs. The 2026-09-25 public installer went out
# without the Loader and the SEH trampoline because nothing checked.
$required = @(
@ -359,7 +370,9 @@ if (-not $NativeAot) {
$required += @(
"$StagingDir\Runtime\RynthCore.Shim.dll",
"$StagingDir\Runtime\dotnet\coreclr.dll",
"$StagingDir\Runtime\dotnet\System.Private.CoreLib.dll"
"$StagingDir\Runtime\dotnet\System.Private.CoreLib.dll",
"$StagingDir\Runtime\Microsoft.Web.WebView2.Core.dll",
"$StagingDir\Runtime\WebView2Loader.dll"
)
}
if (-not $SkipDecalBridge) {
@ -367,7 +380,9 @@ if (-not $SkipDecalBridge) {
}
$missing = @($required | Where-Object { -not (Test-Path $_) })
if ($missing.Count -gt 0) { throw "Staging is missing required files:`n $($missing -join "`n ")" }
if (-not $NativeAot) {
Assert-PeMachine "$StagingDir\Runtime\WebView2Loader.dll" 0x14C
}
# Report staged sizes
$engineDll = "$StagingDir\Runtime\RynthCore.Engine.dll"
if (Test-Path $engineDll) {