Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Oculus Rift DK2 support for Jedi Academy v2.0.1

Compare
Choose a tag to compare
@xLAva xLAva released this 05 Mar 01:04
· 81 commits to HmdSupportDK2 since this release

DK2 support for Jedi Academy (for Windows and Linux)

ChangeLog v2.0.1

  • smaller crosshair
  • use DK2 recommended texture size
  • Windows:
    • improved performance by using fullscreen in Extended Mode
      • Extended Mode is the best option on Windows right now
      • Direct Mode still has some performance issues with OpenGL
    • disable window compositor
    • set to higher cpu priority
  • Linux:
    • improved performance by setting noVSync

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.

jediacademy_oculusrift02

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:

Oculus Rift DK2:

Extended Mode and Direct Mode are supported.
Use Extended Mode for best performance. There are still some issues with OpenGL and Direct Mode.

Oculus Rift DK1:

Make sure you set the DK1 to Extended Desktop Mode.
The current OculusSDK doesn't work with Direct Mode, OpenGL and DK1.

Ubuntu:

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.

jediacademy_oculusrift03