xLAva / JediOutcastLinux

GNU General Public License v2.0
249 stars 53 forks source link

Touch working but cannot fire? #93

Open CrispyButtPhD opened 4 years ago

CrispyButtPhD commented 4 years ago

This is unbelievably awesome, like a dream come true.....except the only way I can get it to fire is to press the alt key on the keyboard. I am using index controllers, I can aim and the thumbsticks work to move, I just cannot fire no matter what buttons I press. I messed around with index controller bindings, to no avail. So close, please god allow me to fire the weapon...... :) I am using the latest binary in the June 2019 touch branch.

I could remap the fire keys to keyboard keys, then use joy2key to have a controller send the keys, then tape the index controller to my wrist, but surely there must be a better way?

kelvinpaulmarchioro commented 3 years ago

"Using index controllers, do you mean you are running it only with steam VR (with a Vive or Index)? I just can't run it with my Vive. I've tried creating a shortcut with the "-vr, -vr=vive, -steamvr, etc" commands, and it still just start the game in pancake mod :( Is Revive mandatory?

kelvinpaulmarchioro commented 3 years ago

Ohhhhh! I got it! I was using the old version in the release section of github, the one without OpenVR! haha

Ok, I think I'll let here a simple step by step guide to make it work with SteamVR headsets [It may sound obvious for me now , but at first I really was lost trying to make it work; hope it helps new people coming here for a detailed install process]:

  1. Make a backup of your original SWJKII game folder [in case you copy/overwrite something wrong the first time]

  2. Download the VR-Touch branch with OpenVR, to be compatible with steamVR headsets like Vive, Index and even WMR [I believe]: https://github.com/xLAva/JediOutcastLinux/tree/VR-Touch

    • Click the green buttom "Code" and select "Download ZIP"
  3. Unzip the file and open the "binary" folder. [you only need this folder actually, not the entire zip file]

  4. Copy the files from the binary folder according with the following paths of the game install:

[your install folder]\JediOutcastLinux-VR-Touch\binary\base go inside [your install folder]\Star Wars Jedi Knight II Jedi Outcast\GameData\base

[your install folder]\JediOutcastLinux-VR-Touch\binary\win32 go inside [overwrite the files if asked] [your install folder]\Star Wars Jedi Knight II Jedi Outcast\GameData

  1. Start steamVR following by starting "jk2sp.exe" in the game folder.

  2. Have nostaligic feelings! \o/

    • Thank you xLAva!!!!! =D
  3. Some extra infos so far:

    • The video animations aren't working for me [white screen only], I just press enter or esc to skip them.
    • It might be a bad ideia to change video settings [it stopped working for me the first time]. The small screen is only for the menu; the game will run full screen when started.
    • Vive controllers work only with the trackpad [locomotion and looking around]; I'm still trying to figure out how to map the fire button, and other buttons, to the controllers. Mouse and keyboard work like the pancake version, however.