Platform notes
Platform-specific differences for building, running, and distributing Conversation Simulator on macOS, Windows and Linux.
Steam system requirements
Section titled “Steam system requirements”These are the official minimum and recommended requirements recorded for the Steam store page and the Stage 3/4 release gates.
| Minimum | Recommended | |
|---|---|---|
| OS | macOS 14 Sonoma | macOS 15 Sequoia or newer |
| Architecture | Apple Silicon (arm64) only — the Steam build has no Intel (x86-64) slice | Apple Silicon (M2 or newer) |
| CPU | Apple M1 or newer | Apple M2 or newer |
| RAM | 8 GB | 16 GB |
| Storage | 2 GB free (app) + 3 GB per downloaded model | 5 GB free |
| GPU / ANE | Integrated GPU | Apple Neural Engine (M1+) for fast inference |
| Internet | Required for first-time model download | — |
Notes:
- macOS 12 Monterey may work but is not tested and is excluded from QA coverage.
- The Steam build is Apple Silicon only (issue #563): the release is built for
macOS on one leg,
macos-latest(arm64), because the GitHub-hostedmacos-13Intel runner is gone. An Intel build would need a second leg or cross-compilation (--target x86_64-apple-darwin), its own frozen convsim-core sidecar and notarisation, and a universal merge; that is #575.
Supported versions
Section titled “Supported versions”macOS 14 Sonoma or newer, on Apple Silicon (M1 or newer) for the Steam build.
An Intel Mac can still build and run the app from source at a release tag
(the engine download has a macos-x64 asset), but Steam installs nothing it
can run.
Build prerequisites
Section titled “Build prerequisites”# Xcode Command Line Tools (provides clang, libtool, otool, etc.)xcode-select --install
# Rust toolchaincurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Node.js 18+, pnpm, Python 3.10+ via Homebrew (recommended)brew install node python@3.11npm install -g pnpmFor cross-compilation (building Apple Silicon on an Intel Mac or vice versa):
rustup target add aarch64-apple-darwin # build for Apple Siliconrustup target add x86_64-apple-darwin # build for Intelpnpm --filter @convsim/desktop tauri build --target aarch64-apple-darwinInstaller format
Section titled “Installer format”Tauri produces a .dmg disk image and a raw .app bundle. The .dmg is the
primary distributable for macOS. For the Steam depot, the release CI tarballs
the .app bundle into a .app.tar.gz (Steam ships the raw application, not the
installer); Tauri itself only emits .app.tar.gz when the updater is
configured, which this project does not use.
Code signing and Gatekeeper
Section titled “Code signing and Gatekeeper”Alpha builds are not code-signed. macOS Gatekeeper will block unsigned apps with “Apple cannot verify this app is free from malware.” To open an unsigned build:
- Right-click (or Control-click) the
.app→ Open → Open. - Or: System Settings → Privacy & Security → scroll down → Open Anyway.
For distributable (Stage 3+) builds, sign and notarise with an Apple Developer
ID certificate. Set the following environment variables before running
tauri build (the studio’s release build sets them from its own credentials,
none of which are held in this repository):
# Base64-encoded Developer ID Application .p12 certificateexport APPLE_CERTIFICATE="<base64>"export APPLE_CERTIFICATE_PASSWORD="<p12-passphrase>"# Full identity string from the certificateexport APPLE_SIGNING_IDENTITY="Developer ID Application: Outright Mental (TEAMID)"# Notarisation credentialsexport APPLE_ID="you@example.com"export APPLE_PASSWORD="<app-specific-password>"export APPLE_TEAM_ID="TEAMID"Tauri’s bundler reads these variables automatically, applies
apps/desktop/src-tauri/entitlements.plist (Hardened Runtime entitlements
required for Steamworks and sidecar compatibility — see the file for details),
signs the .app bundle with codesign --options runtime, and submits it to
Apple’s notarisation service via notarytool.
The convsim-core PyInstaller sidecar also reads APPLE_SIGNING_IDENTITY
at build time (see convsim-core.spec) and signs its embedded Python extensions
with the same entitlements before Tauri wraps them in the bundle.
See tauri.app/distribute/sign/macos for more details on the Tauri signing process.
Gate G3-01: A notarised macOS build is required before Stage 3 (Steam private beta). A Gatekeeper pass on a clean macOS install (without “Open Anyway”) is the acceptance criterion.
Microphone permission
Section titled “Microphone permission”The OS shows a standard permission dialog on first use of voice input. If denied, re-enable in System Settings → Privacy & Security → Microphone.
The dialog text comes from NSMicrophoneUsageDescription in
apps/desktop/src-tauri/Info.plist (merged into the bundle by Tauri). This key
is mandatory under Hardened Runtime — without it macOS terminates the app
instead of prompting when voice input first requests the microphone.
Data directories
Section titled “Data directories”The desktop app keeps its data in
~/Library/Application Support/com.outrightmental.convsim/. The Tauri shell
builds that path in shared_data_root() (apps/desktop/src-tauri/src/lib.rs)
from the full app’s bundle identifier, so the demo uses the same folder, and
passes it to convsim-core as CONVSIM_DATA_ROOT. convsim-core run without the
shell falls back to the same folder on macOS (convsim_core/paths.py).
Inside it are db/, data/, logs/, models/llm/, packs/, exports/,
cache/ and crashes/; Data locations says
what each holds. Nothing writes to exports/ or cache/ yet: a session export
is a download the UI builds, not a file convsim-core saves. A few files still
live under ~/.convsim/, listed on the same page.
This directory is not synced to iCloud (it is outside ~/Library/Mobile Documents)
and is explicitly excluded from Steam Cloud via .nosteamcloudpath sentinel files.
Older builds kept their data in ~/.convsim/. On startup convsim-core copies
(never moves) data/, db/, packs/, logs/, exports/, cache/ and
crashes/ from there into the data folder, but only when the data folder is
still empty (convsim_core/data_migration.py). The desktop shell creates
logs/ in it before it starts convsim-core, so in the desktop app the copy
does not happen. Troubleshooting
says how to bring old sessions across by hand. Model files are never copied.
CONVSIM_DATA_ROOT moves the whole tree only when convsim-core runs without
the desktop shell, because the shell always sets it. Single folders move with
CONVSIM_DB_DIR, CONVSIM_DATA_DIR, CONVSIM_LOG_DIR, CONVSIM_MODELS_DIR
and the other CONVSIM_*_DIR variables, which the shell passes through.
Port conflicts
Section titled “Port conflicts”Everything binds to 127.0.0.1. convsim-core listens on 7355 and the
llama-server it starts listens on 7356. A source build also serves the web UI
from the Vite dev server on 7354; the desktop app opens no port for its window.
The voice output worker connects to a Kokoro server on 7358 when one is
running, and the app does not start one. Nothing listens on 7357: speech-to-text
runs whisper-cli as a subprocess for each request. Find and stop conflicting
processes:
lsof -i :7354lsof -i :7355lsof -i :7356kill <PID>Windows
Section titled “Windows”Supported versions
Section titled “Supported versions”Windows 10 (build 19041 / 20H1) or newer. Windows 11 is recommended.
64-bit x86 only (x86_64-pc-windows-msvc).
Build prerequisites
Section titled “Build prerequisites”-
Microsoft Visual Studio C++ Build Tools — required by the Rust MSVC toolchain. Install via Build Tools for Visual Studio and select the “Desktop development with C++” workload.
-
Rust toolchain — install via rustup.rs; the installer detects Windows and installs the MSVC toolchain automatically.
-
WebView2 Runtime — bundled with Windows 11 and Windows 10 21H2+. For older Windows 10 builds, install the Evergreen Bootstrapper from developer.microsoft.com/en-us/microsoft-edge/webview2.
-
Node.js 18+ and pnpm — download from nodejs.org and run
npm install -g pnpmin a PowerShell terminal (as Administrator if needed). -
Python 3.10+ — download from python.org. During installation, check “Add Python to PATH”.
Run the setup script from PowerShell:
.\scripts\setup.ps1Installer format
Section titled “Installer format”Tauri produces two Windows installers:
- NSIS
.exe— a classic setup wizard; recommended for most users. - MSI (WiX) — Microsoft Installer; better for enterprise/group-policy deployment.
Both installers are self-contained; no separate runtime installation is needed (WebView2 is bundled with the NSIS installer if not already present).
Code signing (SmartScreen)
Section titled “Code signing (SmartScreen)”Alpha builds are not code-signed. Windows Defender SmartScreen will warn “Windows protected your PC” with an unrecognised publisher message. To run an unsigned build:
- Click More info in the SmartScreen dialog.
- Click Run anyway.
For distributable and Steam release builds, sign with an Extended Validation (EV) or standard OV code-signing certificate using Authenticode.
Authenticode signing in the release build
Section titled “Authenticode signing in the release build”The studio’s release build signs the Windows binaries and installers with its own credentials, none of which are held in the code repository. A build made from source without credentials continues and produces an unsigned installer. Unsigned installers are blocked by SmartScreen on end-user machines; signing is required before the Stage 3 private beta gate (G3-01 in the Steam MVP scope).
Obtaining a certificate:
- Purchase an EV or OV code-signing certificate from DigiCert, Sectigo, GlobalSign, or another trusted CA.
- Export the private key and certificate chain as a
.pfxfile. - Keep the
.pfxand its password out of the repository.
Local signing:
# Sign a specific installer with signtool.exe (included in the Windows SDK)signtool.exe sign ` /f path\to\cert.pfx ` /p <password> ` /tr http://timestamp.digicert.com ` /td sha256 /fd sha256 /v ` "apps\desktop\src-tauri\target\release\bundle\nsis\Conversation Simulator_*_x64-setup.exe"See tauri.app/distribute/sign/windows for additional options including HSM/EV token signing.
Antivirus false positives
Section titled “Antivirus false positives”Freshly compiled Rust/Tauri executables are occasionally flagged by antivirus engines as suspicious (heuristic detection). If this happens:
- Add the install directory to your antivirus exclusion list.
- Submit the executable for false-positive review through your AV vendor’s portal.
Microphone permission
Section titled “Microphone permission”Windows Security prompts for microphone access on first use. Allow it when prompted, or grant it in Settings → Privacy & Security → Microphone.
Data directories
Section titled “Data directories”The desktop app keeps its data in %LOCALAPPDATA%\com.outrightmental.convsim\.
The Tauri shell builds that path in shared_data_root()
(apps/desktop/src-tauri/src/lib.rs) and passes it to convsim-core as
CONVSIM_DATA_ROOT. %LOCALAPPDATA% is not synced by Windows Roaming
Profiles or OneDrive by default, keeping data local as required by the
local-first privacy promise. convsim-core run without the shell, as in a source
build started with scripts\dev.ps1, uses %LOCALAPPDATA%\outrightmental\convsim\
instead (convsim_core/paths.py).
Inside it are db\, data\, logs\, models\llm\, packs\, exports\,
cache\ and crashes\; Data locations says
what each holds. Nothing writes to exports\ or cache\ yet: a session export
is a download the UI builds, not a file convsim-core saves. A few files still
live under %USERPROFILE%\.convsim\, listed on the same page.
CONVSIM_DATA_ROOT moves the whole tree only when convsim-core runs without
the desktop shell, because the shell always sets it. Single folders move with
the CONVSIM_*_DIR variables, which the shell passes through.
Migration from earlier builds: Older builds kept their data in
%USERPROFILE%\.convsim\. When the data folder is still empty at startup, convsim-core copies the data folders from there into it and writes a.convsim_migrated_to_platform_dirmarker into%USERPROFILE%\.convsim\. The desktop shell createslogs\in the data folder before it starts convsim-core, so in the desktop app the copy does not happen. Troubleshooting says how to bring old sessions across by hand. Model files are never copied.
Steam Cloud exclusion: each data subdirectory contains a .nosteamcloudpath
file that tells the Steam client not to sync it. Transcripts, session history,
audio, and model outputs never leave the player’s machine via Steam Cloud.
Windows system requirements for Steam
Section titled “Windows system requirements for Steam”These requirements apply to the installed desktop app distributed via Steam. They do not apply to source-checkout developer builds (which may need additional tooling).
Minimum requirements
Section titled “Minimum requirements”| Component | Minimum |
|---|---|
| OS | Windows 10 (build 19041 / 20H1) 64-bit |
| CPU | 64-bit x86 processor, 2 cores, SSE4.2 |
| RAM | 8 GB |
| Disk (app install) | 500 MB |
| Disk (models, downloaded post-launch) | 4 GB free (for a single starter model) |
| GPU | Not required — CPU-only inference is supported |
| WebView2 | Microsoft Edge WebView2 Runtime (bundled by the NSIS installer on Windows 10 builds earlier than 21H2) |
| Internet | Required only for initial model download; all play is offline after the model is installed |
Recommended requirements
Section titled “Recommended requirements”| Component | Recommended |
|---|---|
| OS | Windows 11 (any release) 64-bit |
| CPU | 64-bit x86 processor, 8+ cores (for faster CPU inference) |
| RAM | 16 GB |
| Disk | 20 GB free (for multiple models and session history) |
| GPU | A separate (discrete) NVIDIA, AMD or Intel graphics card with a current driver. Used automatically through the bundled Vulkan engine |
Note on GPU acceleration: the Windows Steam build bundles two llama.cpp engines: the CPU build and the Vulkan build, which runs on NVIDIA, AMD and Intel graphics through the driver’s own Vulkan support (#530). By default the app uses the graphics card when the Vulkan engine lists a discrete one, and the processor otherwise, falling back to the processor when the card fails (#531); Settings → Graphics card shows which is in use. CUDA builds are not offered: Vulkan accelerates NVIDIA cards too. See Choosing how to run the AI.
Verified Steam client version
Section titled “Verified Steam client version”The app has been tested against Steam client 1.0.0.81 and newer. The minimum Steam client version to list on the store page is Steam client 1.0.0.81.
Steam overlay (WebView2 caveat)
Section titled “Steam overlay (WebView2 caveat)”The Steam overlay does not work out of the box on this app the way it does
on a native Windows game, because the UI renders in out-of-process WebView2
rather than a swapchain the app owns. Steam’s overlay compositing hook (which
draws by intercepting the game’s graphics Present call) finds nothing to draw
into, and the Shift+Tab chord lands in the WebView2 process where Steam’s input
hook never sees it. The failure is silent and looks like success — Steam
reports the player “In-Game”, is_overlay_enabled() returns true, and
GameOverlayActivated fires — so it is easy to sign off the G3-03 gate broken.
Two things are required to make it work on Windows:
- Chord forwarding — the front-end forwards Shift+Tab to Steam
(
useSteamOverlay→steam_activate_overlay). Shipped. - A decoy compositing surface — a transparent, click-through child window presenting empty frames at vsync so Steam has somewhere to composite the overlay. Not yet vendored (Win32 + wgpu native code).
Known limitation: after alt-tabbing back in, the forwarder is deaf until the
page is clicked once. See
Steam integration § Steam overlay (Windows WebView2 caveat)
for the full explanation, the external plugin reference, and the trap to avoid
(do not “fix” the focus limitation with webview.set_focus()).
Port conflicts
Section titled “Port conflicts”Find and stop conflicting processes on Windows:
Get-NetTCPConnection -LocalPort 7354 | Select-Object OwningProcessStop-Process -Id <PID> -ForcePaths with spaces
Section titled “Paths with spaces”If your user directory contains spaces (e.g. C:\Users\Jane Doe\), ensure
that Python, Node.js, and Rust are installed in paths without spaces, or
that their paths are correctly quoted in the environment. The setup script
handles quoting automatically, but custom tool installations may not.
PowerShell execution policy
Section titled “PowerShell execution policy”To run setup.ps1 and dev.ps1, the execution policy must allow local
scripts. Run once in an elevated PowerShell:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserSupported distributions
Section titled “Supported distributions”Ubuntu 22.04 LTS is the primary test target and the CI build machine. Other glibc-based distros (Fedora 38+, Debian 12+, Arch, SteamOS 3.x) are compatible. See Linux and SteamOS requirements for the full distribution compatibility matrix and GLibC version details.
Build prerequisites
Section titled “Build prerequisites”# Tauri system dependencies (Ubuntu / Debian)sudo apt-get install -y \ libwebkit2gtk-4.1-dev libgtk-3-dev \ libayatana-appindicator3-dev librsvg2-dev
# Rustcurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Node.js 18+ via NodeSourcecurl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -sudo apt-get install -y nodejsnpm install -g pnpm
# Python 3.10+sudo apt-get install -y python3.11 python3.11-venvRun setup and then the Linux build script:
./scripts/setup.sh./scripts/build-linux.shInstaller format
Section titled “Installer format”Tauri produces:
.AppImage— portable, runs on any x86_64 Linux with glibc ≥ 2.35 without installation. This is what the Steam depot ships for Linux, and the recommended format for Steam Deck / SteamOS installs..deb— Debian/Ubuntu package for system-wide installation on Ubuntu 22.04+ and Debian 12+.
The AppImage bundles WebKitGTK, GTK 3, and most other user-space dependencies.
The .deb package declares them as Depends: and installs them via apt.
Code signing
Section titled “Code signing”Linux builds are not code-signed. There is no Linux equivalent of macOS
Gatekeeper or Windows SmartScreen; no signature is required for distribution.
The release build prints the SHA-256 checksum of each AppImage and .deb in
its log. GitHub releases carry no binaries; the Linux build reaches players
through Steam.
Microphone (PipeWire / PulseAudio)
Section titled “Microphone (PipeWire / PulseAudio)”WebKit on Linux may require xdg-desktop-portal and a running PipeWire or
PulseAudio session for the browser getUserMedia permission dialog to appear.
On headless or minimal desktop environments, microphone access may silently
fail; use text-only input mode in that case.
# Install portal support on Ubuntusudo apt-get install -y xdg-desktop-portal xdg-desktop-portal-gtkData directories
Section titled “Data directories”The desktop app, including the Steam build on Steam Deck, keeps its data in
~/.local/share/com.outrightmental.convsim/, or in
$XDG_DATA_HOME/com.outrightmental.convsim/ when XDG_DATA_HOME is set. The
Tauri shell builds that path in shared_data_root()
(apps/desktop/src-tauri/src/lib.rs) and passes it to convsim-core as
CONVSIM_DATA_ROOT. convsim-core run without the shell, as in a source build
started with scripts/dev.sh, uses ~/.local/share/convsim/ (or
$XDG_DATA_HOME/convsim/) instead (convsim_core/paths.py).
Inside it are db/, data/, logs/, models/llm/, packs/, exports/,
cache/ and crashes/; Data locations says
what each holds. Nothing writes to exports/ or cache/ yet: a session export
is a download the UI builds, not a file convsim-core saves. A few files still
live under ~/.convsim/, listed on the same page. convsim-core copies data
from an older ~/.convsim/ only when the data folder is still empty when it
starts, and in the desktop app it never is: the shell creates logs/ there
first. Troubleshooting says how to
bring old sessions across by hand.
Every subdirectory can be redirected via a CONVSIM_* environment variable,
for example CONVSIM_DB_DIR, CONVSIM_DATA_DIR, CONVSIM_LOG_DIR or
CONVSIM_MODELS_DIR, and the shell passes them through. CONVSIM_DATA_ROOT
relocates the whole tree only when convsim-core runs without the shell, because
the shell always sets it.
Port conflicts
Section titled “Port conflicts”The ports are the same as on macOS: convsim-core on 7355, llama-server on
7356, the Vite dev server on 7354 in a source build only, and a Kokoro server
on 7358 if you run one. All bind to 127.0.0.1, and nothing listens on 7357.
Find and stop conflicting processes:
ss -tlnp | grep -E '7354|7355|7356|7358'# orfuser 7354/tcp 7355/tcpkill <PID>Steam Deck / SteamOS 3.x
Section titled “Steam Deck / SteamOS 3.x”The AppImage runs on SteamOS 3.x (Arch-based, x86-64, glibc 2.37+) without modification. Refer to Linux and SteamOS requirements for the complete Steam Deck installation guide, controller navigation expectations, and verification checklist required for the Steam Deck Verified tier.
Signing credentials
Section titled “Signing credentials”This repository holds no signing or store credential. Release builds are signed in the studio’s publishing pipeline, which keeps the Apple and Windows credentials, and the procedures for rotating them, with its own runbooks.
A build made from source without credentials is unsigned: the macOS bundle
carries no Developer ID signature unless the APPLE_* variables above are set,
and scripts/jsign-sign.ps1 skips Windows signing when it finds no
credentials.
Cross-platform differences summary
Section titled “Cross-platform differences summary”| Feature | macOS | Windows | Linux |
|---|---|---|---|
| Installer format | .dmg | .exe (NSIS), .msi | .AppImage, .deb |
| Code signing | Apple Developer ID | EV or OV certificate | Not required |
| Runtime warning | Gatekeeper dialog | SmartScreen dialog | None |
| WebView engine | WKWebView (Safari) | WebView2 (Chromium) | WebKitGTK |
| Microphone prompt | System Settings | Windows Security | xdg-desktop-portal |
| Data directory (desktop app) | ~/Library/Application Support/com.outrightmental.convsim/ | %LOCALAPPDATA%\com.outrightmental.convsim\ | ~/.local/share/com.outrightmental.convsim/ (under $XDG_DATA_HOME if set) |
| Data directory (convsim-core without the shell) | same as the desktop app | %LOCALAPPDATA%\outrightmental\convsim\ | ~/.local/share/convsim/ (under $XDG_DATA_HOME if set) |
| Dev script | ./scripts/dev.sh | .\scripts\dev.ps1 | ./scripts/dev.sh |
| First-run check | ./scripts/first-run-check.sh | .\scripts\first-run-check.ps1 | ./scripts/first-run-check.sh |
WebKit differences
Section titled “WebKit differences”The WebView engine varies by platform, which can surface subtle rendering and API differences:
- macOS (WKWebView): uses the Safari rendering engine. Ensure Web Audio API
and
getUserMediabehave as expected in Safari. - Windows (WebView2 / Chromium-based): closest to Chrome. Most modern Web APIs work without polyfills.
- Linux (WebKitGTK): an older Chromium-adjacent engine; some newer Web APIs may be unavailable. Test voice input on real hardware.
llama.cpp binary
Section titled “llama.cpp binary”The runtimes/llama_cpp/download-runtime.sh script downloads a pre-built
llama-server binary for the current platform. Release builds bundle a
native Windows x64 binary — no WSL2 or manual build step is needed for
end-user installs.
For contributor builds on Windows, run the PowerShell equivalent:
.\runtimes\llama_cpp\download-runtime.ps1See runtimes/llama_cpp/README.md for more
details.