You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2025. It is now read-only.
1. Create a folder in `%ProgramFiles%`. It's important to make it in `%ProgramFiles%` so that UWP applications can access it! For example: `C:\Program Files\OpenXR-API-Layers`.
6
+
7
+
2. Place `XR_APILAYER_NOVENDOR_fov_modifier.json`, `XR_APILAYER_NOVENDOR_fov_modifier.dll`, `Install-Layer.ps1` and `Uninstall-Layer.ps1` in the folder created above.
8
+
9
+
3. Run the script `Install-Layer.ps1`**as Administrator**.
10
+
11
+
4. Start the OpenXR Developer Tools for Windows Mixed Reality, under the *System Status* tab, scroll down to *API Layers*. A layer named `XR_APILAYER_NOVENDOR_fov_modifier` should be listed.
12
+
13
+
## Removal
14
+
15
+
1. Go to the folder where the API layer is installed. For example: `C:\Program Files\OpenXR-API-Layers`.
16
+
17
+
2. Run the script `Uninstall-Layer.ps1`**as Administrator**.
18
+
19
+
3. Start the OpenXR Developer Tools for Windows Mixed Reality, under the *System Status* tab, scroll down to *API Layers*. There should be no layer named `XR_APILAYER_NOVENDOR_fov_modifier`.
20
+
21
+
## App configuration
22
+
23
+
1. First, retrieve the name that the application passes to OpenXR. In order to do that, run the application while the API layer is enabled.
24
+
25
+
2. Locate the log file for the layer. It will typically be `%LocalAppData%\XR_APILAYER_NOVENDOR_fov_modifier.log`.
26
+
27
+
3. In the log file, search for the first line saying "Could not load config for ...":
28
+
29
+
```
30
+
dllHome is "C:\Program Files\OpenXR-API-Layers"
31
+
XR_APILAYER_NOVENDOR_fov_modifier layer is active
32
+
Could not load config for "FS2020"
33
+
Could not load config for "Zouna"
34
+
Using FOV for left 1.000 1.000 1.000 1.000 and right 1.000 1.000 1.000
35
+
```
36
+
37
+
4. In the same folder where `XR_APILAYER_NOVENDOR_fov_modifier.json` was copied during setup, create a file named after the application, and with the extension `.cfg`. For example `C:\Program Files\OpenXR-API-Layers\FS2020.cfg`.
38
+
39
+
In this file, set the factor for each FOV angle that needs to be changed. The factor is equal to the percentage divided by 100. This means that 0.5 is 50%, and 1 is 100%.
40
+
41
+
```
42
+
left.up=0.95
43
+
left.down=0.95
44
+
left.right=0.9
45
+
right.up=0.95
46
+
right.down=0.95
47
+
right.left=0.9
48
+
```
49
+
50
+
In the example above, `left.left` and `right.right` were left out and will assume their default value of 1 (100%).
51
+
52
+
5. When running the application, the changes should take affect. Inspect the log file if it needs to be confirmed:
53
+
54
+
```
55
+
dllHome is "C:\Program Files\OpenXR-API-Layers"
56
+
XR_APILAYER_NOVENDOR_fov_modifier layer is active
57
+
Loading config for "FS2020"
58
+
Using FOV for left 0.950 0.950 1.000 0.900 and right 0.950 0.950 0.900 1.000
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
0 commit comments