Oculus Rift DK2 support for Jedi Academy

The Oculus Rift DK2 support for Jedi Academy is finally released. It took me longer than expected, but it looks stable now and runs on Windows and Linux.

https://github.com/xLAva/JediAcademyLinux/releases

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.

Changes and new Features:
  • DK2 support
  • Position tracking support
  • Head-Mounted-Device recenter using the start button on the gamepad
  • Small tweaks and bugfixes

Play the game

Extract all the files from the Windows or Linux zip file into the root directory of your “Jedi Knight III: Jedi Academy” installation and start the “jasphmd” executable.

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

The version was tested on Ubuntu 14.04 and Windows 7.

Windows:

Oculus Rift DK2:

Direct Mode and Extended Mode are supported.

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.

Source

The source code and the instructions to build the game can be found on my Github page:

https://github.com/xLAva/JediAcademyLinux/tree/HmdSupportDK2

4 comments

  1. Joan Soto says:

    I like very much your project, il be playing jedi academy with my xbox360 controller and analog movements works very nice, i like your project better than openjk , can u improve jedi outcast gamepad support too? thanks and sorry for my english!

  2. Jochen says:

    I’m glad you like the project. I will have a look at the Jedi Outcast gamepad support.

  3. Jochen says:

    I heard that there are some problems with the Revive. I would like to also support the Vive directly, but without a Vive headset it is not easy to do.

Comments are closed.