Skip to content

madmagic007/Oculus-Quest-Presence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oculus-Quest-Presence

Currently there is an issue when attempting to grant the permission, please use this workaround in the meantime.

Discord Rich Presence for the Oculus Quest

Discord Twitter Reddit

How to install

Video tutorial:

Video tutorial


Files

On Your PC

  • Make sure you have the latest version of the Java JRE installed on your computer.
  • Use SideQuest to sideload the Quest App Launcher apk and the Quest Discord RPC apk (from the zip)
  • Run oqrpc.exe to install the client on your PC (from the zip)
  • After the installer is finished, run the Oculus Quest Discord RPC.jar
  • In SideQuest, check the top left corner to see the IP address of your Quest. It should look something like this: 192.168.x.x
  • Enter this IP address into the popup window.

On Your Quest

  • Go to Library > Unknown Sources and launch oqrpc from there.
  • When the app is launched, a permission popup will appear Select oqrpc and toggle it on. (Currently broken, follow the next step and read the link at the very top of the readme for a workaround)
  • Press the B button on your controller to navigate back and continue the setup.

You can now go back to your PC and press the validate button in the popup window. It should tell you that the apk is running. Restart your quest and a notification should appear on your computer telling you that it is online. Your Quest games will now appear in your Discord rich presence.


Modules

Modules allow for more detailed information about a game or program on the quest to be shown in the presence. Read more here about how to implement a module to a game/program on the quest.


Things to note

  • Loss of internet connection for more than one minute will stop showing the presence. Right click on the oculus quest rpc icon in the system tray on your computer and hit "Request presence to start".
  • Both programs should automatically start with device boot, but that may not always the be case. If the presence didn't start but the program on the pc is running, hit the "Request presence to start" button. If you didn't get a message saying your quest is online, then you have to manually start the app from the quest app launcher.
  • If you quest connects to wifi within 3 minutes of powering on, it will automatically start displaying the presence on Discord. If it doesn't, you may have to manually start the app.

Troubleshooting / questions

- I open the .jar file but nothing happens

  • Make sure you have the latest version of the Java JRE installed on your computer.
  • The window asking for the ipv4 address only shows up on the first time opening the program. To see if the program is running look in the system tray. If an icon looking like a quest shows, that means that it is running.
  • If you have the latest Java JRE installed but you arent able to open .jar files, run jarfix and it should resovle the issue.

- It keeps saying "error finding device"

  • Make sure both your quest and pc are connected to the same wifi network, that the quest is powered on and that the entered ip is correct.

- It only says "device found, but apk is not running on device"

  • Check if the program is actually running on your quest. If it is open, hit the terminate button in the quest and then hit the start button and try to verify again.
  • Check if the firewall isn't blocking Java and add an exception if necessary.

- I did everything and it said "device found and apk is running on device", but the presence isn't showing

  • Add java.exe and javaw.exe as an exception to your firewall.
  • Check if you got the notification on your pc saying that your quest is online. If you received that, it means that the quest has connected to the pc and the error is with discord. If you didn't get that notification, make sure that the apk is running on your quest.
  • Discord for web browser won't detect games running on your pc, so make sure you are using the desktop application.
  • Check the settings in discord and make sure that game presence is enabled.
  • Try running the jar via commandline by using the command java -jar "path_to_jar.

- It was working before and it randomly stopped working

  • Dynamic ip addresses can change after a while, open the settings window and make sure that the ip there is the same as the one found in SideQuest. You can also assign a static ip address to your quest.
  • If the ip is correct, follow the steps above this.
If none of these steps helped, contact me on discord (link at the top).

- Do I need to set the ip every single time?

  • No, the window asking for the ip only comes up if no ip has been set before, or that it doesn't find one in the config file.

- Will this work for mac/linux?

  • For mac, download the jar from here and place it in a folder where no admin privileges are required to edit files. I dont have an installer yet because I dont know how to work with mac.
  • Linux has no support yet, you can try downloading the jar but that most likely won't work properly on linux.

- Does my pc need to be on all the time?

  • If you want to show the presence then yes, if you dont want to have it show then your pc can be turned off.

- Will this affect performance/battery life on my quest?

  • This is a very light application so it shouldn't be noticeable at all. However keep in mind that it is yet another application that is running in the background.

Contributing

If you have experience with java/android or you'd like to help adding to the lang.json file, contact me using the social badges at the top of the repo.


Special thanks to u/FinalFortune_ for helping me out with bug testing and creating a demo/tutorial video, DexTheArcticFox for helping me with Quest 2 development and LaurieTheFish for helping with module development.