Comments (2)
Hi.
Thanks for testing.
Do note this project is very much still a work in progress.
I can't guarantee a lot of games will work, Unreal games wont work yet, sadly, only Unity games do.
Currently, the best working game is Keep Talking and Nobody Explodes, although, at the start it seems to have an issue with centering.
I was going to eventually write a guide on how to use this with Quest APK's, but I'll probably do that when it is somewhat semi-stable.
Anyways,
You'll want to do the following steps to get a workable APK:
-
I use apktool and uber-apk-signer for packaging/unpackaging and resigning.
-
I haven't released any compiled libs yet, nor have I made a Github Action script to compile the program just yet, I will try doing this after I post this message.
You can download the libs via Github Actions.
(Optional)
For building, you will have to download the Android NDK, you can either do this via the link provided on my README, or download it via Android Studio.
Make sure to add the /toolchains/llvm/prebuilt/windows-x86_64/bin
folder to your PATH.
You'll need the following files (both from my repo):
(Oculus)
- libOculusXRPlugin.so
- libovrplatformloader.so
- libOVRPlugin.so
(Pico)
- libPxrPlatform.so
- libpxr_api.so
- libpxrplatformloader.so
Made sure you take the ones I committed to the repo, they have some patched strings/instructions to make them work.
- Build or download the required libs via Github Actions.
- Decompress the APK file with apktools.
- Replace/add the library files into
/lib/arm64-v8a
- In
AndroidManifest.xml
, inside of<application>...</application>
add:
<meta-data android:name="pvr.app.type" android:value="vr"/>
- Then open
/assets/bin/Data/UnitySubsystems/OculusXRPlugin/UnitySubsystemsManifest.json
- Set the name to
"name": "PxrPlatform",
from oculusxrpicolayer.
Alrighty, so it seems oddly, that older versions of the Android NDK caused errors when compiling with shared libraries...
For building, and I'll update this on the README too, you'll need the r21e or 21.4.7075529 version.
I also included a Github Action script, that automatically adds the built libraries.
So, now you don't have to build anymore, you can download the compiled files by going to:
Actions > Most recent build > Scroll down and download the "build" file.
There you will have the compiled libraries you can replace in your APK.
from oculusxrpicolayer.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oculusxrpicolayer.