Sync MicroslopSam VOX mode and path configuration

This commit is contained in:
Fisto
2026-09-16 08:46:39 +02:00
parent 49fd28756f
commit 6b961ddcef
12 changed files with 1033 additions and 95 deletions
+5 -8
View File
@@ -7,18 +7,15 @@
set -eu
HERE=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
ROOT=$(CDPATH= cd -- "$HERE/.." && pwd)
ASSETS=${1:-$ROOT/../Microsoft-Sam-Mary-Mike-TruVoice-WSAPI4}
. "$HERE/config.sh"
ASSETS=${1:-$MICROSLOP_ASSETS}
[ -d "$ASSETS/spchapi" ] || { echo "asset dir not found: $ASSETS" >&2; exit 1; }
export WINEPREFIX=${WINEPREFIX:-$HOME/.wine-microslopsam}
export WINEARCH=win32
if [ -z "${DISPLAY:-}" ]; then
WRUN="xvfb-run -a wine"
WRUN="xvfb-run -a $MICROSLOP_WINE"
else
WRUN="wine"
WRUN="$MICROSLOP_WINE"
fi
echo "== prefix: $WINEPREFIX"
@@ -48,4 +45,4 @@ $WRUN regedit /S "$HERE/out-spchapi.reg"
$WRUN regedit /S "$HERE/out-mstts.reg"
echo "== done"
echo "list voices: $WRUN $ROOT/host/sapi4host.exe -l"
echo "list voices: $WRUN $MICROSLOP_BUILD/sapi4host.exe -l"