Oculus Deeplink

Note that this feature is only available for Epic Roller Coasters on Oculus Quest and you’ll need to use ADB (Android Debug Bridge) to send the commands to the device.

Make sure the game is not already running by executing this command:
adb shell am force-stop games.b4t.epicrollercoasters.oculus

Open the game using this command, it will pass some extra arguments to the start of the game selecting a ride, a game mode and other values:
adb shell am start -n games.b4t.epicrollercoasters.oculus/com.unity3d.player.UnityPlayerActivity -e intent_cmd '''{\"ovr_social_launch\":{\"type\":\"DEEPLINK\",\"deeplink_message\":\"{\\\"sku\\\":\\\"ROCK_FALLS\\\",\\\"mode\\\":\\\"SHOOTER\\\",\\\"autoStart\\\":\\\"1\\\",\\\"helmet\\\":\\\"NO_HELMET\\\"}\"}}'''

The sku argument represents the different rides that the game have, you need to change ROCK_FALLS from the command above by one of the following keys:

  1. ROCK_FALLS
  2. TREX_KINGDOM
  3. WYVERN_SIEGE
  4. SNOW_LAND
  5. NEON_RIDER
  6. HALLOWEEN
  7. ARMAGEDDON
  8. LOST_FOREST
  9. DREAD_BLOOD
  10. TUWHENA_VOLCANO
  11. TROPICAL_ISLAND
  12. NORTH_POLE
  13. TWILIGHT
  14. HAUNTED_CASTLE
  15. OASIS
  16. GREAT_CANYON
  17. SPACE_STATION
  18. SECRET_CAVE

The game mode argument represents one of the three modes the game have, you need to change SHOOTER from the command above by one of the following keys:

  1. RACE
  2. SHOOTER
  3. CASUAL

The autoStart argument can have the following values (in seconds):

  1. -1
  2. 0
  3. 1 and above

Where -1 says to the game to not Start the ride automatically after loading, 0 will immediatelly start, and any other number above will wait the exact amount of seconds before it automatically starts.

And the helmet options are:

  1. HELMET_BLINDER
  2. HELMET_ONLY
  3. NO_HELMET

Be aware to not change any back slashes, quotation marks and apostrophes in the command instructions once it will break the desired execution.

Local Multiplayer

If you want to connect two Oculus Quest together over some local Wifi Network, you can add this extra arguments for one of the Quests:

adb -s DEVICE_ID shell am start -n games.b4t.epicrollercoasters.oculus/com.unity3d.player.UnityPlayerActivity -e intent_cmd '''{\"ovr_social_launch\":{\"type\":\"DEEPLINK\",\"deeplink_message\":\"{\\\"sku\\\":\\\"ROCK_FALLS\\\",\\\"mode\\\":\\\"SHOOTER\\\",\\\"port\\\":\\\"8888\\\"}\"}}'''

And for the another, you’ll also add the IP Address from the previous Oculus Quest, for example 192.168.0.15:

adb -s DEVICE_ID shell am start -n games.b4t.epicrollercoasters.oculus/com.unity3d.player.UnityPlayerActivity -e intent_cmd '''{\"ovr_social_launch\":{\"type\":\"DEEPLINK\",\"deeplink_message\":\"{\\\"sku\\\":\\\"ROCK_FALLS\\\",\\\"mode\\\":\\\"SHOOTER\\\",\\\"port\\\":\\\"8888\\\",\\\"ip\\\":\\\"192.168.0.15\\\"}\"}}'''

  1. Replace the DEVICE_ID by the device ID, to get it, just execute the command:
    adb devices
    This is needed when you have two or more Android devices connected on the same computer.
  2. You can check the IP Address on the Wifi settings inside the Oculus Quest, and for future convenience you can also set it to be a fixed IP inside your router’s settings, so it will not change everytime the router is rebooted.
  3. Please do not add both IP Address which will force for both devices to start the connection and that can break things.
    Just add the Port on both, and the IP Address in one of the two.

For any further help please send an e-mail to dev@b4t.games.