Lauriethefish / QuestPatcher

Generic il2cpp modding tool for Oculus Quest (1/2/3) apps.
zlib License
296 stars 393 forks source link

Add manifest workaround for MRC (mixed reality capture) #174

Closed ElDavoo closed 3 months ago

ElDavoo commented 7 months ago

With the v60 update, Meta broke all apps using MRC (Mixed Reality Capture, in other words third-person view that gets sent over TCP to a PC). This is because this block is now needed inside AndroidManifest.xml (inside an <application> block):

<uses-native-library
                android:name="libOVRMrcLib.oculus.so"
                android:required="true" />

I'd argue that android:required="false" can be safely set. In this way, the app won't break if this library ceases to exist for some reason.
Since now this application is the de-facto standard for modding (especially Beat Saber), and since this is done by decompiling, modding, recompiling, signing and installing the APK, I would add this capability to QuestPatcher.

Lauriethefish commented 5 months ago

Is this still a useful addition?

ElDavoo commented 4 months ago

Not much, as people wanting MRC usually use the PCVR version of the game, but I thought that this enhancement wouldn't be much code to be written.

Lauriethefish commented 4 months ago

okay if it still does something I might add it soon

ElDavoo commented 4 months ago

it still does something

Yes, I tried it and it works, but doing it manually (e.g. decompiling, recompiling the apk and especially resigning it) is far more inaccessible and incompatible with modding solutions (mainly because of different signatures)

Lauriethefish commented 3 months ago

Workaround is now implemented in QuestPatcher. It's disabled by default but you can turn it on in the Patching Permissions menu.

ElDavoo commented 3 months ago

Workaround is now implemented in QuestPatcher. It's disabled by default but you can turn it on in the Patching Permissions menu.

Thank you, I will test when I get back home