Oculus Rift VR support for Jedi Academy v3.0.0
Jedi Academy Virtual Reality support (for Windows and Linux)
ChangeLog v3.0.0
- Windows:
- updated to latest Oculus SDK version for Windows: Oculus SDK 0.8
- should work now on Windows 10
- Menus:
- use a quad placed in the world for all fullscreen menus
- correct aspect ratio
- correct placement of 3D elements embedded in the menus
- Linux:
- updated to latest Oculus SDK version for Linux: Oculus SDK 0.5
- fixed Star Wars text scroll
- fixed stencil shadow
- changed world scaling
General Information
https://github.com/xLAva/JediAcademyLinux/tree/HmdSupportDK2
This Oculus Rift support implementation is designed for first person game play. It is possible to switch to 3rd-person view, but the best (and motion sickness free) experience is in first person mode.
Performance Tips
Some options can be tweaked to boost the rendering performance to make sure the game runs stable framerates in VR mode.
Main Menu -> Setup -> More Video
- set Shadows to Simple
- disable Dynamic Glow
- disable Light Fares
Play the game
Extract all the files from the Windows or Linux zip file into the following directory of your "Jedi Knight III: Jedi Academy" installation and start the "jasphmd" executable:
[Jedi Academy Install Folder]/GameData
For those not having the Steam version: you'll need the 1.01 update from here http://help.starwars.com/articles/en_US/FAQ/Where-do-I-find-the-latest-patch-for-Jedi-Knight-Jedi-Academy?section=Star-Wars#patch
Platform Specific:
The version was tested on Ubuntu 14.04 and Windows 7.
Windows:
The Oculus Runtime 0.8 is needed to run the game in VR mode.
Ubuntu:
The Oculus Runtime 0.5 is needed to run the game in VR mode.
The universe repository has to be activated (Software & Updates)
Needed libraries on Ubuntu 14.04 32bit:
sudo apt-get install libsdl2-2.0-0 libopenal1
Needed libraries on Ubuntu 14.04 64bit:
sudo apt-get install libsdl2-2.0-0:i386 libopenal1:i386 libgl1-mesa-glx:i386
Be sure to mark "jasphmd" as executable and start the game with it.
Changes and new Features for the Oculus Rift:
- DK2 support
- Position tracking support
- Head-Mounted-Device recenter using the start button
More information
For the DK2 support I had to use the OculusSDK. The OpenHMD library just doesn't support all the features. It is still possible to build the game with OpenHMD support. Just follow the instructions in the Build.md file.
The OculusSDK library is loaded during runtime and the game also works fine without the library.
This version can also be played without any Head Mounted Device. All HMD tweaks will be disabled and the game should behave like the original version.