/ALVR-USB

Helper application for using ALVR through USB connection

Primary LanguageC#MIT LicenseMIT

ALVR-USB

This automates steps required for setting up ALVR through USB connection, will also automatically launch ALVR Server on the PC.

Based on AtlasTheProto/ADBForwarder, modified for personal use.

Usage

  • Download ALVR-USB.exe from latest release
  • Place it in the same directory as ALVR Launcher.exe
  • Run it and then connect your headset

If the application refuses to start make sure you have .NET Framework 4.8 Runtime installed, you can get it here.

Configuration file (ALVR-USB.ini)

Variable Default Description
debug false Should we display extra messages in the console?
logFile "ALVR-USB.log" File for logging
logging false Enable or disable logging
noVerify false Skip ALVR config verification
truncateLog true Should we truncate log file for each session?
alvrPath "ALVR Launcher.exe" Path to ALVR Launcher executable
adbPath "adb\adb.exe" Path to ADB executable
connectCommand "" Executed when valid device connects
disconnectCommand "" Executed when previously connected valid device disconnects
customDevices "" Custom ADB device names

Some functionalities can be disabled by setting their config variable to an empty string ("") .

Sample config:

debug=true
logging=true
logFile=ALVR-USB.log
connectCommand=SoundVolumeView.exe /SetListenToThisDevice "Microphone" 0
disconnectCommand=SoundVolumeView.exe /SetListenToThisDevice "Microphone" 1 && SoundVolumeView /SetPlaybackThroughDevice "Microphone" "CABLE Input"