Experimental support for Oculus Rift is now available in oculus
public beta branch on Steam. Currently the support is available only in the Windows version of the game.Requirements
Limitations and known issues
- The game is using a OVR libraries 0.2.5 and expects that there is a default profile which has proper IPD and that magnetic calibration was done in the configuration tool.
- A really fast GPU and CPU is recommended.
How to enable
- OpenGL is currently not supported
- Only the driving mode shows the scene in real 3d, background of menu is currently 2d
- The head orientation is currently used only by the interior camera.
- There might be distortions when using some menu screens in 3d mode or when switching the 3d mode of the menu in some situations.
- The advisor was moved to the bottom center of the screen when Oculus is used however no other optimizations were done.
- The game does not reset the orientation when entering truck so you will have to do that manually by pressing F12.
- The default reset key F12 coincides with the default Steam screenshot key.
- If the r_manual_stereo_in_menu variable does not exist, the game will launch with menu in 2d mode although it sets the variable to launch in 3d mode the next time.
- Was only tested with the SD version of Oculus devkit.
To enable the support, run the game with -oculus
command line parameter. This will cause the game to detect the available oculus devices, select the first one found and launch with a resolution matching the device. If no device is found, a dummy one is used.
It is recommended to set-up your system so the oculus mirrors the primary monitor and run the game in fullscreen mode. If you want to run the game in windowed mode, you need to ensure that the position of the window aligns with the desktop area corresponding to Oculus (at this time this is not done automatically by the game). To do that you can use a command line parameter -window_pos X Y
to specify position of top left corner of the client area of the window. For example if you have the Oculus monitor positioned to the right from Full HD monitor, the parameter will likely be "-window_pos 1920 0"Configuration
The game can show the menu in 2D or 3D positioned mode. This is toggled by the r_manual_stereo_in_menu
cvar or by F11
key. As the menu was not designed for low resolution displays, the content of many screens is unreadable. If you are using the monitor in the mirrored mode, you might want to set the game to show the menu in a 2D mode or temporarily toggle between the 2d and 3d mode using the F11
key when using the menu to do some work where text reading is required.
It is possible to configure the 3D parameters of the plane on which the UI is shown using the r_manual_stereo_ui_fov*
cvars. There are two sets of the parameters. One is used in menu to provide view of all corners of the ui while the other is used when driving in game to provide better view of the advisor.
As the ui mirrors are not visible in the field of view in the default ui fov settings, it is good idea to disable them to improve performance.
The advisor is best run in the minimized transparent variant. The variants are toggled using the F3
The game uses the Oculus movement prediction with the duration of the precision limited by per-game-profile cvars named i_oculus_min_prediction
representing the range in seconds to which to clamp the frame duration used for the prediction.
It is possible to reset the Oculus position using the F12
key. This conflicts with default Steam screenshot key so you might want change the setting in game by editing the headreset
mix in the controls.sii file for your in-game profile or use the in-game screenshot key which since 1.6 also creates corresponding Steam screenshot.
The 18.104.22.168+ builds use a limited variant of angle-dependent movement of the head from the normal game. It only keeps the window lookout and moves its start to about 85 degress. The movement can be disabled entirely by setting g_oculus_no_artifical_movement
profile cvar to 1 before starting the game. The game simulates a non-point head in similar way the Oculus example does. You can tweak the size of the head using i_oculus_eye_height
cvar can be used to increase size of the rendered image which is latter used as input to the distortion to improve quality.
The 22.214.171.124+ builds supports a Oculus specific appearance of menu. Currently this is only used to change layout of the full-featured (with all widgets unlocked) desktop menu. Future builds are likely to tweak the menu more and improve layout of additional parts of the menu. This feature can be disabled by setting g_oculus_no_special_menu
profile cvar to 1 before starting the game.
The background truck under the menu is drawn in 3D. This might be disabled by setting g_oculus_no_3d_background
profile cvar to 1 before starting the game.
The 126.96.36.199 build allows use of controller to control the mouse pointer and provides ui to set a controller button to open the menu. When switching from the beta back to standard build of the game, the mouse cursor might stop working after you load profile which was used with the beta build. In that case you need to open the controls.sii
file for that profile and replace the `fusion.mouse`
string with `di8.mouse`