Original Post

UPDATE:
Oculus Quest Touch controller support in VirtualBoyGo works great now. Here’s an APK built by me from the current source code for anyone who doesn’t want to wait for the official release.
https://drive.google.com/file/d/1o1G1p_jcDLjM9WPxq8Q2HPKXb0nD6B1R/view?usp=sharing

(old post below)

Hey there folks. This is a post about VirtualBoy emulation on the Oculus Quest.

Right out of the box, on launch day, the existing VirtualBoy emulator for the Oculus Go called “VirtualBoyGo” already worked on the Oculus Quest, because it turns out the Quest is just an Android device in disguise! You just need a Bluetooth game controller such as the 8Bitdo SF30 Pro Controller to play this version with. All the games look and sound great. You can get the program here. You’ll need something that uses ADB to sideload it onto the Quest, such as SideQuest or the Android SDK.

But I think people shouldn’t need to buy a separate controller and fiddle with pairing it up in order to play VirtualBoy titles on their Oculus Quest. They have two perfectly good Touch controllers that come with the device. These should be more than capable of providing input for VirtualBoy games. I know a little programming, so I should be able to make this happen.

The VirtualBoyGo source code didn’t build right out of the box, but I got in touch with the developer, CidVonHighWind, who doesn’t own a Quest but was able to help me to get the program to build. I then made a PowerShell script which pulls down all the dependencies and makes building the program (at least on a Windows 10 computer) so easy that a retarded monkey could do it.

I still haven’t had the time to figure out how to change the input so as to support the Touch controllers, but I thought I’d at least post about how to build the program so anyone with an interest in this might be able to contribute.

So here are the instructions:

1. Make sure you have 7-zip installed in the default location because my PowerShell depends on it.

2. Make sure you have Git for Windows installed. Might as well also grab GitExtensions, GitHub Desktop and Notepad++ because these tools are nice to have, but not required. Git for Windows is required, however.

3. Get Android Studio and the Android SDK. The way I recommend doing this is through the JetBrains Toolbox app because it will keep your tools updated for you.

4. Set your ANDROID_HOME and ANDROID_NDK_HOME environment variables. Yes, you need ANDROID_NDK_HOME set for this to build.

5. Make yourself a folder to work in, such as C:\Oculus which I used.

6. Get Oculus Mobile SDK 1.23 which comes as a zip file called “ovr_sdk_mobile_1.23.zip” and save it in your working folder. My PowerShell will unzip it for you, so just save the zip in the folder.

7. Get my awesome PowerShell script and save it in your working folder as “VirtualBoyGo.ps1”

8. Get my easy PowerShell launcher and save it in your working folder as “VirtualBoyGo.bat”

9. Run “VirtualBoyGo.bat” The batch file will launch the PowerShell for you if the names match. Hopefully it should run without errors. πŸ™‚

10. In Android Studio, import the gradle project in your working folder\ovr_sdk_mobile_1.23\VrSamples\VirtualBoyGo\Android and build it. I used Gradle version 4.4

That’s it. Now it’ll build. If you want more detailed build instructions, such as if trying to build on another OS, then you can probably reverse-engineer my PowerShell fairly easily.

I’m going to eventually figure out how to get the Touch controller support added, but if anyone else wants to pioneer ahead and get to that goal before I do then I thought I’d give them a boost with these instructions. Please share your results if you achieve anything! πŸ™‚

  • This topic was modified 5 years, 5 months ago by Ben McLean.
  • This topic was modified 5 years, 5 months ago by Ben McLean.
  • This topic was modified 5 years, 5 months ago by Ben McLean.
  • This topic was modified 5 years, 5 months ago by Ben McLean.
  • This topic was modified 5 years, 5 months ago by Ben McLean.
  • This topic was modified 5 years, 5 months ago by Ben McLean.
10 Replies

Once you get the touch controllers working post an APK! I’d love to play some VB games.

UPDATE: My next step has been trying to get the VrController sample project which the Oculus Mobile SDK comes with to build, but it wouldn’t for a long time, until today I figured out that it needed Gradle version 4.4.

Hopefully, studying and experimenting with that should give me the information I need to understand how to get input from the Touch controllers. Then I can use that knowledge to make the correct changes to VirtualBoyGo.

I closely follow this thread πŸ™‚
I own a Quest and VB now and this would be quite awesome.

That sample project is rather more involved than I thought it would be. I know Java and a little C++ but I’m not familiar with the way this seems to freely mix the two languages. I know there’s got to be some kind of “Hello World” simple example out there of making a Quest app but I’m not seeing it so far.

Update: CidVonHighWind made a commit that has some Touch controller support, but the vertical axis and many of the buttons are reversed. I made a pull request to fix this. Hopefully VirtualBoyGo should have complete Touch controller support very soon! πŸ™‚

Oculus Quest Touch controller support in VirtualBoyGo works great now. Here’s an APK built by me from the current source code for anyone who doesn’t want to wait for the official release.
https://drive.google.com/file/d/1o1G1p_jcDLjM9WPxq8Q2HPKXb0nD6B1R/view?usp=sharing

A Quest update yesterday that came out just as I was finishing up broke the controller support but I fixed it. Same link to the APK still works.

I’m curious for those of us without deep pockets to get into oculous, has anyone attempted to convert this (or would it already work) on a non-3D android device. There isn’t much going on good in the world of VB emulation it appears these days.

I just set up sidequest recently (worked out of the box via Linux as well) merely to get the Virtual Boy emu running. It is amazing. Very great experience playing RedAlarm or Warioland with it.
But I mostly spent what little time I had to play and finish the recent redsquare.
Thanks for everyone involved making this possible \o/

VmprHntrD wrote:
I’m curious for those of us without deep pockets to get into oculous, has anyone attempted to convert this (or would it already work) on a non-3D android device. There isn’t much going on good in the world of VB emulation it appears these days.

Stereoscopic 3D is so fundamental to the appeal of the Virtual Boy that I do not understand why anyone would ever want to play it if they don’t have two eyes and are playing it in 3D.

But if you really want VirtualBoy emulation on a non-3D Android device, VirtualBoy emulation in RetroArch works fine.

Personally, I’ve somewhat moved on to other things at this point, like recreating Wolfenstein 3D for the Quest. πŸ˜€

 

Write a reply

You must be logged in to reply to this topic.