SteamVR/steamvr.vrsettings: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "== Format of steamvr.vrsettings == steamvr.vrsettings is a json file in the following format: <pre> 123 </pre> {{shortpagetitle}} Category:SteamVR")
 
m (clean up, added deadend tag)
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Dead end|date=January 2024}}
== Format of steamvr.vrsettings ==
== Format of steamvr.vrsettings ==


steamvr.vrsettings is a json file in the following format:
steamvr.vrsettings is a json file in the format below. To enable a key remove the // in front of the particular line.
Usually only low-level programmers need to set any of these keys. This file lives in the "config" directory under Steam.


<pre>
<pre>
123
{
  "jsonid" : "vrsettings",
  "steamvr" : {
// "ipd": 0.0635,
// "forcedDriver": "null",
"forcedHmd": "false",
"requireHmd": false,
// "displayDebug": false,
// "enableDistortion": true,
// "displayDebugX": 0,
// "displayDebugY": 0,
// "sendSystemButtonToAllApps": false,
// "loglevel": 3,
// "background": "backgrounds/image_%d.png", (now requires fully qualified path)
// "backgroundCameraHeight": 1.6,
// "backgroundDomeRadius": 10.0, (0.0 == Infinite)
// "directMode": true,
// "usingSpeakers": true, (only works in some Unity games current)
// "speakersForwardYawOffsetDegrees": 90.0,
// "renderTargetMultiplier": 1.0
// ^ Make sure your last entry does not include a trailing comma (use jslint when in doubt to verify format).
},
  "driver_lighthouse": {
// "disableimu": false,
// "usedisambiguation": "tdm",
// "disambiguationdebug": 0,
// "primarybasestation": 0,
// "lighthousename": "",
// "maxincidenceangledegrees": 60.0,
// "uselighthousedirect": true,
// "dbhistory": false
},
  "driver_null" : {
// drivers are searched in alphabetical order, so you may need steamvr.forcedDriver="null" as well
// "enable": true,
// "id": "Null Driver",
// "serialNumber": "Null 4711",
// "modelNumber": "Null Model Number",
// "windowX": 100,
// "windowY": 100,
// "windowWidth": 1920,
// "windowHeight": 1080,
// "renderWidth": 1344,
// "renderHeight": 1512,
// "secondsFromVsyncToPhotons": 0.1,
// "displayFrequency": 90
  },
  "version" : "1"
}
</pre>
</pre>
{{shortpagetitle}}
{{shortpagetitle}}
[[Category:SteamVR]]
[[Category:SteamVR]]

Latest revision as of 10:14, 21 January 2024

Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024

Format of steamvr.vrsettings

steamvr.vrsettings is a json file in the format below. To enable a key remove the // in front of the particular line. Usually only low-level programmers need to set any of these keys. This file lives in the "config" directory under Steam.

{
   "jsonid" : "vrsettings",
   "steamvr" : {
		// "ipd": 0.0635,
		// "forcedDriver": "null",
		 "forcedHmd": "false",
		 "requireHmd": false,
		// "displayDebug": false,
		// "enableDistortion": true,
		// "displayDebugX": 0,
		// "displayDebugY": 0,	
		// "sendSystemButtonToAllApps": false,
		// "loglevel": 3,
		// "background": "backgrounds/image_%d.png", (now requires fully qualified path)
		// "backgroundCameraHeight": 1.6,
		// "backgroundDomeRadius": 10.0, (0.0 == Infinite)
		// "directMode": true,
		// "usingSpeakers": true, (only works in some Unity games current)
		// "speakersForwardYawOffsetDegrees": 90.0,
		// "renderTargetMultiplier": 1.0
		// ^ Make sure your last entry does not include a trailing comma (use jslint when in doubt to verify format).
	},
   "driver_lighthouse": {
		// "disableimu": false,
		// "usedisambiguation": "tdm",
		// "disambiguationdebug": 0,
		// "primarybasestation": 0,
		// "lighthousename": "",
		// "maxincidenceangledegrees": 60.0,
		// "uselighthousedirect": true,
		// "dbhistory": false
	},
   "driver_null" : {
		// drivers are searched in alphabetical order, so you may need steamvr.forcedDriver="null" as well
		// "enable": true,
		// "id": "Null Driver",
		// "serialNumber": "Null 4711",
		// "modelNumber": "Null Model Number",
		// "windowX": 100,
		// "windowY": 100,
		// "windowWidth": 1920,
		// "windowHeight": 1080,
		// "renderWidth": 1344,
		// "renderHeight": 1512,
		// "secondsFromVsyncToPhotons": 0.1,
		// "displayFrequency": 90
   },
   "version" : "1"
}