Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OcuJoy immediately closes itself when opened #2

Open
MrPresidentBanana opened this issue Dec 28, 2020 · 4 comments
Open

OcuJoy immediately closes itself when opened #2

MrPresidentBanana opened this issue Dec 28, 2020 · 4 comments

Comments

@MrPresidentBanana
Copy link

Whenever I open OcuJoy, I can see a command prompt window for a split second before it closes itself again. I've reinstalled both vJoy and OcuJoy and made sure the former is properly configured, but this doesn't seem to fix it. The weird thing is, it worked fine just yesterday. I attempted to use it with DCS, but the axis' were all assigned wrong. Today I fixed that (didn't do anything in the .binds file, only the DCS controls settings), but now OcuJoy does this.

@Cpainy
Copy link

Cpainy commented Jan 10, 2021

It took me some time to get this app to work, but when it does it works great. Thanks!
Some things maybe to add in help file:
The Vjoy software had installer problems. I first needed to install the latest version from their github. Only after that I could install the soundforce version you link to. Didn't test if you can do it with github version (has different version number).

Ocujoy.exe needs to be in this folder "C:\Program Files\vJoy\x64" or it won't find the dll.
And you need to start ocujoy first, before starting vjoy, or as @MrPresidentBanana said, it just closes.

Hopes that fixes it for you @MrPresidentBanana

@jhbeskow
Copy link

Agree with @Cpainy. It was closing immediately for me until I dropped it inside the vJoy install folder. I then created a shortcut to launch OcuJoy.

@forthro
Copy link

forthro commented Nov 23, 2021

I have the same immediate close problem, although I think it's a different root cause. My headset (Quest 2) is working fine through SteamVR. Here's the error I get:

thread 'main' panicked at 'called Result::unwrap() on an Err value: ovrErrorInfo { Result: -1007, ErrorString: "ovr_Create: No HMD attached." }', src/bin.rs:496:77
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@bgeck
Copy link

bgeck commented Mar 14, 2024

I have the same immediate close problem, although I think it's a different root cause. My headset (Quest 2) is working fine through SteamVR. Here's the error I get:

thread 'main' panicked at 'called Result::unwrap() on an Err value: ovrErrorInfo { Result: -1007, ErrorString: "ovr_Create: No HMD attached." }', src/bin.rs:496:77 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

I ran into the same issue and I only got it to work via the following:

  • Make sure to connect your headset to your PC with Oculus Link or Air Link. I was trying to get it to work with Virtual Desktop but because that doesn't detect the device in "ovr", that is why it wasn't working seems like. Makes sense if ocujoy is "hooking" in to the ovr runtime.
  • So far I've only been able to get it to detect when using the PC via Oculus Link. Going to look into how one might go about expanding it to detect HMD using other methods like Virtual Desktop or SteamVR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants