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:
- ROCK_FALLS
- TREX_KINGDOM
- WYVERN_SIEGE
- SNOW_LAND
- NEON_RIDER
- HALLOWEEN
- ARMAGEDDON
- LOST_FOREST
- DREAD_BLOOD
- TUWHENA_VOLCANO
- TROPICAL_ISLAND
- NORTH_POLE
- TWILIGHT
- HAUNTED_CASTLE
- OASIS
- GREAT_CANYON
- SPACE_STATION
- 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:
- RACE
- SHOOTER
- CASUAL
The autoStart argument can have the following values (in seconds):
- -1
- 0
- 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:
- HELMET_BLINDER
- HELMET_ONLY
- 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\\\"}\"}}'''
-
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. - 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.
-
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.