mirror of
https://git.triforceproject.com/triforce/source
synced 2026-12-01 05:18:50 -04:00
Triforce v0.9.0
Character tab, faster renderer defaults, HD rumble shipped, and the 11-30 bug pass: ending softlock below 60 fps, adult first-night lock, Intel Arc robust buffers, adult map, randomizer load order.
This commit is contained in:
@@ -5,12 +5,15 @@
|
||||
# From this checkout: nx2, host, gpu, scripts, third_party (tracked files, as they are on disk), the speed profile in work\.
|
||||
# From -Deps (not in git, too big or binary): python\ (with lz4 numpy capstone unicorn zstandard), cpm\ (Vulkan headers, FFmpeg),
|
||||
# wgpu-native\, llvm-mingw\ (the compiler; without it a player's PC would need Visual Studio), third_party\ (SDL2.dll, zbic.dll/.lib).
|
||||
# Built here: RenHDrum's renhdrum.dll (scripts/renhdrum.py build, from third_party/renhdrum with -Deps' llvm-mingw; its pinned
|
||||
# Rust kept in -Deps\renhdrum-rust), into tools\third_party\renhdrum\, where nx2/build.py copies it beside the player's game.
|
||||
param(
|
||||
[Parameter(Mandatory = $true)][string]$Tag,
|
||||
[string]$Deps = 'D:\src\release\triforce-deps',
|
||||
[string]$Out = (Join-Path $PSScriptRoot 'out\release'),
|
||||
[switch]$AllowNoCompiler,
|
||||
[switch]$AllowNoStateList
|
||||
[switch]$AllowNoStateList,
|
||||
[switch]$AllowNoRenhdrum
|
||||
)
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$repo = Split-Path $PSScriptRoot
|
||||
@@ -47,6 +50,22 @@ foreach ($f in $files) {
|
||||
}
|
||||
"sources: $($files.Count) files"
|
||||
|
||||
# 1b. ((Triforce, 11-29) RenHDrum: renhdrum.dll, the library host/rumble_renhdrum.c plays a DualSense's voice coils and the
|
||||
# HD rumble of Switch and Xbox controllers with (Controls > Vibration). Ignored by git, so step 1 never packed it: every
|
||||
# release from v0.8.0 to v0.8.5.2 had the code and not the library, and every controller fell back to its motors or its own
|
||||
# HD rumble. Built from the tracked source each pack (the same source gives the same bytes) and checked by the build)
|
||||
$rhOut = Join-Path $tools 'third_party\renhdrum\renhdrum.dll'
|
||||
$rhMingw = Join-Path $Deps 'llvm-mingw'
|
||||
if (Test-Path (Join-Path $rhMingw 'bin\x86_64-w64-mingw32-clang.exe')) {
|
||||
& (Join-Path $Deps 'python\python.exe') -I (Join-Path $repo 'scripts\renhdrum.py') build --target windows --llvm-mingw $rhMingw --cache (Join-Path $Deps 'renhdrum-rust') --out $rhOut
|
||||
if ($LASTEXITCODE -ne 0 -or -not (Test-Path $rhOut)) {
|
||||
if (-not $AllowNoRenhdrum) { throw "RenHDrum was not built (scripts\renhdrum.py build): players' controllers would get no HD haptics. (-AllowNoRenhdrum packs anyway)" }
|
||||
"renhdrum: not built (-AllowNoRenhdrum)"
|
||||
} else { "renhdrum: {0:N0} bytes, sha256 {1}" -f (Get-Item $rhOut).Length, (Get-FileHash $rhOut -Algorithm SHA256).Hash }
|
||||
} elseif (-not $AllowNoRenhdrum) {
|
||||
throw "no llvm-mingw in $Deps to build RenHDrum with (-AllowNoRenhdrum packs without it)"
|
||||
} else { "renhdrum: not built (no llvm-mingw, -AllowNoRenhdrum)" }
|
||||
|
||||
# 2. the dependencies
|
||||
foreach ($d in 'python', 'cpm', 'wgpu-native', 'llvm-mingw', 'third_party') {
|
||||
$src = Join-Path $Deps $d
|
||||
|
||||
Reference in New Issue
Block a user