@xLAva xLAva released this Aug 2, 2017 · 6 commits to HmdSupportDK2 since this release

Assets 3

ChangeLog v3.1.1

  • added correct Hud render settings for CV1 (Consumer Version 1)

@xLAva xLAva released this Apr 10, 2016 · 9 commits to HmdSupportDK2 since this release

Assets 3

ChangeLog v3.1.0

  • Windows:
    • updated to latest Oculus SDK version for Windows: Oculus SDK 1.3
  • changed world scaling again
  • fixed missing Headtracking in cutscene
  • fixed too dark 3d models in menu with activated volumetric shadow

@xLAva xLAva released this Jan 10, 2016 · 20 commits to HmdSupportDK2 since this release

Assets 4

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.

jediacademyvr_v3 0 0_01

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.

jediacademyvr_v3 0 0_02

@xLAva xLAva released this Mar 5, 2015 · 77 commits to HmdSupportDK2 since this release

Assets 4

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

@xLAva xLAva released this Mar 1, 2015 · 91 commits to HmdSupportDK2 since this release

Assets 4

DK2 support for Jedi Academy (for Windows and Linux)

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:

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.

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

Assets 3

Jedi Knight III: Jedi Academy (Single Player Linux Port).

https://github.com/xLAva/JediAcademyLinux

The current state is playable without any major problems.
I didn't play the whole game yet, but I tested at least more than half of the levels.

jediacademy-linuxport

Binary

The following files are needed and included in JediAcademy_Linux_Binary_v1.0.0.zip:

  • jasp
  • jagamex86.so

Extract the binary zip file in the installation directory of Jedi Academy.
Be sure to mark "jasp" as executable and start the game with it.

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

Example:
~/JediAcademy/base/
~/JediAcademy/jasp
~/JediAcademy/jagamex86.so

Needed libraries on Ubuntu 12.10 32bit:
sudo apt-get install libopenal1

Needed libraries on Ubuntu 12.10 64bit:
sudo apt-get install ia32-libs

Optional libraries on Ubuntu 12.10 64bit (different mouse access):
sudo apt-get install libxxf86dga1:i386

Known Issues:

  • multi-monitor handling is still experimental
  • some font rendering issues with the Intel Mesa driver (on my test machine)
  • input handling in window mode is not perfect

Widescreen Feature:

This is the only thing I changed from the original code to improve the gaming experience.

  • added some tweaks for widescreen support (show more content left and right instead of cutting content from top and bottom)
  • if you want to play in your native monitor resolution you have to choose the following option "2048x1536". I change this to the current resolution of the main monitor during OpenGL start up.
Assets 4

I want to share my new project: Oculus Rift DK1 support for Jedi Academy (for Windows and Linux)

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

jediacademy_oculusrift01-1024x576

This project was on my mind since the source code was released last year. Finally I had some time this summer to get started.

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.

I haven't tested the whole game yet, but the first 7 levels are working very good.

Play the game

Copy all the files from the Windows or Linux platform folder 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.

Needed libraries on Ubuntu 14.04 32bit:
sudo apt-get install libhidapi-libusb0 libsdl2-2.0-0 libopenal1

Needed libraries on Ubuntu 14.04 64bit:
sudo apt-get install libhidapi-libusb0:i386 libsdl2-2.0-0:i386 libopenal1:i386 libgl1-mesa-glx:i386

Changes and new Features for the Oculus Rift:

  • Free look during in-game cut scenes
  • Removed all forced camera rotations and a lot of camera movements
  • Improved game controller support (SDL2 Xbox Controller layout)
  • Auto detection of the Rift display position
  • Enabled first person lightsaber mode as default
  • Resized UI rendering

Before I started this project, I had a look at the rift support implementation from LeeN (mtbs3d forum). This helped me to get started. Thx LeeN.