You are not logged in.
Lost Password?


Register To Post



 Bottom   Previous Topic   Next Topic

#1
VirtualBoy emulation on the Oculus Quest
Posted on: 6/27 15:15
Newbie
Joined 6/27
USA
7 Posts
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 ... b0nD6B1R/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! :)
Edited by Ben McLean on 2019/6/27 15:26
Edited by Ben McLean on 2019/6/27 15:34
Edited by Ben McLean on 2019/6/27 15:35
Edited by Ben McLean on 2019/7/8 14:42
Edited by Ben McLean on 2019/7/8 14:49
Edited by Ben McLean on 2019/7/25 1:41
Top

#2
Re: VirtualBoy emulation on the Oculus Quest
Posted on: 6/29 1:52
VB Gamer
Joined 2018/5/21
USA
17 Posts
Long Time User (1 Year)
Once you get the touch controllers working post an APK! I'd love to play some VB games.
Top

#3
Re: VirtualBoy emulation on the Oculus Quest
Posted on: 7/8 14:48
Newbie
Joined 6/27
USA
7 Posts
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.
Top

#4
Re: VirtualBoy emulation on the Oculus Quest
Posted on: 7/9 12:37
Newbie
Joined 6/25
Germany
6 Posts
I closely follow this thread :)
I own a Quest and VB now and this would be quite awesome.
Top

#5
Re: VirtualBoy emulation on the Oculus Quest
Posted on: 7/9 14:15
Newbie
Joined 6/27
USA
7 Posts
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.
Top

#6
Re: VirtualBoy emulation on the Oculus Quest
Posted on: 7/21 23:59
Newbie
Joined 6/27
USA
7 Posts
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! :)
Top

#7
Re: VirtualBoy emulation on the Oculus Quest
Posted on: 7/25 1:40
Newbie
Joined 6/27
USA
7 Posts
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 ... b0nD6B1R/view?usp=sharing
Top

#8
Re: VirtualBoy emulation on the Oculus Quest
Posted on: 7/25 15:46
Newbie
Joined 6/27
USA
7 Posts
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.
Top

#9
Re: VirtualBoy emulation on the Oculus Quest
Posted on: 8/15 3:57
Virtual Freak
Joined 1/27
USA
94 Posts
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.
Top

#10
Re: VirtualBoy emulation on the Oculus Quest
Posted on: 8/15 12:58
Newbie
Joined 6/25
Germany
6 Posts
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/
Top

 Top   Previous Topic   Next Topic


Register To Post