Command Line Arguments

From NeosVR Wiki
Jump to: navigation, search

Desktop builds of NeosVR support several command line arguments. For most of these arguments you can use the Neos Launcher to configure them in a more visual way and save them across launches.

Forcing specific hardware

  • none - autodetect
  • -Vive - SteamVR
  • -RiftTouch - Oculus Rift + Touch controllers
  • -Rift - Oculus Rift without Touch (poorly supported)
  • -Screen - Screen mode (limited, mostly for debugging purposes)
  • -StaticCamera - non-interactive Camera Mode
  • -StaticCamera360 - non-interactive Camera Mode using 360 equirectangular rendering
  • -MixedRealityCamera - non-interactive Camera Mode using Mixed Reality rendering

Joining sessions / Opening worlds

  • -Join Auto - Automatically join and follow active sessions on LAN (will switch to world with most present users)
  • -Join <URL or IP:Port> - Join a session at given URL
  • -Open <URL> - Open world at given URL on start
  • -Scratchspace <port> - Starts a new scratchspace world on a given port (legacy, will be likely removed)
  • -AnnounceHomeOnLAN - Home and Utility experiences will be accessible from LAN by default
  • -Bootstrap <bootstrap class> - Run a custom bootstrap function in a class of given name

Drone Camera presets

These initialize the static camera with a drone script, using a specific movement preset.

  • -CameraBiggestGroup
  • -CameraTimelapse
  • -CameraStayBehind
  • -CameraStayInFront

Common Avatar Builder

  • -ForceNoVoice - CommonAvatarBuilder won't setup any avatars with voice (useful for local presentations)

Misc

  • -Watchdog <file path> - Neos will periodically write current time into given file. This can be used to restart the process when it freezes
  • -LoadAssembly <path> - Loads extra CLR assembly into the Neos process
  • -Kiosk - Will run Neos in Kiosk mode (hides the Userspace items such us logo and world switcher and disables teleporting for guests by default)
  • -NoUI - Hides the Userspace UI
  • -CubemapResolution <resolution> - Force the 360 equirectangular rendering to use this resolution for the cubemap
  • -ForceLANOnly - All worlds will be forced to announce only on the LAN network by default and won't be accessible from the internet
  • -DontAutoOpenCloudHome - Wont' automatically load your cloud home on start (can still load manually)
  • -UseLocalCloud - Uses local cloud API servers - used mostly for debugging

Neos Launcher Arguments

These arguments are given to the Neos launcher, which will make sure Neos is launched and running and forward them to the running instance.

  • neos:?world=<URL> - Open a world at given URL

The URL of a world can be accessed by opening the inspector for a world orb and navigating to the WorldOrb component. The URL field can be selected by double clicking into the field. The URL text can be copied to the Windows clipboard via Ctrl+C.