Download
Everything on this page in one folder: twelve sim launchers, the script they share, two VR helpers and the README.
These are plain text files. They install nothing, and the only setting they change is the active OpenXR runtime, which Set_XR_Runtime.ps1 changes back. Windows 10 / 11 only. All generated scripts are presented in plain text on this page for easy copy + paste.
Starting points, not guarantees. They were written for one rig and then made general. Every setup is different, so expect to fix a path or two. The launcher tells you what it could not find.
Quick start
- Before unzipping, right-click the .zip → Properties → tick Unblock → OK. This stops Windows warning about each script.
- Unzip the folder anywhere, for example
Documents\RaceVisor-Launchers. Keep all the files together. - Optional: if you use RaceVisor, put
RaceVisor.exein the same folder or set its path in the next step. The launchers work without it — it is simply skipped. - Open
Start_Sim.ps1in Notepad and look at the block marked CONFIGURE HERE. Remove the apps you do not use and add your own wheel software. - Double-click the
.batfor your sim. - Read what it prints. Each line starts with a tag:
| Tag | Meaning |
|---|---|
[run ] | Started it. |
[skip] | Already running, or not installed. |
[ ok ] | Already the way it needs to be. |
[warn] | Did not do something on purpose. The line says why. |
[MISS] | Something it needs was not found. The line says what and where it looked. |
What the launcher does
Nothing on this list is required. You do not need RaceVisor, a kneeboard or OBS to use the launchers: whatever is not installed is skipped, and the generator lets you untick it.
The order is the whole point. Each step exists because starting things the other way round breaks something:
| Step | What | Why it goes here |
|---|---|---|
| 1 | OpenXR runtime, and SteamVR if the runtime points at it | With SteamVR selected but not running, the sim sits at “loading” forever with no error. |
| 2 | Wheel software | Started after the sim, the wheel comes up with default rotation and force feedback. |
| 3 | OpenKneeboard | The sim only picks up the kneeboard layer if it is already there. |
| 4 | RaceVisor | Started after a fullscreen sim, the overlay can knock the sim out of its display mode. |
| 5 | The sim | Steam games go through Steam, so Steam starts itself if it is closed. |
| 6 | OBS, last | Started before the sim is rendering, the capture latches a tiny placeholder and records a blurry picture. |
Script generator
Pick what you have: twelve sims, every common headset route, seven wheel brands and the usual helper apps. The page writes a single self-contained launcher for that combination, with the advice that applies to it. Everything runs in your browser — nothing you type is sent anywhere. The site only counts which menu choices and download buttons get used, so we know which sims and hardware to support next.
For this setup
Download both and keep them in the same folder, or skip the downloads: both scripts are printed below with a Copy button. Paste each into Notepad and save it under the name shown. Double-click the .bat to run; it calls the .ps1.
The scripts
Each script is printed here exactly as it is in the download. Flags go after the file name, in a shortcut's Target box or at a command prompt.
| File | What it is |
|---|---|
iRacing - 3 Your settings (from Start_Sim.ps1).bat | Double-click launcher for iRacing. |
Assetto Corsa - 3 Your settings (from Start_Sim.ps1).bat | Double-click launcher for Assetto Corsa. |
ACC - 3 Your settings (from Start_Sim.ps1).bat | Double-click launcher for Assetto Corsa Competizione. |
AMS2 - 3 Your settings (from Start_Sim.ps1).bat | Double-click launcher for Automobilista 2. |
rFactor 2 - 3 Your settings (from Start_Sim.ps1).bat | Double-click launcher for rFactor 2. |
Le Mans Ultimate - 3 Your settings (from Start_Sim.ps1).bat | Double-click launcher for Le Mans Ultimate. |
RaceRoom - 3 Your settings (from Start_Sim.ps1).bat | Double-click launcher for RaceRoom Racing Experience. |
Project CARS 2 - 3 Your settings (from Start_Sim.ps1).bat | Double-click launcher for Project CARS 2. |
EA WRC - 3 Your settings (from Start_Sim.ps1).bat | Double-click launcher for EA Sports WRC. |
DiRT Rally 2 - 3 Your settings (from Start_Sim.ps1).bat | Double-click launcher for DiRT Rally 2.0. |
F1 25 - 3 Your settings (from Start_Sim.ps1).bat | Double-click launcher for F1 25. |
Forza Motorsport - 3 Your settings (from Start_Sim.ps1).bat | Double-click launcher for Forza Motorsport. |
BeamNG - 3 Your settings (from Start_Sim.ps1).bat | Double-click launcher for BeamNG.drive. |
<sim> - 1 Race (fastest, no recording).bat | Thirteen more, one per sim: the same launcher with -NoFilm. Race: the OpenXR runtime is left alone and OBS is not started. One compositor between the sim and the headset, the fastest path. |
<sim> - 2 Record (Meta only, kneeboard not in video).bat | Thirteen more, Quest only: the same launcher with -FilmMeta. Film without SteamVR: sets the Meta runtime, starts OculusMirror (the headset view in a window) and OBS last. Add a Window Capture of "Oculus Mirror" to your OBS scene once. Race speed, and the capture is exactly what the headset shows. |
Start_Sim.ps1 | The script that does the work. The .bat files call it. |
Set_XR_Runtime.ps1 | Shows or changes the active OpenXR runtime. |
Stop_SteamVR.bat / .ps1 | Stops SteamVR and goes back to the Meta runtime. |
README.txt | The instructions on this page, as a text file. |
Race or film: three launchers per sim
Racing and filming want different setups, and the difference is speed. Filming through SteamVR puts a second compositor between the sim and the headset and a second copy of every frame, because that is the only place OBS can see the OpenKneeboard kneeboard. So each sim gets three launchers: <sim> - 3 Your settings (from Start_Sim.ps1).bat as you configured it, <sim> - 1 Race (fastest, no recording).bat for plain racing with the runtime left alone and no OBS, and <sim> - 2 Record (Meta only, kneeboard not in video).bat for Quest owners who want to film at race speed: the Meta runtime, Meta's own OculusMirror window, and OBS capturing that window. Use the SteamVR film route only when the kneeboard has to be in the shot.
Filming at race speed, step by step (Quest):
- Double-click
<sim> - 2 Record (Meta only, kneeboard not in video).bat. It sets the Meta runtime, starts your wheel software, OpenKneeboard and RaceVisor, then the sim. - Get in the car. Once the sim is rendering, a window called Oculus Mirror appears on the monitor with the headset's view, and OBS starts last.
- First time only: in OBS, add a Window Capture source and pick the Oculus Mirror window. It is remembered after that.
- Record. The capture is what the headset shows: RaceVisor's widgets and quad groups yes, the OpenKneeboard kneeboard no (that needs the SteamVR route).
Which VR system each launcher uses: the sim does not pick one; it uses whichever OpenXR runtime Windows has set (Meta, SteamVR or Virtual Desktop). 1 Race uses the runtime as it is set — on a Quest that should be Meta, the fastest path. 2 Record sets Meta and films the headset view; the kneeboard is not in the video. Recording through SteamVR switches the runtime to SteamVR on purpose: SteamVR's mirror is the only window that shows the OpenKneeboard kneeboard, so it is the only way to get the kneeboard into the video, at the cost of a second compositor. If a race on a Quest starts SteamVR, the runtime was left on SteamVR — Stop_SteamVR.bat sets it back to Meta.
To show the difference on video: film a lap with <sim> - 3 Your settings (from Start_Sim.ps1).bat on the SteamVR film route, then the same track and car with <sim> - 2 Record (Meta only, kneeboard not in video).bat, and put the two clips side by side.
<sim> - 3 Your settings (from Start_Sim.ps1).bat — the double-click launchers
Thirteen files that differ by one word: the sim name passed to Start_Sim.ps1. They exist so you can double-click, and so you can pin one per sim. Anything you add after the file name is passed straight through, so every flag in the next section works here too:
"iRacing - 3 Your settings (from Start_Sim.ps1).bat" -NoFilm
To make plain racing the default, edit the .bat and add -NoFilm after -Sim iRacing on both lines. The .bat uses the full path to PowerShell on purpose: when a .bat is double-clicked, powershell is not always found by name, and the window just flashes and closes.
@echo off REM Copyright (c) 2026 the author of RaceVisor (flodeeapp.com). Free for your own use. Do not republish or redistribute - link to the RaceVisor site instead. No warranty. REM RaceVisor session launcher - iRacing REM Double-click to run. Anything you add after the file name is passed straight to REM Start_Sim.ps1, for example: "iRacing - 3 Your settings (from Start_Sim.ps1).bat" -NoFilm REM REM To make "plain race, no filming" the default, add -NoFilm after "-Sim iRacing" on REM both lines below. REM REM Full interpreter paths are used on purpose: "powershell" is not always on PATH when REM a .bat is double-clicked, and then the window just flashes and closes. set "PS7=C:\Program Files\PowerShell\7\pwsh.exe" set "PS5=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" if exist "%PS7%" ( "%PS7%" -NoProfile -ExecutionPolicy Bypass -File "%~dp0Start_Sim.ps1" -Sim iRacing %* ) else if exist "%PS5%" ( "%PS5%" -NoProfile -ExecutionPolicy Bypass -File "%~dp0Start_Sim.ps1" -Sim iRacing %* ) else ( echo Neither PowerShell 7 nor Windows PowerShell found at their standard paths. pause exit /b 1 ) if not "%errorlevel%"=="0" ( echo. echo *** The launcher exited with an error - see above. *** pause )
The other twelve are identical except for the sim name. Download them here:
Le Mans Ultimate is verified on our rig, and it needs no plugin: turn on Settings → Gameplay → Enable Plugins and RaceVisor reads the game's own shared memory. RaceRoom needs nothing at all: its telemetry is always on. The six after it (Project CARS 2 onward) were written from each game's default install and have not been run here yet. If the launcher never sees one of those games running, check the process name in Task Manager → Details and fix it in Start_Sim.ps1.
Start_Sim.ps1 — the launcher itself
Starts everything in order for the sim you name. Things that are already running are left alone, so it is safe to run twice.
| Flag | What it does |
|---|---|
-Sim <name> | Required. One of iRacing, AC, ACC, AMS2, RF2. The .bat files fill this in for you. |
-NoFilm | Plain race. Does not switch the OpenXR runtime to SteamVR and does not start OBS. Most people want this for everyday driving. |
-NoObs | Do the VR and runtime side, but leave OBS alone. |
-Force | Start everything even if it looks like it is already running. |
-FilmMeta | Quest: film on the Meta runtime with no SteamVR. Sets the runtime to Meta, starts OculusMirror after the sim is rendering, then OBS. Your OBS scene needs a Window Capture of "Oculus Mirror" (add it once). |
-FaceSensorOn | Meta Quest: the face sensor is turned OFF by default every session, so the headset never dozes and drops the Link session. Add this flag to leave the sensor working for one session, or set $QuestFaceSensorOff = $false in the script to keep it on every session. Turning it off needs the headset on USB, "Allow USB debugging" accepted once, and adb. A headset restart turns the sensor back on, so start the launcher again after one. -FaceSensorOff is still accepted and is already the default. |
-SimWaitSec <n> | Seconds to wait for the sim to start rendering before giving up on OBS. Default 840 (14 minutes). |
With no flags the launcher is in “film mode”: it switches the OpenXR runtime to SteamVR (one administrator prompt), starts SteamVR, and starts OBS once you are in the car. SteamVR's own mirror is the one that shows the kneeboard overlay, which is why filming uses it.
What to edit, all in the CONFIGURE HERE block at the top:
| Setting | What it is |
|---|---|
$StartRaceVisor | $true or $false. RaceVisor is optional; the launcher works without it. |
$RaceVisorExe | Full path to RaceVisor.exe. Leave as '' to look next to the script and in the usual folders. |
$ObsExe | Full path to obs64.exe. Leave as '' to find it automatically. |
$PreSimApps | The apps started before the sim, in order. One line each: a label, the process name, the path, whether to wait for its window, and how long to let it settle. Delete lines you do not use. |
$iRacingUi | Path to the iRacing launcher. Only change it if iRacing is installed somewhere unusual. |
# Copyright (c) 2026 the author of RaceVisor (flodeeapp.com). Free to use and change for your own racing. Please do not republish or redistribute copies - link to the RaceVisor site, which stays current. Provided as-is, no warranty.
# RaceVisor - launch a whole sim-racing session with one double-click.
#
# Starts your wheel software, OpenKneeboard, RaceVisor, the sim and OBS, in the order that
# actually works. Every one of those is optional: anything you do not have is skipped. One script serves every sim: pick the sim with -Sim.
#
# .\Start_Sim.ps1 -Sim iRacing
# .\Start_Sim.ps1 -Sim AC
# .\Start_Sim.ps1 -Sim ACC
# .\Start_Sim.ps1 -Sim AMS2
# .\Start_Sim.ps1 -Sim RF2
#
# -NoFilm plain race: leave the OpenXR runtime alone and do not start OBS
# -NoObs do the VR/runtime side but leave OBS alone
# -Force relaunch things even if they look like they are already running
# -SimWaitSec N how long to wait for the sim before giving up on OBS (default 840, 14 minutes)
#
# Or just double-click one of the <sim> - 3 Your settings (from Start_Sim.ps1).bat files next to this script.
#
# ORDER MATTERS: wheel software -> OpenKneeboard -> RaceVisor -> the sim -> OBS last.
# - Wheel software first, or the wheel comes up with default rotation / force feedback.
# - OpenKneeboard before the sim, or the sim does not pick up the kneeboard layer.
# - RaceVisor before the sim, so the overlay is already there when the sim goes
# fullscreen. Starting it AFTER can eject a fullscreen sim from its display mode.
# - OBS LAST, and only once the sim is really rendering, or an OpenXR mirror source
# latches a tiny placeholder and the capture is a blurry upscaled mess.
#
# Steam sims are launched through steam://rungameid/<id>, so Steam starts itself if it
# is not running and no clicking around the library is needed.
#
# KEEP THIS FILE ASCII ONLY. Windows PowerShell 5.1 misreads a UTF-8 file that has no
# byte-order mark, and one stray curly quote produces a screen of parse errors.
param(
[Parameter(Mandatory = $true)]
[ValidateSet('iRacing', 'AC', 'ACC', 'AMS2', 'RF2', 'LMU', 'R3E', 'PC2', 'WRC', 'DR2', 'F125', 'Forza', 'BeamNG')]
[string]$Sim,
[switch]$NoObs,
[switch]$NoFilm,
[switch]$Force,
[switch]$FaceSensorOff, # Quest: turn the face sensor off for this session (already the default below)
[switch]$FaceSensorOn, # Quest: leave the face sensor alone this session
[switch]$FilmMeta, # Quest: film on the Meta runtime (OculusMirror + OBS), no SteamVR in the chain
[int]$SimWaitSec = 840
)
# ==============================================================================
# CONFIGURE HERE - everything you are likely to change is in this block.
# Leave a path as '' to let the script look in the usual places.
# ==============================================================================
# Meta Quest only: turn the face (proximity) sensor OFF every time. The Quest sleeps the
# moment the sensor thinks the headset came off - lift it for one second and the Link
# session ends, which on the PC looks like a freeze that only a USB replug fixes. With the
# sensor off the headset stays awake as if always worn. Needs the headset on USB with
# "Allow USB debugging" accepted once in the headset. A headset restart puts it back.
# ON BY DEFAULT. To keep your face sensor working: set this to $false, or add -FaceSensorOn
# to the line in the .bat for one run.
$QuestFaceSensorOff = -not $FaceSensorOn
# adb.exe (Android platform tools) for the face sensor. '' = look in the usual places:
# the Android SDK, SideQuest, or anywhere on PATH.
$AdbExe = ''
# RaceVisor is OPTIONAL. The launcher works without it: set this to $false, or just leave it -
# if RaceVisor.exe is not found it is skipped.
$StartRaceVisor = $true
# RaceVisor.exe. '' = look next to this script, then the usual install folders.
$RaceVisorExe = ''
# OBS Studio (obs64.exe). '' = ask the registry, then the default install folder.
$ObsExe = ''
# Apps to start BEFORE the sim, in this order. Remove the lines you do not use, or add
# your own. An app that is not installed is skipped quietly.
# Label what is printed
# Process process name without .exe (used to tell whether it is already running)
# Exe full path to the program
# NeedsWindow $true = only count it as running once it has a window (tray apps)
# SettleMs how long to wait after starting it, in milliseconds
$PreSimApps = @(
@{ Label = 'Logitech G HUB'; Process = 'lghub'; Exe = 'C:\Program Files\LGHUB\lghub.exe'; NeedsWindow = $true; SettleMs = 6000 },
@{ Label = 'OpenKneeboard'; Process = 'OpenKneeboardApp'; Exe = 'C:\Program Files\OpenKneeboard\bin\OpenKneeboardApp.exe'; NeedsWindow = $false; SettleMs = 2000 }
)
# iRacing has its own launcher instead of a Steam id.
$iRacingUi = 'C:\Program Files (x86)\iRacing\ui\iRacingUI.exe'
# ==============================================================================
# END OF CONFIGURATION
# ==============================================================================
$Filming = (-not $NoFilm) -and (-not $FilmMeta) # -FilmMeta is its own mode: it must NOT take the SteamVR film path
function Find-First([string[]]$candidates) {
foreach ($c in $candidates) { if ($c -and (Test-Path $c)) { return $c } }
return $null
}
$dashExe = Find-First @(
$RaceVisorExe,
(Join-Path $PSScriptRoot 'RaceVisor.exe'),
"$env:LOCALAPPDATA\RaceVisor\RaceVisor.exe",
"$env:ProgramFiles\RaceVisor\RaceVisor.exe",
"$env:USERPROFILE\Downloads\RaceVisor.exe"
)
# OBS installs wherever the user put it, so ask the registry first.
$obsFromReg = $null
try {
$k = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OBS Studio' -ErrorAction Stop
if ($k.InstallLocation) { $obsFromReg = Join-Path $k.InstallLocation 'bin\64bit\obs64.exe' }
} catch { }
$obsPath = Find-First @(
$ObsExe,
$obsFromReg,
"$env:ProgramFiles\obs-studio\bin\64bit\obs64.exe"
)
# Steam can be installed anywhere and can have several libraries. Find them all.
function Get-SteamLibraries {
$root = $null
try { $root = (Get-ItemProperty 'HKCU:\Software\Valve\Steam' -ErrorAction Stop).SteamPath } catch { }
if ($root) { $root = $root -replace '/', '\' }
if (-not $root -or -not (Test-Path $root)) { $root = 'C:\Program Files (x86)\Steam' }
$libs = @($root)
$vdf = Join-Path $root 'steamapps\libraryfolders.vdf'
if (Test-Path $vdf) {
foreach ($l in (Get-Content $vdf | Select-String '"path"')) {
$lib = ($l -replace '.*"path"\s*"', '' -replace '".*', '') -replace '\\\\', '\'
if ($lib -and $libs -notcontains $lib) { $libs += $lib }
}
}
return $libs
}
# Per-sim facts. SimProcess is the process that exists ONLY when you are actually
# driving - that is what OBS waits for, not the launcher or the menu.
$sims = @{
'iRacing' = @{
Title = 'iRacing'
SteamId = $null
Launch = $iRacingUi
SimProcess = 'iRacingSim64DX11'
Notes = @()
}
'AC' = @{
Title = 'Assetto Corsa'
SteamId = '244210'
Launch = $null
SimProcess = 'acs'
Notes = @(
'VR is set in AC''s OWN launcher: Video -> Rendering Mode -> OpenVR. There is no Steam',
' VR dropdown for AC and -vr in Launch Options does nothing.',
'Video settings must NOT be exclusive fullscreen or the overlay cannot draw over it.')
}
'ACC' = @{
Title = 'Assetto Corsa Competizione'
SteamId = '805550'
Launch = $null
SimProcess = 'AC2-Win64-Shipping'
Notes = @('Video settings must NOT be exclusive fullscreen or the overlay cannot draw over it.')
}
'AMS2' = @{
Title = 'Automobilista 2'
SteamId = '1066890'
# steam://rungameid ALWAYS uses the DEFAULT launch config, which passes -novr and
# ignores whatever you picked in Steam's dropdown. This picks the VR entry directly.
SteamVrUrl = 'steam://launch/1066890/vr'
Launch = $null
SimProcess = 'AMS2AVX'
Notes = @(
'Settings -> System -> Shared Memory must be "Project CARS 2". It is OFF by default',
' and with it off RaceVisor cannot tell the game apart from being closed.',
'Options -> Video -> Windowed or Borderless. In exclusive fullscreen the game gets',
' ejected from its display mode and will not restore from the taskbar.')
}
'RF2' = @{
Title = 'rFactor 2'
SteamId = '365960'
Launch = $null
SimProcess = 'rFactor2'
Notes = @(
'Needs the rF2 Shared Memory Map plugin enabled in CustomPluginVariables.JSON',
' (the key is " Enabled" WITH a leading space, and rF2 rewrites that file on exit,',
' so it can only be edited with the game closed).',
'Set it to bordered/windowed and remember to press APPLY.')
}
# ---- Le Mans Ultimate: verified on our rig 2026-10-09 (v1.4200). No plugin file: the game
# ---- has its own shared memory, switched on by Settings -> Gameplay -> Enable Plugins.
'LMU' = @{
Title = 'Le Mans Ultimate'
SteamId = '2399420'
Launch = $null
SimProcess = 'Le Mans Ultimate'
Notes = @(
'No plugin needed: Settings -> Gameplay -> Enable Plugins ON gives RaceVisor live data.',
'VR is a STEAM launch option: pick "Launch Le Mans Ultimate in OpenXR Mode" when Steam asks.',
'Windowed or borderless, not exclusive fullscreen.')
}
# ---- RaceRoom (2026-11-01): built-in shared memory, always on - nothing to switch on.
'R3E' = @{
Title = 'RaceRoom Racing Experience'
SteamId = '211500'
Launch = $null
SimProcess = 'RRRE64'
Notes = @(
'Nothing to enable: RaceRoom publishes its telemetry whenever it runs. RaceVisor reads it on its own.',
'VR is a STEAM launch option: pick "Launch RaceRoom (VR) in OpenXR Mode" when Steam asks (the DXVK entries are for graphics trouble only).',
'Steam starts the RaceRoom launcher first; pick the car and track there, the overlay fills in once you are in the car.',
'Settings, profiles and setups live in Documents\My Games\SimBin\RaceRoom Racing Experience.',
'Options -> Video -> windowed or borderless, not exclusive fullscreen, or the overlay cannot draw over it.')
}
# ---- The six below were added 2026-10-09 from default installs, not yet tested on our rig.
# ---- If the launcher never sees one running, check its process name in Task Manager -> Details.
'PC2' = @{
Title = 'Project CARS 2'
SteamId = '378860'
SteamVrUrl = 'steam://launch/378860/vr'
Launch = $null
SimProcess = 'pCARS2AVX'
Notes = @(
'Options -> System -> Shared Memory must be "Project CARS 2" (same feed as AMS2).',
'Windowed or Borderless, not exclusive fullscreen.')
}
'WRC' = @{
Title = 'EA Sports WRC'
SteamId = '1849250'
Launch = $null
SimProcess = 'wrc'
Notes = @(
'RaceVisor does not read this game yet - the overlay shows demo data.',
'VR is switched on inside the game (Settings -> Graphics -> VR, OpenXR).')
}
'DR2' = @{
Title = 'DiRT Rally 2.0'
SteamId = '690790'
SteamVrUrl = 'steam://launch/690790/vr'
Launch = $null
SimProcess = 'dirtrally2'
Notes = @(
'RaceVisor does not read this game yet - the overlay shows demo data.',
'VR needs the Steam "Launch in VR" option; the launcher picks it when SteamVR is up.')
}
'F125' = @{
Title = 'F1 25'
SteamId = '3059520'
Launch = $null
SimProcess = 'F1_25'
Notes = @(
'RaceVisor does not read this game yet - the overlay shows demo data.',
'VR on PC is switched on in the game''s graphics settings.')
}
'Forza' = @{
Title = 'Forza Motorsport'
SteamId = '2440510'
Launch = $null
SimProcess = 'ForzaMotorsport'
Notes = @(
'No VR. RaceVisor does not read this game yet - the overlay shows demo data.',
'Windowed or Borderless, not exclusive fullscreen, or the overlay cannot draw over it.')
}
'BeamNG' = @{
Title = 'BeamNG.drive'
SteamId = '284160'
Launch = $null
SimProcess = 'BeamNG.drive.x64'
Notes = @(
'RaceVisor does not read this game yet - the overlay shows demo data.',
'VR is experimental and is switched on inside the game (Options -> Graphics -> VR).')
}
}
$cfg = $sims[$Sim]
Write-Host ""
Write-Host (" RaceVisor session: {0}" -f $cfg.Title) -ForegroundColor Cyan
Write-Host (" film mode: {0}" -f $(if ($Filming) { "ON (SteamVR runtime + OBS)" } else { "off" })) -ForegroundColor DarkGray
Write-Host ""
function Test-Up([string]$proc, [bool]$needsWindow = $false) {
$p = @(Get-Process $proc -ErrorAction SilentlyContinue)
if ($p.Count -eq 0) { return $false }
if ($needsWindow) { return (@($p | Where-Object { $_.MainWindowHandle -ne 0 }).Count -gt 0) }
return $true
}
function Start-Step([string]$label, [string]$proc, [string]$exe, [bool]$needsWindow = $false, [int]$settleMs = 1500) {
if (-not $Force -and (Test-Up $proc $needsWindow)) {
Write-Host (" [skip] {0} already running" -f $label) -ForegroundColor DarkGray
return
}
if (-not $exe -or -not (Test-Path $exe)) {
Write-Host (" [skip] {0} not installed ({1})" -f $label, $exe) -ForegroundColor DarkGray
return
}
Write-Host (" [run ] {0}" -f $label) -ForegroundColor Green
Start-Process -FilePath $exe -WorkingDirectory (Split-Path $exe) | Out-Null
Start-Sleep -Milliseconds $settleMs
}
# ---- 0. Quest face sensor OFF (optional, see CONFIGURE HERE) ----
if ($QuestFaceSensorOff -or $FaceSensorOff) {
$adb = Find-First @(
$AdbExe,
"$env:LOCALAPPDATA\Android\Sdk\platform-tools\adb.exe",
"$env:ProgramFiles\Android\platform-tools\adb.exe",
"$env:APPDATA\SideQuest\platform-tools\adb.exe",
(Get-Command adb -ErrorAction SilentlyContinue).Source
)
if (-not $adb) {
Write-Host " [MISS] adb.exe not found - cannot turn the Quest face sensor off (set `$AdbExe at the top)" -ForegroundColor Yellow
} else {
$ok = $false; $r = ''
for ($try = 0; $try -lt 3 -and -not $ok; $try++) {
# aim at the Quest by model from 'devices -l' (no getprop shell command on the headset)
$quest = & $adb devices -l | Where-Object { $_ -match '\sdevice\s.*model:Quest' } | ForEach-Object { ($_ -split '\s+')[0] } | Select-Object -First 1
$r = if ($quest) { (& $adb -s $quest shell am broadcast -a com.oculus.vrpowermanager.prox_close 2>&1 | Out-String) } else { "no Quest among the adb devices" }
if ($r -match 'result=0') { $ok = $true } else { Start-Sleep -Seconds 2 }
}
# the face sensor is off now; close the Android connection so nothing stays open beside Link (2026-10-25)
& $adb kill-server 2>$null | Out-Null
if ($ok) { Write-Host " [run ] Quest face sensor OFF - the headset stays awake until it is restarted" -ForegroundColor Green; Write-Host " (to keep the face sensor on: add -FaceSensorOn to the launcher line)" -ForegroundColor DarkGray }
else {
Write-Host (" [warn] Quest face sensor not switched: {0}" -f $r.Trim()) -ForegroundColor Yellow
Write-Host " Headset on USB? 'Allow USB debugging' accepted in the headset?" -ForegroundColor DarkGray
}
}
}
# ---- 0b. Three ways to run ------------------------------------------------------------
# plain as configured above: $Runtime, $StartObs
# -NoFilm RACE: runtime left alone, no OBS. One compositor, the fastest path.
# -FilmMeta FILM on a Quest WITHOUT SteamVR: runtime set to Meta, OculusMirror shows the
# headset view on the monitor, OBS captures that window (add a Window Capture
# of "Oculus Mirror" to your OBS scene once). Race speed, and the capture is
# exactly what the headset shows. Film through SteamVR instead when you need
# the OpenKneeboard kneeboard in the shot - it only appears in SteamVR's mirror.
#
# The Meta modes switch the runtime FIRST and close SteamVR if it was left running. SteamVR
# beside the Meta runtime keeps drawing its own home scene and compositor, which can take half
# the GPU: the sim then delivers 10-17 frames a second into a 90 Hz headset while the headset's
# own compositor still reports 90.
if ($FilmMeta) {
Write-Host " [mode] film on Meta: OculusMirror + OBS, no SteamVR" -ForegroundColor Cyan
$xr0 = Join-Path $PSScriptRoot 'Set_XR_Runtime.ps1'
$rt0 = (Get-ItemProperty 'HKLM:\SOFTWARE\Khronos\OpenXR\1' -ErrorAction SilentlyContinue).ActiveRuntime
if ($rt0 -notlike "*oculus*" -and -not (Test-Up $cfg.SimProcess) -and (Test-Path $xr0)) {
Write-Host " [run ] switching OpenXR runtime to Meta (admin prompt)" -ForegroundColor Cyan
& $xr0 -Meta | Out-Null
}
}
$rtNow = (Get-ItemProperty 'HKLM:\SOFTWARE\Khronos\OpenXR\1' -ErrorAction SilentlyContinue).ActiveRuntime
if (($FilmMeta -or $NoFilm) -and $rtNow -like "*oculus*") {
$svr = Get-Process vrmonitor, vrserver, vrcompositor, vrdashboard, vrwebhelper, steamtours -ErrorAction SilentlyContinue
if ($svr -and (Test-Up $cfg.SimProcess)) {
Write-Host " [WARN] SteamVR is running beside the Meta runtime and the sim is already up." -ForegroundColor Yellow
Write-Host " It takes GPU from the sim. Exit the sim, run this again, and it will be closed first." -ForegroundColor Yellow
}
elseif ($svr) {
Write-Host " [stop] SteamVR (not needed on the Meta runtime; it would take GPU from the sim)" -ForegroundColor Green
$svr | Stop-Process -Force -ErrorAction SilentlyContinue
Start-Sleep -Seconds 2
}
}
# ---- 1-VD. Keep Virtual Desktop out of a Link session (2026-11-13) -----------------------
# Virtual Desktop registers its own driver with SteamVR. With it registered, every SteamVR start
# (the record-with-kneeboard route) loads Virtual Desktop beside Quest Link. When Link is the
# connection (the Meta service is running), take that driver out of SteamVR's list first.
# A backup of SteamVR's list is kept next to it.
$vrPaths = Join-Path $env:LOCALAPPDATA 'openvr\openvrpaths.vrpath'
if ((Get-Process OVRServer_x64 -ErrorAction SilentlyContinue) -and (Test-Path $vrPaths)) {
try {
$vp = Get-Content $vrPaths -Raw | ConvertFrom-Json
$vdDrv = @($vp.external_drivers | Where-Object { $_ -match 'Virtual Desktop' })
if ($vdDrv.Count -gt 0) {
Copy-Item $vrPaths "$vrPaths.bak" -Force
$vp.external_drivers = @($vp.external_drivers | Where-Object { $_ -notmatch 'Virtual Desktop' })
$vp | ConvertTo-Json -Depth 5 | Set-Content -Path $vrPaths -Encoding utf8
Write-Host " [fix ] Virtual Desktop driver taken out of SteamVR (Link session; backup: openvrpaths.vrpath.bak)" -ForegroundColor Green
}
} catch { Write-Host " [WARN] could not check SteamVR's driver list: $($_.Exception.Message)" -ForegroundColor Yellow }
}
# ---- 1a. If the OpenXR runtime is SteamVR, SteamVR must actually BE RUNNING ----------
# Selecting the runtime is not enough. With it selected but not running, the sim asks for
# a VR session, nothing answers, and it sits at "loading" with no error at all.
$xrRuntime = (Get-ItemProperty 'HKLM:\SOFTWARE\Khronos\OpenXR\1' -ErrorAction SilentlyContinue).ActiveRuntime
if ($xrRuntime -like "*steam*") {
if (Get-Process vrmonitor -ErrorAction SilentlyContinue) {
Write-Host " [ ok ] SteamVR already running" -ForegroundColor Green
}
else {
$vrStart = $null
foreach ($lib in (Get-SteamLibraries)) {
$c = Join-Path $lib 'steamapps\common\SteamVR\bin\win64\vrstartup.exe'
if (Test-Path $c) { $vrStart = $c; break }
}
if ($vrStart) {
Write-Host " [run ] SteamVR (the OpenXR runtime points at it)" -ForegroundColor Green
Start-Process $vrStart | Out-Null
$dl = (Get-Date).AddSeconds(90)
while ((Get-Date) -lt $dl -and -not (Get-Process vrmonitor -ErrorAction SilentlyContinue)) { Start-Sleep -Seconds 2 }
Start-Sleep -Seconds 5
}
else {
Write-Host " [MISS] runtime is SteamVR but SteamVR was not found - the sim will hang at loading" -ForegroundColor Yellow
}
}
}
# ---- 1b. film mode: switch the runtime TO SteamVR if it is not already ----
# SteamVR's own mirror is the one that shows the kneeboard overlay, so it is the runtime
# to film with. Skip this whole step with -NoFilm.
if ($Filming) {
$xr = Join-Path $PSScriptRoot 'Set_XR_Runtime.ps1'
if (Test-Path $xr) {
$rt = (Get-ItemProperty 'HKLM:\SOFTWARE\Khronos\OpenXR\1' -ErrorAction SilentlyContinue).ActiveRuntime
if ($rt -like "*steam*") {
Write-Host " [ ok ] OpenXR runtime already SteamVR" -ForegroundColor Green
}
elseif (Test-Up $cfg.SimProcess) {
Write-Host " [warn] sim is already running - not switching the runtime under it" -ForegroundColor Yellow
}
else {
Write-Host " [run ] switching OpenXR runtime to SteamVR (admin prompt)" -ForegroundColor Cyan
& $xr -Steam | Out-Null
}
}
else {
Write-Host " [MISS] Set_XR_Runtime.ps1 not found next to this script" -ForegroundColor Yellow
}
}
# ---- 1b. Ollama, when the AI chat uses it (RaceVisor AI settings > Ollama on this PC) ----
# RaceVisor starts it too, on its own; here it comes up early so the first question is not slow.
try {
$aiCfg = Join-Path ([Environment]::GetFolderPath('MyDocuments')) 'RaceVisor\ai_settings.json'
if (Test-Path $aiCfg) {
$ai = Get-Content $aiCfg -Raw | ConvertFrom-Json
if ($ai.Enabled -and "$($ai.Service)" -match 'Ollama' -and "$($ai.Endpoint)" -match 'localhost|127\.0\.0\.1') {
$ollamaUp = $false
try { $tcp = New-Object Net.Sockets.TcpClient; $ar = $tcp.BeginConnect('127.0.0.1', 11434, $null, $null); $ollamaUp = $ar.AsyncWaitHandle.WaitOne(400) -and $tcp.Connected; $tcp.Close() } catch { }
if ($ollamaUp) { Write-Host " [skip] Ollama already running" -ForegroundColor DarkGray }
else {
$ollamaExe = Find-First @("$env:LOCALAPPDATA\Programs\Ollama\ollama app.exe", "$env:ProgramFiles\Ollama\ollama app.exe", "$env:LOCALAPPDATA\Programs\Ollama\ollama.exe", "$env:ProgramFiles\Ollama\ollama.exe")
if ($ollamaExe -and $ollamaExe -like '*ollama app.exe') { Write-Host " [run ] Ollama (AI chat model on this PC)" -ForegroundColor Green; Start-Process -FilePath $ollamaExe -WorkingDirectory (Split-Path $ollamaExe) | Out-Null; Start-Sleep -Milliseconds 1500 }
elseif ($ollamaExe) { Write-Host " [run ] Ollama serve (AI chat model on this PC)" -ForegroundColor Green; Start-Process -FilePath $ollamaExe -ArgumentList 'serve' -WindowStyle Hidden | Out-Null; Start-Sleep -Milliseconds 1500 }
else { Write-Host " [skip] AI chat is set to Ollama but Ollama is not installed (ollama.com)" -ForegroundColor Yellow }
}
}
}
} catch { Write-Host " [warn] Ollama check failed: $($_.Exception.Message)" -ForegroundColor Yellow }
# ---- 2. wheel software, kneeboard, overlay - in this order, all BEFORE the sim ----
foreach ($a in $PreSimApps) {
Start-Step $a.Label $a.Process $a.Exe ([bool]$a.NeedsWindow) ([int]$a.SettleMs)
}
if (-not $StartRaceVisor) { }
elseif ($dashExe) {
$dashProc = [System.IO.Path]::GetFileNameWithoutExtension($dashExe)
Start-Step "RaceVisor" $dashProc $dashExe $false 2500
}
else { Write-Host " [skip] RaceVisor not found (optional - set `$RaceVisorExe at the top of this script to use it)" -ForegroundColor DarkGray }
# ---- 3. the sim ----
if (Test-Up $cfg.SimProcess) {
Write-Host (" [skip] {0} already running" -f $cfg.Title) -ForegroundColor DarkGray
}
elseif ($cfg.SteamId) {
# Prefer the sim's VR launch config when it has one and a headset runtime is live.
if ($cfg.SteamVrUrl -and (Get-Process vrmonitor -ErrorAction SilentlyContinue)) {
Write-Host (" [run ] {0} via Steam - VR launch config" -f $cfg.Title) -ForegroundColor Green
Start-Process $cfg.SteamVrUrl
}
else {
Write-Host (" [run ] {0} via Steam (appid {1})" -f $cfg.Title, $cfg.SteamId) -ForegroundColor Green
Start-Process ("steam://rungameid/{0}" -f $cfg.SteamId)
}
}
elseif ($cfg.Launch -and (Test-Path $cfg.Launch)) {
Write-Host (" [run ] {0}" -f $cfg.Title) -ForegroundColor Green
Start-Process -FilePath $cfg.Launch | Out-Null
}
else {
Write-Host (" [MISS] {0}: launcher not found" -f $cfg.Title) -ForegroundColor Yellow
}
# ---- 4. per-sim reminders, printed while you wait rather than buried in a doc ----
if ($cfg.Notes.Count -gt 0) {
Write-Host ""
Write-Host (" Before you drive - {0}:" -f $cfg.Title) -ForegroundColor Cyan
foreach ($n in $cfg.Notes) { Write-Host (" " + $n) -ForegroundColor Gray }
}
# ---- 5. OBS last, and only once the sim is actually rendering ----
if (($Filming -or $FilmMeta) -and -not $NoObs) {
Write-Host ""
Write-Host (" Waiting for {0} to start rendering, then launching OBS..." -f $cfg.SimProcess) -ForegroundColor Cyan
Write-Host " (get into the car; Ctrl+C if you change your mind)" -ForegroundColor DarkGray
$deadline = (Get-Date).AddSeconds($SimWaitSec)
while ((Get-Date) -lt $deadline -and -not (Test-Up $cfg.SimProcess)) { Start-Sleep -Seconds 2 }
if (Test-Up $cfg.SimProcess) {
Start-Sleep -Seconds 8 # let the eye textures reach full resolution before OBS latches
if ($FilmMeta) {
$mirror = Find-First @("$env:ProgramFiles\Meta Horizon\Support\oculus-diagnostics\OculusMirror.exe", "$env:ProgramFiles\Oculus\Support\oculus-diagnostics\OculusMirror.exe")
if (-not $Force -and (Get-Process OculusMirror -ErrorAction SilentlyContinue)) { Write-Host " [skip] OculusMirror already running" -ForegroundColor DarkGray }
elseif ($mirror) {
Write-Host " [run ] OculusMirror (headset view on the monitor, for OBS to capture)" -ForegroundColor Green
Start-Process -FilePath $mirror -ArgumentList '--RightEyeOnly --Size 1920 1080' | Out-Null
Start-Sleep -Seconds 4
}
else { Write-Host " [MISS] OculusMirror.exe not found (it ships with the Meta Horizon PC app) - OBS will have nothing to capture" -ForegroundColor Yellow }
}
if (-not $Force -and (Test-Up "obs64")) {
Write-Host " [skip] OBS already running" -ForegroundColor DarkGray
}
elseif ($obsPath) {
Write-Host " [run ] OBS Studio" -ForegroundColor Green
Start-Process -FilePath $obsPath -WorkingDirectory (Split-Path $obsPath) | Out-Null
}
else {
Write-Host " [skip] OBS Studio not found - no capture" -ForegroundColor DarkGray
}
}
else {
Write-Host " Gave up waiting for the sim - OBS not started." -ForegroundColor Yellow
}
}
Write-Host ""
Write-Host " Done." -ForegroundColor Green
Start-Sleep -Seconds 4
Set_XR_Runtime.ps1 — which OpenXR runtime is active
Only one OpenXR runtime can be active at a time, and it has to match how the headset is connected. If it does not, the sim opens flat on the monitor with no error. This shows the current one or switches it.
| Flag | What it does |
|---|---|
| (none) | Shows which runtime is active. Changes nothing. |
-Meta | Meta Quest over the Link cable or Air Link. |
-VD | Virtual Desktop (wireless). |
-Steam | SteamVR. |
Use one flag only. It asks for administrator permission, because the setting is system-wide, and it refuses to switch while a sim is running. To run it, open PowerShell in the folder:
powershell -NoProfile -ExecutionPolicy Bypass -File .\Set_XR_Runtime.ps1 -Meta
-ExecutionPolicy Bypass applies to that one run only. It does not change your system.
# Copyright (c) 2026 the author of RaceVisor (flodeeapp.com). Free to use and change for your own racing. Please do not republish or redistribute copies - link to the RaceVisor site, which stays current. Provided as-is, no warranty.
# Show or change the active OpenXR runtime: Meta (Link cable / Air Link), Virtual Desktop
# (VDXR) or SteamVR.
#
# Only ONE OpenXR runtime can be active at a time, and it must match how the headset is
# actually connected. Get it wrong and the sim launches flat on the monitor with no error -
# OpenXR simply has no headset to give it. Virtual Desktop Streamer rewrites this value when
# it runs, so it can silently break cable Link; run this with -Meta to take it back.
#
# .\Set_XR_Runtime.ps1 just show which runtime is active now
# .\Set_XR_Runtime.ps1 -Meta Meta Quest over the Link cable or Air Link
# .\Set_XR_Runtime.ps1 -VD Virtual Desktop (wireless)
# .\Set_XR_Runtime.ps1 -Steam SteamVR (Index, Vive, Pimax... or filming with a Quest)
#
# Asks for administrator permission by itself - the setting lives in HKEY_LOCAL_MACHINE.
param([switch]$Meta, [switch]$VD, [switch]$Steam)
$key = 'HKLM:\SOFTWARE\Khronos\OpenXR\1'
function Find-First([string[]]$candidates) {
foreach ($c in $candidates) { if ($c -and (Test-Path -LiteralPath $c)) { return $c } }
return $null
}
# The Meta PC app was renamed; older installs still live under "Oculus".
$metaCandidates = @(
'C:\Program Files\Meta Horizon\Support\oculus-runtime\oculus_openxr_64.json',
'C:\Program Files\Oculus\Support\oculus-runtime\oculus_openxr_64.json'
)
$metaRt = Find-First $metaCandidates
if (-not $metaRt) { $metaRt = $metaCandidates[0] }
$vdRt = 'C:\Program Files\Virtual Desktop Streamer\OpenXR\virtualdesktop-openxr.json'
# SteamVR can sit in any Steam library, so it is located rather than assumed.
function Find-SteamVRRuntime {
$root = $null
try { $root = (Get-ItemProperty 'HKCU:\Software\Valve\Steam' -ErrorAction Stop).SteamPath } catch { }
if ($root) { $root = $root -replace '/', '\' }
if (-not $root -or -not (Test-Path $root)) { $root = 'C:\Program Files (x86)\Steam' }
$paths = @($root)
$vdf = Join-Path $root 'steamapps\libraryfolders.vdf'
if (Test-Path $vdf) {
foreach ($line in (Get-Content $vdf | Select-String '"path"')) {
$lib = ($line -replace '.*"path"\s*"', '' -replace '".*', '') -replace '\\\\', '\'
if ($lib -and $paths -notcontains $lib) { $paths += $lib }
}
}
foreach ($lib in $paths) {
$j = Join-Path $lib 'steamapps\common\SteamVR\steamxr_win64.json'
if (Test-Path -LiteralPath $j) { return $j }
}
return (Join-Path $root 'steamapps\common\SteamVR\steamxr_win64.json')
}
$steamRt = Find-SteamVRRuntime
function Show-Current {
$cur = (Get-ItemProperty $key -ErrorAction SilentlyContinue).ActiveRuntime
$name = if ($cur -eq $metaRt) { 'META (Link cable / Air Link)' }
elseif ($cur -eq $vdRt) { 'VDXR (Virtual Desktop, wireless)' }
elseif ($cur -eq $steamRt) { 'STEAMVR (needs Steam + SteamVR running)' }
else { 'UNKNOWN' }
Write-Host "Active OpenXR runtime: $name" -ForegroundColor Cyan
Write-Host " $cur" -ForegroundColor DarkGray
}
$picked = @($Meta, $VD, $Steam) | Where-Object { $_ }
if ($picked.Count -gt 1) { Write-Host "Pick one: -Meta, -VD or -Steam." -ForegroundColor Red; exit 1 }
if ($picked.Count -eq 0) { Show-Current; Start-Sleep -Seconds 4; exit 0 }
$target = if ($Meta) { $metaRt } elseif ($Steam) { $steamRt } else { $vdRt }
if (-not (Test-Path -LiteralPath $target)) {
Write-Host "That runtime is not installed:" -ForegroundColor Red
Write-Host " $target" -ForegroundColor Red
Start-Sleep -Seconds 4; exit 1
}
# Changing runtimes under a live VR app leaves it in a broken half-state.
$simProcs = 'iRacingSim64DX11|acs|AC2-Win64-Shipping|AMS2AVX|rFactor2'
$busy = Get-Process -ErrorAction SilentlyContinue | Where-Object { $_.ProcessName -match "^($simProcs)$" }
if ($busy) {
Write-Host "Close these first - switching runtimes mid-session breaks them:" -ForegroundColor Yellow
$busy | ForEach-Object { Write-Host " - $($_.ProcessName)" -ForegroundColor Yellow }
Start-Sleep -Seconds 4; exit 1
}
$s = "Set-ItemProperty -Path '$key' -Name ActiveRuntime -Value '$target'"
Start-Process powershell.exe -Verb RunAs -Wait -ArgumentList '-NoProfile','-ExecutionPolicy','Bypass','-Command',$s
Start-Sleep -Milliseconds 500
Show-Current
if ($VD) { Write-Host "Remember: this only works through the Virtual Desktop app, not the cable." -ForegroundColor Gray }
elseif ($Steam) {
Write-Host ""
Write-Host "Steam AND SteamVR must be running before you start the sim." -ForegroundColor Gray
Write-Host "Capture: SteamVR menu -> Display VR View, then OBS Window Capture on that window." -ForegroundColor Gray
Write-Host "Put it back when you are done: .\Set_XR_Runtime.ps1 -Meta" -ForegroundColor Yellow
}
else { Write-Host "Note: starting Virtual Desktop Streamer will take this back - re-run with -Meta if it does." -ForegroundColor Gray }
Start-Sleep -Seconds 3
Stop_SteamVR.bat and Stop_SteamVR.ps1
SteamVR uses around 1.5 GB of memory while idle. If you only start it to film, this closes it in the right order and sets the OpenXR runtime back to Meta so the Link cable works again. Double-click the .bat, or add a flag after it.
| Flag | What it does |
|---|---|
| (none) | Stops SteamVR and sets the OpenXR runtime back to Meta. |
-CloseSteam | Also closes the Steam client. |
-KeepRuntime | Stops SteamVR but leaves the OpenXR runtime alone. Use this if SteamVR is your normal runtime (Index, Vive, Pimax and so on). |
@echo off REM Copyright (c) 2026 the author of RaceVisor (flodeeapp.com). Free for your own use. Do not republish or redistribute - link to the RaceVisor site instead. No warranty. REM Double-click: stop SteamVR and put the OpenXR runtime back to Meta. REM Flags are passed through, for example: Stop_SteamVR.bat -CloseSteam set "PS7=C:\Program Files\PowerShell\7\pwsh.exe" set "PS5=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" if exist "%PS7%" ( "%PS7%" -NoProfile -ExecutionPolicy Bypass -File "%~dp0Stop_SteamVR.ps1" %* ) else if exist "%PS5%" ( "%PS5%" -NoProfile -ExecutionPolicy Bypass -File "%~dp0Stop_SteamVR.ps1" %* ) else ( echo Neither PowerShell 7 nor Windows PowerShell found at their standard paths. pause exit /b 1 )
# Copyright (c) 2026 the author of RaceVisor (flodeeapp.com). Free to use and change for your own racing. Please do not republish or redistribute copies - link to the RaceVisor site, which stays current. Provided as-is, no warranty.
# Stop_SteamVR.ps1 - shut SteamVR down and put the OpenXR runtime back to Meta.
#
# SteamVR is heavy: an idle session is around 1.5 GB across vrserver, vrcompositor,
# vrmonitor, vrdashboard and several vrwebhelper processes. If you only use it to film,
# this gets rid of it in the right order and makes the Link cable work again.
#
# .\Stop_SteamVR.ps1 stop SteamVR, restore the Meta runtime
# .\Stop_SteamVR.ps1 -CloseSteam also close the Steam client
# .\Stop_SteamVR.ps1 -KeepRuntime stop SteamVR but leave the OpenXR runtime alone
# (use this if SteamVR IS your normal runtime)
param(
[switch]$CloseSteam,
[switch]$KeepRuntime
)
Write-Host ""
Write-Host "Shutting SteamVR down..." -ForegroundColor Cyan
# Refuse while a sim is live - pulling the runtime out from under a running sim leaves
# it in a broken half-state rather than closing cleanly.
$simProcs = 'iRacingSim64DX11|acs|AC2-Win64-Shipping|AMS2AVX|rFactor2'
$busy = Get-Process -ErrorAction SilentlyContinue | Where-Object { $_.ProcessName -match "^($simProcs)$" }
if ($busy) {
Write-Host "Close these first:" -ForegroundColor Yellow
$busy | ForEach-Object { Write-Host " - $($_.ProcessName)" -ForegroundColor Yellow }
Start-Sleep -Seconds 4
exit 1
}
$before = @(Get-Process -ErrorAction SilentlyContinue |
Where-Object { $_.ProcessName -match 'vrserver|vrcompositor|vrmonitor|vrdashboard|vrwebhelper|steamtours' })
$mb = [int](($before | Measure-Object WorkingSet64 -Sum).Sum / 1MB)
Write-Host (" $($before.Count) SteamVR process(es) using about $mb MB") -ForegroundColor Gray
# vrmonitor first - it is the supervisor, so the rest are not restarted behind our back.
foreach ($name in @('vrmonitor', 'vrdashboard', 'vrwebhelper', 'vrcompositor', 'vrserver', 'steamtours')) {
$p = Get-Process $name -ErrorAction SilentlyContinue
if ($p) {
$p | Stop-Process -Force -ErrorAction SilentlyContinue
Write-Host " stopped $name" -ForegroundColor DarkGray
}
Start-Sleep -Milliseconds 250
}
Start-Sleep -Seconds 1
$left = @(Get-Process -ErrorAction SilentlyContinue |
Where-Object { $_.ProcessName -match 'vrserver|vrcompositor|vrmonitor|vrdashboard|vrwebhelper' })
if ($left.Count) {
Write-Host " $($left.Count) still running - stopping again..." -ForegroundColor Yellow
$left | Stop-Process -Force -ErrorAction SilentlyContinue
}
# ---- put the OpenXR runtime back ----
if (-not $KeepRuntime) {
$meta = $null
foreach ($c in @(
'C:\Program Files\Meta Horizon\Support\oculus-runtime\oculus_openxr_64.json',
'C:\Program Files\Oculus\Support\oculus-runtime\oculus_openxr_64.json')) {
if (Test-Path -LiteralPath $c) { $meta = $c; break }
}
if ($meta) {
$s = "Set-ItemProperty -Path 'HKLM:\SOFTWARE\Khronos\OpenXR\1' -Name ActiveRuntime -Value '$meta'"
Start-Process powershell.exe -Verb RunAs -Wait -ArgumentList '-NoProfile','-ExecutionPolicy','Bypass','-Command',$s
$now = (Get-ItemProperty 'HKLM:\SOFTWARE\Khronos\OpenXR\1').ActiveRuntime
if ($now -eq $meta) { Write-Host " OpenXR runtime restored to Meta (Link cable)." -ForegroundColor Green }
else { Write-Host " Runtime NOT restored - run .\Set_XR_Runtime.ps1 -Meta" -ForegroundColor Red }
} else {
Write-Host " Meta runtime not found - leaving the OpenXR runtime as it is." -ForegroundColor Yellow
}
} else {
Write-Host " Runtime left as-is (-KeepRuntime)." -ForegroundColor DarkGray
}
if ($CloseSteam) {
$st = Get-Process steam -ErrorAction SilentlyContinue
if ($st) { $st | Stop-Process -Force -ErrorAction SilentlyContinue; Write-Host " Steam closed." -ForegroundColor Green }
}
Write-Host ""
Write-Host "Done." -ForegroundColor Green
Start-Sleep -Seconds 3
Check_Rig.ps1 - is your headset on the right USB port?
Reads your machine and says which Pit Notes apply to it: whether the headset sits on a CPU-direct USB controller or on the chipset one behind a PCIe switch, what shares its hub (a wheel or wireless receivers there is a warning), whether Windows may power that port down, whether USB selective suspend is on, which OpenXR runtime is active, and whether the wheel software is running. It reads only, changes nothing, and nothing leaves your PC. Plug the headset in first. Run it with right-click, Run with PowerShell.
# Copyright (c) 2026 the author of RaceVisor (flodeeapp.com). Free to use and change for your own racing. Please do not republish or redistribute copies - link to the RaceVisor site, which stays current. Provided as-is, no warranty.
# RaceVisor - Check_Rig.ps1
#
# Reads YOUR machine and tells you which Pit Notes apply to it. Nothing leaves the PC and
# nothing is changed: it only reads the USB device tree, the power plan and the OpenXR
# runtime, then prints what it found and what to do. Run it with the headset plugged in.
#
# Right-click -> Run with PowerShell, or: powershell -ExecutionPolicy Bypass -File Check_Rig.ps1
#
# What it checks (each one is a note on the Pit Notes page):
# 1. Is the headset on a CPU-direct USB controller, or on the chipset controller behind
# a PCIe switch, sharing a hub chip with the wheel and the wireless receivers?
# 2. May Windows power down that controller / hub when it thinks they are idle?
# 3. Is USB selective suspend on?
# 4. Which OpenXR runtime is active (Meta, SteamVR, Virtual Desktop)?
# 5. Is the wheel's software (G HUB / Fanatec / Thrustmaster / Moza) running?
#
# ASCII only. Windows 10 / 11.
$ErrorActionPreference = 'SilentlyContinue'
Write-Host ""
Write-Host " RaceVisor rig check - $(Get-Date -Format 'yyyy-MM-dd HH:mm')" -ForegroundColor Cyan
Write-Host " Reads only. Nothing is changed and nothing leaves this PC." -ForegroundColor DarkGray
Write-Host ""
function Parent([string]$id) { (Get-PnpDeviceProperty -InstanceId $id -KeyName 'DEVPKEY_Device_Parent').Data }
# ---- 1. where is the headset on USB? -------------------------------------------------
# Known VR headset USB vendor ids: Meta 2833, Valve 28DE, HTC 0BB4, Pico 2D40, Varjo 2BB0, Pimax 0483/34A4
$hmd = Get-PnpDevice -PresentOnly | Where-Object { $_.InstanceId -match '^USB\\VID_(2833|28DE|0BB4|2D40|2BB0|34A4)&PID_[0-9A-F]{4}\\[^&]+$' } | Select-Object -First 1
if (-not $hmd) {
Write-Host " [ -- ] No VR headset found on USB. Plug it in (Quest: with Link, not sleeping) and run again." -ForegroundColor Yellow
Write-Host " Wireless headsets (Air Link, Virtual Desktop, Steam Link) do not use USB - skip this check." -ForegroundColor DarkGray
} else {
$chain = @(); $id = $hmd.InstanceId; $hubs = 0; $switch = $false; $ctrl = ''
for ($i = 0; $i -lt 10 -and $id; $i++) {
$d = Get-PnpDevice -InstanceId $id; if (-not $d) { break }
$chain += $d.FriendlyName
if ($d.FriendlyName -match 'Hub' -and $d.FriendlyName -notmatch 'Root') { $hubs++ }
if ($d.FriendlyName -match 'Switch Port') { $switch = $true }
if ($d.FriendlyName -match 'Host Controller' -and -not $ctrl) { $ctrl = $d.FriendlyName; $ctrlId = $id }
$id = Parent $id
}
$vendor = @{ '2833' = 'Meta Quest'; '28DE' = 'Valve Index'; '0BB4' = 'HTC Vive'; '2D40' = 'Pico'; '2BB0' = 'Varjo'; '34A4' = 'Pimax' }[([regex]::Match($hmd.InstanceId, 'VID_([0-9A-F]{4})').Groups[1].Value)]
Write-Host " Headset: $vendor ($($hmd.FriendlyName))" -ForegroundColor White
Write-Host " USB path: $($chain -join ' -> ')" -ForegroundColor DarkGray
if ($switch) {
Write-Host " [WARN] The headset is on the CHIPSET USB controller (behind a PCIe switch)." -ForegroundColor Yellow
Write-Host " Those ports share one hub chip with other rear ports. Under load a hub reset drops the headset." -ForegroundColor Yellow
Write-Host " Move the headset cable to a port on a CPU-direct controller. See the Pit Notes." -ForegroundColor Yellow
} else {
Write-Host " [ ok ] The headset is on a CPU-direct USB controller." -ForegroundColor Green
}
# who shares its hub?
$hubId = Parent $hmd.InstanceId
# only real USB devices (not interfaces, not hubs), so this stays quick on a busy PC
$sibs = Get-PnpDevice -PresentOnly | Where-Object { $_.InstanceId -match '^USB\\VID_[0-9A-F]{4}&PID_[0-9A-F]{4}\\[^&]+$' -and $_.InstanceId -ne $hmd.InstanceId -and $_.FriendlyName -notmatch 'Hub' } |
Where-Object { (Parent $_.InstanceId) -eq $hubId } | Select-Object -ExpandProperty FriendlyName -Unique
if ($sibs) { Write-Host " Sharing the same hub: $($sibs -join ', ')" -ForegroundColor DarkGray }
if ($sibs -match 'Wheel|Racing|Fanatec|Thrustmaster|Moza|LIGHTSPEED|Receiver') {
Write-Host " [WARN] A wheel or a wireless receiver shares the headset's hub. Separate them if you can." -ForegroundColor Yellow
}
# ---- 2. may Windows power the controller / hub down? ----
$pm = Get-CimInstance -Namespace root\wmi -ClassName MSPower_DeviceEnable
foreach ($pair in @(@('controller', $ctrlId), @('hub', $hubId))) {
$e = $pm | Where-Object { $_.InstanceName -like "*$($pair[1].Split('\')[-1])*" } | Select-Object -First 1
if ($e -and $e.Enable) { Write-Host " [WARN] Windows may turn off the headset's USB $($pair[0]) to save power. Device Manager -> that device -> Power Management -> untick 'Allow the computer to turn off this device'." -ForegroundColor Yellow }
elseif ($e) { Write-Host " [ ok ] Power-off is disabled for the headset's USB $($pair[0])." -ForegroundColor Green }
}
}
# ---- 3. USB selective suspend ----
$ss = & "$env:SystemRoot\System32\powercfg.exe" /query SCHEME_CURRENT 2a737441-1930-4402-8d77-b2bebba308a3 2>$null | Select-String 'Current AC Power Setting Index' | Select-Object -First 1
if ($ss -and $ss.Line -match '0x00000000') { Write-Host " [ ok ] USB selective suspend is off." -ForegroundColor Green }
elseif ($ss) { Write-Host " [WARN] USB selective suspend is ON. Power Options -> Change plan settings -> Advanced -> USB settings -> Disabled." -ForegroundColor Yellow }
# ---- 4. OpenXR runtime ----
$rt = (Get-ItemProperty 'HKLM:\SOFTWARE\Khronos\OpenXR\1').ActiveRuntime
$rtName = if ($rt -match 'oculus|meta') { 'Meta (Quest Link)' } elseif ($rt -match 'steam') { 'SteamVR' } elseif ($rt -match 'virtualdesktop|VDXR') { 'Virtual Desktop' } elseif ($rt) { $rt } else { 'none set' }
Write-Host " OpenXR runtime: $rtName" -ForegroundColor White
if ($hmd -and $hmd.InstanceId -match 'VID_2833' -and $rt -match 'steam') {
Write-Host " [note] Quest over SteamVR puts Steam's compositor between the sim and the headset. Fine for filming; for racing the Meta runtime is the direct path." -ForegroundColor DarkGray
}
# ---- 5. wheel software ----
$wheelApps = @{ 'lghub' = 'Logitech G HUB'; 'FanatecControlPanel' = 'Fanatec Control Panel'; 'TMPanel' = 'Thrustmaster'; 'MozaPitHouse' = 'Moza Pit House'; 'SimHubWPF' = 'SimHub' }
$seen = @()
foreach ($k in $wheelApps.Keys) { if (Get-Process $k) { $seen += $wheelApps[$k] } }
if ($seen) { Write-Host " [ ok ] Wheel software running: $($seen -join ', ')" -ForegroundColor Green }
else { Write-Host " [note] No wheel software is running. Logitech wheels use default rotation and FFB until G HUB is up - start it before the sim." -ForegroundColor DarkGray }
Write-Host ""
Write-Host " Done. Each [WARN] has a matching entry on the Pit Notes page." -ForegroundColor Cyan
Write-Host ""
if ($Host.Name -eq 'ConsoleHost' -and -not [Console]::IsInputRedirected) { Write-Host " Press any key to close." -ForegroundColor DarkGray; try { $null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown') } catch { } }
Quest_FaceSensorWatch_Install.bat - keep the face sensor off for good
The launcher turns the Quest's face sensor off once, at session start. The setting does not survive a headset restart, and the restart you do to get Link back after a drop turns it on again without telling you; a one-second lift of the headset then ends the Link session. This installs a small logon task, Quest Face Sensor Off, that checks the headset every 10 seconds and turns the sensor off the moment it is on again, with no window. One adb devices call per check, under 1% of one core. Nothing leaves your PC.
- Put the three Quest_FaceSensorWatch files in one folder (they are in the zip).
- Double-click
Quest_FaceSensorWatch_Install.bat. It installs the task and starts it. - To get the sensor back:
Quest_FaceSensorWatch_Install.bat -Remove, then restart the headset.
Needs adb (Android platform tools or SideQuest) and "Allow USB debugging" accepted once on the headset, like the launcher's own face-sensor step. Log: %LOCALAPPDATA%\RaceVisor\quest-face-sensor.log.
@echo off rem Installs the "Quest Face Sensor Off" logon task (Quest_FaceSensorWatch.ps1 next to this file). rem Double-click to install and start. To remove: Quest_FaceSensorWatch_Install.bat -Remove rem Checks the headset every 10 s and turns its face sensor off whenever it comes back on (after rem any headset restart). Needs adb and "Allow USB debugging" accepted once on the headset. set "PS=%ProgramFiles%\PowerShell\7\pwsh.exe" if not exist "%PS%" set "PS=%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" "%PS%" -NoProfile -ExecutionPolicy Bypass -File "%~dp0Quest_FaceSensorWatch_Install.ps1" %* if errorlevel 1 pause
# Installs (or removes) the "Quest Face Sensor Off" logon task: Quest_FaceSensorWatch.ps1 running
# hidden in the background (through conhost --headless, so no terminal window ever opens for it).
# .\Quest_FaceSensorWatch_Install.ps1 # install and start now (checks every 10 s)
# .\Quest_FaceSensorWatch_Install.ps1 -IntervalSeconds 3 # check every 3 s instead
# .\Quest_FaceSensorWatch_Install.ps1 -Remove # stop and remove (the sensor is back after a headset restart)
# Runs as you, not as admin. Nothing leaves your PC.
param([switch]$Remove, [int]$IntervalSeconds = 10)
$name = "Quest Face Sensor Off"
$script = Join-Path $PSScriptRoot "Quest_FaceSensorWatch.ps1"
if ($Remove) {
Stop-ScheduledTask -TaskName $name -ErrorAction SilentlyContinue
Unregister-ScheduledTask -TaskName $name -Confirm:$false -ErrorAction SilentlyContinue
Get-CimInstance Win32_Process | Where-Object { $_.CommandLine -match 'Quest_FaceSensorWatch' } | ForEach-Object { Stop-Process -Id $_.ProcessId -Force -ErrorAction SilentlyContinue }
Write-Host "removed: $name"; exit 0
}
if (-not (Test-Path $script)) { Write-Host "Quest_FaceSensorWatch.ps1 must sit next to this script"; exit 1 }
$pwsh = Join-Path $env:ProgramFiles "PowerShell\7\pwsh.exe"
if (-not (Test-Path $pwsh)) { $pwsh = Join-Path $env:SystemRoot "System32\WindowsPowerShell\v1.0\powershell.exe" }
$conhost = Join-Path $env:SystemRoot "System32\conhost.exe"
$action = New-ScheduledTaskAction -Execute $conhost -Argument ("--headless `"$pwsh`" -NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -File `"$script`" -IntervalSeconds $IntervalSeconds")
$user = "$env:USERDOMAIN\$env:USERNAME"
$trigger = New-ScheduledTaskTrigger -AtLogOn -User $user
$principal = New-ScheduledTaskPrincipal -UserId $user -LogonType Interactive -RunLevel Limited
$settings = New-ScheduledTaskSettingsSet -ExecutionTimeLimit ([TimeSpan]::Zero) -RestartCount 3 -RestartInterval (New-TimeSpan -Minutes 1) -MultipleInstances IgnoreNew -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries
Register-ScheduledTask -TaskName $name -Action $action -Trigger $trigger -Principal $principal -Settings $settings -Force | Out-Null
Start-ScheduledTask -TaskName $name
Write-Host "installed and started: $name (log: $env:LOCALAPPDATA\RaceVisor\quest-face-sensor.log)"
# Quest face sensor watcher: waits for the headset on USB and turns its face (proximity) sensor
# OFF the moment it appears - after a reboot, a power cycle, a re-plug or a wake. The launcher
# turns the sensor off once at session start, but the setting does not survive a headset
# restart, and a one-second lift of a headset with the sensor on ends the Link session. This
# re-applies it each time the headset appears, and then leaves the headset alone.
# 2026-10-24 fix: earlier versions re-sent the command every 5 minutes. That periodic command,
# sent while Link was streaming over the same cable, ended the Link session in the same second
# about half the time. If you installed an older copy, replace this file and re-run the installer.
#
# Runs hidden at logon as the scheduled task "Quest Face Sensor Off" (Quest_FaceSensorWatch_Install.bat).
# .\Quest_FaceSensorWatch.ps1 # run the loop in this window (Ctrl+C stops)
# .\Quest_FaceSensorWatch.ps1 -Once # one pass: turn it off now if the headset is there, then exit
# .\Quest_FaceSensorWatch.ps1 -IntervalSeconds 3 # check more often (default 10)
# Cost: one "adb devices" call per check, about 50 ms of one core - under 1% at 10 s. The headset's
# model is asked once per serial and remembered. To get the sensor back: remove the task, or
# restart the headset (the sensor is on again after any headset restart).
# Needs adb (Android platform tools or SideQuest) and "Allow USB debugging" accepted once on the headset.
# Nothing leaves your PC. Log: %LOCALAPPDATA%\RaceVisor\quest-face-sensor.log
param([switch]$Once, [int]$IntervalSeconds = 10)
$adb = @("$env:LOCALAPPDATA\Android\Sdk\platform-tools\adb.exe",
"$env:APPDATA\SideQuest\platform-tools\adb.exe",
"$env:ProgramFiles\SideQuest\resources\app.asar.unpacked\build\platform-tools\adb.exe") | Where-Object { Test-Path $_ } | Select-Object -First 1
if (-not $adb) { $c = Get-Command adb.exe -ErrorAction SilentlyContinue; if ($c) { $adb = $c.Source } }
if (-not $adb) { Write-Host "adb.exe not found - install Android platform tools or SideQuest, or put adb on PATH"; exit 1 }
$log = Join-Path $env:LOCALAPPDATA "RaceVisor\quest-face-sensor.log"
New-Item -ItemType Directory -Force (Split-Path $log) | Out-Null
function Log($m) { $line = "{0:yyyy-MM-dd HH:mm:ss} {1}" -f (Get-Date), $m; Write-Host $line; Add-Content $log $line }
$models = @{} # serial -> model, asked once per serial
function Quest-Serial {
# USB devices only (no Wi-Fi adb entries), state "device" (not "unauthorized" / "offline")
# "devices -l" carries the model (model:Quest_3), so no adb shell is opened just to identify it
$lines = & $adb devices -l 2>$null | Select-Object -Skip 1
foreach ($l in $lines) {
if ($l -notmatch "^(\S+)\s+device\b" ) { continue }
$s = $matches[1]
if ($s -match '\.|:') { continue } # network adb
if ($l -match 'model:\S*Quest') { return $s }
}
return $null
}
function Sensor-Off($s) {
$r = (& $adb -s $s shell am broadcast -a com.oculus.vrpowermanager.prox_close 2>&1 | Out-String)
if ($r -match 'result=0') { Log "face sensor OFF on $s"; return $true }
Log "face sensor NOT switched on ${s}: $($r.Trim())"; return $false
}
$known = $null; $sentFor = $false
Log ("watcher started" + $(if ($Once) { " (once)" } else { "" }))
while ($true) {
$s = $null
try { $s = Quest-Serial } catch { $s = $null }
if ($s) {
$fresh = ($s -ne $known)
if ($fresh) { Log "headset on USB: $s" }
# once per appearance only; retried on the next check if it did not land
if ($fresh -or -not $sentFor) { $sentFor = Sensor-Off $s }
$known = $s
}
elseif ($known) { Log "headset gone"; $known = $null; $sentFor = $false }
if ($Once) { break }
Start-Sleep -Seconds ([Math]::Max(1, $IntervalSeconds))
}
Quest_Record_Passthrough.bat - film what the headset shows, passthrough included
Nothing on the PC can film passthrough. The room picture is composed inside the headset from its cameras and never reaches the PC, so OBS, the Meta mirror and every PC recorder show it black. The headset's own recorder is the only one that sees it, and it films everything the headset composites: the sim, every overlay and the room. This starts and stops that recorder from the PC over the USB cable and copies the video over when it stops. Holding the Meta button and the trigger starts the same recorder by hand, but SteamVR takes that hold as its recentre while it is running; this never touches the controller.
- Headset on USB, awake, Link up. "Allow USB debugging" accepted once in the headset (the face sensor scripts need the same).
- Double-click
Quest_Record_Passthrough.bat. It says RECORDING. - Drive. Press Enter in its window to stop. The video is copied to
Videos\RaceVisorand the path is printed.
Flags: -Minutes 20 stops by itself after 20 minutes; -WaitFor iRacingSim64DX11 stops when the sim exits; -Stop stops a recording started earlier (or by hand) and copies it; -Width 1920 -Height 1080 -Fps 60 -Mbps 40 is the picture asked for (the defaults here; tested on a Quest 3 it came out 1920x1080 at 60 fps; the headset applies what it can, and the setting lasts until it restarts). If the sim stutters while recording, lower the rate first. The script sends the headset the very command the Meta + trigger hold sends, so it is the same recording. Log: %LOCALAPPDATA%\RaceVisor\quest-record.log. Nothing leaves your PC.
@echo off rem Records what the HEADSET shows - sim, overlays and the passthrough view of the room - with the rem Quest's own recorder, started from the PC over USB (Quest_Record_Passthrough.ps1 next to this file). rem Double-click to start; press Enter in the window to stop; the video lands in Videos\RaceVisor. rem Quest_Record_Passthrough.bat -Minutes 20 stops by itself after 20 minutes rem Quest_Record_Passthrough.bat -WaitFor iRacingSim64DX11 stops when the sim exits rem Quest_Record_Passthrough.bat -Stop stop one started earlier and copy it over rem Needs adb and "Allow USB debugging" accepted once on the headset. Nothing on the PC can film rem passthrough; only the headset's recorder sees it. set "PS=%ProgramFiles%\PowerShell\7\pwsh.exe" if not exist "%PS%" set "PS=%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" "%PS%" -NoProfile -ExecutionPolicy Bypass -File "%~dp0Quest_Record_Passthrough.ps1" %* if errorlevel 1 pause
# Quest passthrough recorder: records what the HEADSET shows - the sim, every overlay and the
# passthrough view of the room - using the headset's own recorder, started and stopped from the
# PC over the USB cable. Nothing on the PC can film passthrough: the room picture is composed
# inside the headset from its cameras and never reaches the PC, so OBS and the Meta mirror show
# it black. The headset's recorder is the only one that sees it. Holding the Meta button and the
# trigger starts the same recorder by hand, but SteamVR takes that hold as its recentre when it
# is running (2026-11-21); this script never touches the controller.
#
# .\Quest_Record_Passthrough.ps1 start recording; press Enter in this window to stop;
# the file is then pulled to Videos\RaceVisor
# .\Quest_Record_Passthrough.ps1 -Minutes 20 stop by itself after 20 minutes (or Enter, whichever first)
# .\Quest_Record_Passthrough.ps1 -WaitFor iRacingSim64DX11 stop when that program exits
# .\Quest_Record_Passthrough.ps1 -Stop stop a recording started earlier (or by hand) and pull it
# .\Quest_Record_Passthrough.ps1 -Width 1920 -Height 1080 -Fps 60 -Mbps 40 picture settings (see below)
#
# Picture: the headset records one eye. Tested 2026-11-21 (Quest 3, Horizon OS v207): 1920x1080
# at 60 fps came out with the defaults below. The settings are asked of the headset before each
# start and it applies what it can; they last until the headset restarts. Recording costs headset
# GPU time, so if the sim stutters while recording, lower -Fps first.
#
# Needs: the headset on USB, "Allow USB debugging" accepted once in the headset, and adb (Android
# platform tools or SideQuest - the same adb the face sensor scripts use). The file is written on
# the headset (Oculus\VideoShots) and copied to the PC when the recording stops; the headset copy
# stays unless -DeleteFromHeadset. Nothing leaves your PC. Log: %LOCALAPPDATA%\RaceVisor\quest-record.log
param(
[int]$Minutes = 0,
[int]$Seconds = 0,
[string]$WaitFor = '',
[switch]$Stop,
[int]$Width = 1920, [int]$Height = 1080, [int]$Fps = 60, [int]$Mbps = 40,
[switch]$KeepPictureDefaults,
[switch]$DeleteFromHeadset,
[string]$OutDir = ''
)
$adb = @("$env:LOCALAPPDATA\Android\Sdk\platform-tools\adb.exe",
"$env:APPDATA\SideQuest\platform-tools\adb.exe",
"$env:ProgramFiles\SideQuest\resources\app.asar.unpacked\build\platform-tools\adb.exe") | Where-Object { Test-Path $_ } | Select-Object -First 1
if (-not $adb) { $c = Get-Command adb.exe -ErrorAction SilentlyContinue; if ($c) { $adb = $c.Source } }
if (-not $adb) { Write-Host "adb.exe not found - install Android platform tools or SideQuest, or put adb on PATH"; exit 1 }
if (-not $OutDir) { $OutDir = Join-Path ([Environment]::GetFolderPath('MyVideos')) 'RaceVisor' }
$log = Join-Path $env:LOCALAPPDATA "RaceVisor\quest-record.log"
New-Item -ItemType Directory -Force (Split-Path $log) | Out-Null
New-Item -ItemType Directory -Force $OutDir | Out-Null
function Log($m) { $line = "{0:yyyy-MM-dd HH:mm:ss} {1}" -f (Get-Date), $m; Write-Host $line; Add-Content $log $line }
function Quest-Serial {
$lines = & $adb devices -l 2>$null | Select-Object -Skip 1
foreach ($l in $lines) {
if ($l -notmatch "^(\S+)\s+device\b") { continue }
$s = $matches[1]
if ($s -match '\.|:') { continue }
if ($l -match 'model:\S*Quest') { return $s }
}
return $null
}
function Sh($s, [string]$cmd) { (& $adb -s $s shell $cmd 2>&1 | Out-String).Trim() }
# the headset's video folder, newest file first: "name<TAB>size<TAB>mtime"
function Headset-Videos($s) {
$raw = Sh $s "ls -t /sdcard/Oculus/VideoShots/*.mp4 2>/dev/null"
if (-not $raw -or $raw -match 'No such file') { return @() }
return @($raw -split "`r?`n" | Where-Object { $_ -match '\.mp4$' })
}
$s = Quest-Serial
if (-not $s) {
$all = (& $adb devices -l 2>&1 | Out-String).Trim()
Log "no Quest on USB. adb sees: $all"
Log "plug the headset in, put it on once so it is awake, accept 'Allow USB debugging' if it asks, then run this again"
exit 2
}
Log "headset on USB: $s"
# the recorder films the headset's display, so the headset must be awake (on a head, or woken).
# Asleep = nothing is composited = the recorder writes nothing. Wake it, then wait a little.
function Headset-Awake($s) { (Sh $s "dumpsys power") -match 'mWakefulness=Awake' }
if (-not $Stop -and -not (Headset-Awake $s)) {
Log "headset is asleep - waking it"
Sh $s "input keyevent KEYCODE_WAKEUP" | Out-Null
for ($i = 0; $i -lt 10 -and -not (Headset-Awake $s); $i++) { Start-Sleep -Seconds 1 }
if (-not (Headset-Awake $s)) { Log "the headset stays asleep: put it on (or wake it with the power button) and run this again"; exit 6 }
Start-Sleep -Seconds 3
}
# The headset's own recorder, told to do exactly what the Meta button + trigger hold does. It is a
# TOGGLE: the same call starts and stops. Found 2026-11-21 on Horizon OS v207 by reading the
# capture app's own action list; the older debug.oculus.enableVideoCapture property does nothing
# on this OS any more, and the service refuses START_RECORDING / START_VIDEO_CAPTURE.
function Toggle-Recording($s) {
$r = Sh $s "am startservice -n com.oculus.metacam/.capture.CaptureService -a START_RECORDING_CONTROLLER_SHORTCUT"
if ($r -match 'Error|not found|denied') { Log "could not reach the headset's recorder: $r"; return $false }
return $true
}
# Is the newest file in the video folder still growing = a recording is running now
function Recording-Running($s) {
$v = Headset-Videos $s; if ($v.Count -eq 0) { return $false }
$a = Sh $s "stat -c %s '$($v[0])'"; Start-Sleep -Milliseconds 1500; $b = Sh $s "stat -c %s '$($v[0])'"
return ($a -ne $b)
}
function Stop-Recording($s) {
# never toggle when nothing is running: that would START one
if (Recording-Running $s) { Toggle-Recording $s | Out-Null; Log "stop sent"; return $true }
Log "no recording is running on the headset"; return $false
}
function Pull-Newest($s, [string[]]$before) {
# wait for the headset to close the file (the size stops changing), then copy it over
$name = $null
for ($i = 0; $i -lt 20 -and -not $name; $i++) {
Start-Sleep -Seconds 1
$now = Headset-Videos $s
$new = @($now | Where-Object { $before -notcontains $_ })
if ($new.Count -gt 0) { $name = $new[0] } elseif ($now.Count -gt 0 -and $before.Count -eq 0) { $name = $now[0] }
}
if (-not $name) { Log "no new recording appeared in the headset's Oculus\VideoShots folder - the recorder did not start (is the headset awake, with Link up?)"; return $null }
$size = -1
for ($i = 0; $i -lt 60; $i++) {
$sz = Sh $s "stat -c %s '$name'"
if ($sz -match '^\d+$' -and [long]$sz -eq $size -and $size -gt 0) { break }
$size = if ($sz -match '^\d+$') { [long]$sz } else { -1 }
Start-Sleep -Seconds 1
}
$leaf = Split-Path $name -Leaf
$dest = Join-Path $OutDir ("quest_passthrough_{0:yyyyMMdd_HHmmss}_{1}" -f (Get-Date), $leaf)
Log ("copying {0} ({1:0.0} MB) to {2}" -f $leaf, ($size / 1MB), $dest)
& $adb -s $s pull $name $dest 2>&1 | Out-Null
if (Test-Path $dest) {
Log "saved: $dest"
if ($DeleteFromHeadset) { Sh $s "rm '$name'" | Out-Null; Log "removed from the headset" }
return $dest
}
Log "copy failed - the file is still on the headset at $name (Meta Quest Link app > Files, or adb pull)"
return $null
}
if ($Stop) {
$v = Headset-Videos $s
$before = @($v | Select-Object -Skip 1) # the newest is the one being recorded
if (Stop-Recording $s) { Pull-Newest $s $before | Out-Null }
exit 0
}
if (Recording-Running $s) { Log "a recording is already running on the headset - run this with -Stop to end it and copy it over"; exit 7 }
if (-not $KeepPictureDefaults) {
Sh $s "setprop debug.oculus.capture.width $Width" | Out-Null
Sh $s "setprop debug.oculus.capture.height $Height" | Out-Null
Sh $s "setprop debug.oculus.capture.fps $Fps" | Out-Null
Sh $s "setprop debug.oculus.capture.bitrate $($Mbps * 1000000)" | Out-Null
Log "picture asked for: ${Width}x${Height} at $Fps fps, $Mbps Mbps (the headset applies what it can)"
}
$before = Headset-Videos $s
if (-not (Toggle-Recording $s)) { exit 3 }
$started = Get-Date
Log "RECORDING on the headset (sim + overlays + passthrough). Press Enter here to stop" + $(if ($Minutes -gt 0) { ", or it stops itself after $Minutes min" } else { "" }) + $(if ($WaitFor) { ", or when $WaitFor exits" } else { "" })
# a quick check that a file really started
Start-Sleep -Seconds 4
$check = @(Headset-Videos $s | Where-Object { $before -notcontains $_ })
if ($check.Count -eq 0) { Log "warning: no new file yet in the headset's video folder - if nothing appears when you stop, the headset was asleep or Link was not up" }
else { Log "file open on the headset: $(Split-Path $check[0] -Leaf)" }
$proc = $null
while ($true) {
# Enter stops it (no console when run from a task or a job: then -Minutes / -WaitFor / -Stop end it)
try { if ([Console]::KeyAvailable) { $k = [Console]::ReadKey($true); if ($k.Key -eq 'Enter') { Log "Enter: stopping"; break } } } catch { }
if ($Minutes -gt 0 -and ((Get-Date) - $started).TotalMinutes -ge $Minutes) { Log "$Minutes minutes: stopping"; break }
if ($Seconds -gt 0 -and ((Get-Date) - $started).TotalSeconds -ge $Seconds) { Log "$Seconds seconds: stopping"; break }
if ($WaitFor) {
$p = Get-Process -Name $WaitFor -ErrorAction SilentlyContinue
if ($p) { $proc = $true } elseif ($proc) { Log "$WaitFor exited: stopping"; break }
}
if (-not (Quest-Serial)) { Log "headset left the USB bus: the recording carries on in the headset; plug it back in and run -Stop"; exit 4 }
Start-Sleep -Milliseconds 500
}
Stop-Recording $s | Out-Null
$f = Pull-Newest $s $before
if ($f) { Write-Host ""; Write-Host " $f" -ForegroundColor Green; Write-Host "" }
exit $(if ($f) { 0 } else { 5 })
README.txt
The same instructions as this page, for reading offline.
RACEVISOR SESSION LAUNCHERS
===========================
One double-click starts everything a sim-racing session needs, in the order that works:
wheel software -> OpenKneeboard -> RaceVisor -> the sim -> OBS (last)
None of those is required. You do not need RaceVisor, a kneeboard or OBS to use the
launchers: whatever is not installed is skipped.
These are plain text scripts. Open any of them in Notepad to see exactly what it does
before you run it. They are starting points: every rig is different, so expect to edit
a path or two. Nothing here installs anything or changes a setting you cannot change back.
Windows 10 / 11 only.
WHAT IS IN THE FOLDER
---------------------
iRacing - 3 Your settings (from Start_Sim.ps1).bat double-click launchers, one per sim
Assetto Corsa - 3 Your settings (from Start_Sim.ps1).bat (Assetto Corsa)
ACC - 3 Your settings (from Start_Sim.ps1).bat (Assetto Corsa Competizione)
AMS2 - 3 Your settings (from Start_Sim.ps1).bat (Automobilista 2)
rFactor 2 - 3 Your settings (from Start_Sim.ps1).bat (rFactor 2)
Le Mans Ultimate - 3 Your settings (from Start_Sim.ps1).bat (Le Mans Ultimate)
RaceRoom - 3 Your settings (from Start_Sim.ps1).bat (RaceRoom Racing Experience - nothing to enable)
Project CARS 2 - 3 Your settings (from Start_Sim.ps1).bat (Project CARS 2)
EA WRC - 3 Your settings (from Start_Sim.ps1).bat (EA Sports WRC)
DiRT Rally 2 - 3 Your settings (from Start_Sim.ps1).bat (DiRT Rally 2.0)
F1 25 - 3 Your settings (from Start_Sim.ps1).bat (F1 25)
Forza Motorsport - 3 Your settings (from Start_Sim.ps1).bat (Forza Motorsport)
BeamNG - 3 Your settings (from Start_Sim.ps1).bat (BeamNG.drive)
Le Mans Ultimate is verified (no plugin: Settings -> Gameplay ->
Enable Plugins ON). The six after it were written from default
installs and not yet run on our rig. If the launcher never sees one
of those games, check its process name in Task Manager -> Details
and fix SimProcess in Start_Sim.ps1.
Start_Sim.ps1 the script that does the work; the .bat files just call it
Set_XR_Runtime.ps1 show or change the active OpenXR runtime (Meta / Virtual Desktop / SteamVR)
Stop_SteamVR.bat double-click: stop SteamVR and go back to the Meta runtime
Stop_SteamVR.ps1 the script behind Stop_SteamVR.bat
Keep all the files together in ONE folder. The .bat files look for the .ps1 files next
to themselves.
QUICK START
-----------
1. Unzip the folder anywhere, for example Documents\RaceVisor-Launchers.
2. (Optional) If you use RaceVisor, put RaceVisor.exe in the same folder or set its path
in step 3. The launchers work without it - it is simply skipped.
3. Open Start_Sim.ps1 in Notepad and look at the block marked CONFIGURE HERE:
$StartRaceVisor $true / $false. RaceVisor is optional.
$RaceVisorExe where RaceVisor.exe is ('' = look in the usual places)
$ObsExe where obs64.exe is ('' = find it automatically)
$PreSimApps the apps started before the sim. Delete the lines you do not
use, add your own wheel software, keep the order.
4. Double-click the .bat for your sim.
5. Read what it prints. Each line starts with one of:
[run ] started it
[skip] already running, or not installed
[ ok ] already the way it needs to be
[warn] did not do something on purpose - the line says why
[MISS] something it needs was not found - the line says what
If Windows shows "Windows protected your PC" the first time, that is SmartScreen
reacting to a downloaded script. Right-click the .zip BEFORE unzipping -> Properties ->
tick Unblock -> OK, then unzip again.
FLAGS AND SWITCHES
------------------
Add these after the .bat name in a shortcut or a command prompt, for example:
"iRacing - 3 Your settings (from Start_Sim.ps1).bat" -NoFilm
<sim> - 3 Your settings (from Start_Sim.ps1).bat / Start_Sim.ps1
-Sim <name> which sim: iRacing, AC, ACC, AMS2 or RF2. The .bat files fill this
in for you. Required when you run Start_Sim.ps1 directly.
-NoFilm plain race. Does NOT switch the OpenXR runtime to SteamVR and does
NOT start OBS. Most people want this for everyday driving.
-NoObs do the VR/runtime side but leave OBS alone.
-Force start everything even if it looks like it is already running.
WHICH VR SYSTEM EACH LAUNCHER USES (2026-10-27)
The sim does not pick a VR system. It uses whichever one Windows has set as the active
OpenXR runtime (Meta, SteamVR or Virtual Desktop).
1 Race uses the runtime as it is set. On a Quest that should be Meta: one
compositor, the fastest path, no SteamVR.
2 Record Quest only. Sets the Meta runtime, films the headset view through
Oculus Mirror. Race speed. The kneeboard is NOT in the video.
Record through SteamVR (3 Your settings with $Runtime = 'steam')
switches the runtime to SteamVR ON PURPOSE: SteamVR's mirror is the only
window that shows the OpenKneeboard kneeboard, so this is the only way to get
the kneeboard into the video. Cost: a second compositor beside Meta, slower.
If a "race" starts SteamVR on a Quest, the runtime has been left on SteamVR (by a SteamVR
recording, or by SteamVR taking it back after an update). Stop_SteamVR.bat sets it back to Meta.
RACE OR FILM (2026-10-11): every sim has three launchers.
<sim> - 3 Your settings (from Start_Sim.ps1).bat as you configured it (runtime and OBS from the top of Start_Sim.ps1)
<sim> - 1 Race (fastest, no recording).bat race: the OpenXR runtime is left as it is set and OBS is not started. One
compositor between the sim and the headset - the fastest path.
<sim> - 2 Record (Meta only, kneeboard not in video).bat Quest only: film WITHOUT SteamVR. Sets the Meta runtime, starts
OculusMirror (the headset view in a window) and OBS last. Add a Window
Capture of "Oculus Mirror" to your OBS scene once. Race speed, and the
capture is exactly what the headset shows.
Filming at race speed, step by step (Quest): 1) double-click <sim> - 2 Record (Meta only, kneeboard not in video).bat.
2) get in the car; when the sim renders, an "Oculus Mirror" window appears with the headset
view and OBS starts last. 3) first time only: in OBS add a Window Capture source and pick
the Oculus Mirror window. 4) record.
To show the difference on video: <sim> - 3 Your settings (from Start_Sim.ps1).bat on the SteamVR route, drive, run Rig
Doctor's 60 s benchmark, copy the scorecard; then <sim> - 2 Record (Meta only, kneeboard not in video).bat, same track and car,
benchmark again; put the two cards side by side.
Film through SteamVR (<sim> - 3 Your settings (from Start_Sim.ps1).bat with $Runtime = 'steam' and $StartObs = $true) only
when the OpenKneeboard kneeboard has to be in the shot: it appears in SteamVR's mirror and
nowhere else, and SteamVR adds a second compositor and a second copy of every frame.
LICENSE: these scripts and the page they come from are copyright (c) 2026 the author of
RaceVisor (flodeeapp.com). Free to use and change for your own racing. Please do not republish
or redistribute copies - link to the RaceVisor site, which stays current. No warranty.
Check_Rig.ps1 (2026-10-10): reads your PC and says which Pit Notes apply - is the headset on
a CPU-direct USB controller or the chipset one, what shares its hub, may Windows power the port
down, is selective suspend on, which OpenXR runtime is active, is the wheel software running.
Reads only, changes nothing, nothing leaves the PC. Plug the headset in, then right-click ->
Run with PowerShell. Pit Notes: racevisor-pit-notes.html on the RaceVisor site.
FACE SENSOR OFF BY DEFAULT (Meta Quest). Every session turns the headset's face
sensor off, so the headset never dozes and drops the Link session when
it shifts or you lift it for a second. Needs the headset on USB,
"Allow USB debugging" accepted once, and adb (Android platform tools or
SideQuest). A headset restart turns the sensor back on, so start the
launcher again after any headset restart - or install the watcher once:
Quest_FaceSensorWatch_Install.bat
Installs a logon task, "Quest Face Sensor Off", that checks the headset
every 10 seconds and turns the sensor off whenever it is on again, with no
window. Keep the three Quest_FaceSensorWatch files in one folder. Remove
with: Quest_FaceSensorWatch_Install.bat -Remove (then restart the headset
to get the sensor back). Log: %LOCALAPPDATA%\RaceVisor\quest-face-sensor.log
Quest_Record_Passthrough.bat (2026-11-21)
Records what the HEADSET shows - the sim, every overlay and the passthrough
view of the room - with the Quest's own recorder, started and stopped from
the PC over USB. Nothing on the PC can film passthrough: the room picture is
made inside the headset and never reaches the PC, so OBS and the Meta mirror
show it black. Double-click to start, press Enter in the window to stop; the
video is copied to Videos\RaceVisor. -Minutes 20 stops by itself; -WaitFor
iRacingSim64DX11 stops when the sim exits; -Stop stops one started earlier
(or by hand) and copies it. -Width/-Height/-Fps/-Mbps ask for the picture
(tested on a Quest 3: 1920x1080 at 60 fps; the headset applies what it can).
RaceVisor itself has the same thing on a wheel button (Hotkeys > TELEMETRY >
Headset video start / stop), the Control Bar and the AI Chat; this script is
for when RaceVisor is not running.
Same adb and USB debugging as the face sensor. It sends the headset the very
command the Meta + trigger hold sends, so the result is the same recording;
the difference is that SteamVR cannot take the hold as its recentre.
-FaceSensorOn leave the face sensor working for this session. To keep it on every
session, set $QuestFaceSensorOff = $false in Start_Sim.ps1.
-FaceSensorOff still accepted; it is already the default.
-SimWaitSec <n> how many seconds to wait for the sim to start rendering before
giving up on OBS. Default 840 (14 minutes).
With no flags the launcher is in "film mode": it switches the OpenXR runtime to
SteamVR (one administrator prompt), starts SteamVR, and starts OBS once you are in
the car. To make plain racing the default, edit the .bat and add -NoFilm after
"-Sim <name>" on both lines.
Set_XR_Runtime.ps1
(no flag) show which OpenXR runtime is active, change nothing
-Meta Meta Quest over the Link cable or Air Link
-VD Virtual Desktop (wireless)
-Steam SteamVR
Pick one flag only. Asks for administrator permission. Refuses while a sim is running.
Stop_SteamVR.bat / Stop_SteamVR.ps1
(no flag) stop SteamVR and set the OpenXR runtime back to Meta
-CloseSteam also close the Steam client
-KeepRuntime stop SteamVR but leave the OpenXR runtime alone. Use this if SteamVR
is your normal runtime (Index, Vive, Pimax and so on).
RUNNING A .ps1 DIRECTLY
-----------------------
The .bat files handle this for you. To run a .ps1 yourself, open PowerShell in the
folder and use:
powershell -NoProfile -ExecutionPolicy Bypass -File .\Set_XR_Runtime.ps1
"-ExecutionPolicy Bypass" applies to that one run only. It does not change your system.
CHANGING THINGS
---------------
Different wheel: edit $PreSimApps in Start_Sim.ps1. Replace the Logitech G HUB line
with your wheel software, or delete it if your wheel needs none.
No kneeboard: delete the OpenKneeboard line from $PreSimApps.
Another sim: copy one block inside "$sims = @{ ... }" in Start_Sim.ps1, give it a
new name, set its Steam app id (or Launch path) and the name of the
process that runs while you are driving. Add the name to the
ValidateSet list near the top, then copy a .bat and change -Sim.
Not sure of a process name: start the program, open Task Manager -> Details, and use
the name in the first column without ".exe".
The web page that goes with these scripts has a generator that writes a script for
your hardware: pick your sim, headset, wheel and extras, and download the result.
IF SOMETHING GOES WRONG
-----------------------
The window flashes and closes
Open a Command Prompt in the folder and run the .bat from there so the text stays
on screen.
Red text about "parse errors" or unexpected tokens
The .ps1 was edited with curly quotes or other special characters. Use straight
quotes only, and save as plain text.
The sim opens flat on the monitor instead of in the headset
The active OpenXR runtime does not match how the headset is connected.
Run Set_XR_Runtime.ps1 with no flags to see it, then -Meta, -VD or -Steam.
The sim sits at "loading" forever in VR
The OpenXR runtime is SteamVR but SteamVR is not running. Start SteamVR first, or
switch the runtime back with Set_XR_Runtime.ps1 -Meta.
The overlay does not show over the sim
The sim is in exclusive fullscreen. Use Windowed or Borderless.
[skip] RaceVisor not found
Not an error - RaceVisor is optional. To use it, set $RaceVisorExe at the top of
Start_Sim.ps1 to the full path of RaceVisor.exe.
These scripts are provided as-is, free to copy and adapt. Use at your own risk.
Changing things
- Different wheel. Edit
$PreSimAppsinStart_Sim.ps1. Replace the Logitech G HUB line with your wheel software, or delete it if your wheel needs none. - No kneeboard. Delete the OpenKneeboard line from
$PreSimApps. - Another sim. Copy one block inside
$sims = @{ ... }, give it a new name, set its Steam app id (or its path) and the process that runs while you are driving. Add the name to theValidateSetlist near the top, then copy a .bat and change-Sim. Or use the generator with “Another sim”. - Finding a process name. Start the program, open Task Manager → Details, and use the name in the first column without
.exe. - Editing safely. Use Notepad and straight quotes only. One curly quote pasted from a web page or a document produces a screen of red errors.
If something goes wrong
| What you see | What to do |
|---|---|
| The window flashes and closes | Open a Command Prompt in the folder and run the .bat from there, so the text stays on screen. |
| “Windows protected your PC” | Right-click the .zip → Properties → tick Unblock → OK, then unzip again. |
| Red text about parse errors | The .ps1 was edited with curly quotes or special characters. Use straight quotes and save as plain text. |
| The sim opens flat on the monitor | The OpenXR runtime does not match the headset. Run Set_XR_Runtime.ps1 with no flags to see it, then -Meta, -VD or -Steam. |
| The sim sits at “loading” in VR | The runtime is SteamVR but SteamVR is not running. Start SteamVR first, or switch back with -Meta. |
| The overlay does not show over the sim | The sim is in exclusive fullscreen. Use Windowed or Borderless. |
[skip] RaceVisor not found | Not an error. RaceVisor is optional. To use it, set $RaceVisorExe at the top of Start_Sim.ps1 to the full path. |
Per-sim settings, VR setup and capture troubleshooting are in the Controls Reference. Questions and fixes for other hardware are welcome on the Community page.
These scripts are provided as-is, free to copy and adapt. Use at your own risk.