listerily / ModdedBE

Open source Minecraft: Bedrock Edition launcher for Android. Using EnderCore as Mod Engine, patching NMods to Minecraft.
GNU Lesser General Public License v2.1
51 stars 11 forks source link

ModdedBE does not support 32-bit Minecraft on 64-bit machine #9

Open listerily opened 3 years ago

listerily commented 3 years ago

Android will launch ModdedBE as a 64-bit application in this case.
But minecraft is 32-bit, and we cannot load 32-bit *.so files in a 64-bit application.

Dima8249 commented 3 years ago

I confirm it! I can't run minecraft. Btw, will you add support for 0.12?

TripleCamera commented 3 years ago

Btw, will you add support for 0.12?

Currently we don't focus on supporting ancient versions like 0.12, because BlockLauncher can already load Native Addons on those versions. Besides, there are hardly any people writing Native Addons for them. Maybe we will support them in the future.
If you really want to, you can implement it by yourself and create a pull request.

Dima8249 commented 3 years ago

Btw, will you add support for 0.12?

Currently we don't focus on supporting ancient versions like 0.12, because BlockLauncher can already load Native Addons on those versions. Besides, there are hardly any people writing Native Addons for them. Maybe we will support them in the future. If you really want to, you can implement it by yourself and create a pull request.

Okay, sad. Maybe I'll implement support 0.12 :) Can you fix a bug with 32-bit libs in a 64-bit application?

listerily commented 3 years ago

Btw, will you add support for 0.12?

Currently we don't focus on supporting ancient versions like 0.12, because BlockLauncher can already load Native Addons on those versions. Besides, there are hardly any people writing Native Addons for them. Maybe we will support them in the future. If you really want to, you can implement it by yourself and create a pull request.

Okay, sad. Maybe I'll implement support 0.12 :) Can you fix a bug with 32-bit libs in a 64-bit application?

I've tried moving shared libraries into assets dir so that android will not load any libraries on app installation. But I failed again. If there are no libraries in the lib/ dir of the apk file, the app will also be installed as a 64-bit app. Currently there are no good practice to this issue.

If the user download Minecraft from Google Play Store, they would not meet this problem, as app store will install 64-bit Minecraft for them.

If you'd like to launch 32-bit Minecraft, I suggest you download the source code and build a 32-bit ModdedBE (Remove x86_64 and arm64-v8a in the gradle script).

listerily commented 3 years ago

Btw, will you add support for 0.12?

Currently we don't focus on supporting ancient versions like 0.12, because BlockLauncher can already load Native Addons on those versions. Besides, there are hardly any people writing Native Addons for them. Maybe we will support them in the future. If you really want to, you can implement it by yourself and create a pull request.

Okay, sad. Maybe I'll implement support 0.12 :) Can you fix a bug with 32-bit libs in a 64-bit application?

ModdedBE dynamically extract dex files from Minecraft and load them. But this launcher only tested on Minecraft 1.16. If you'd like to implement support for 0.12, you should first decompile AndroidManifest.xml and add necessary manifest items to ModdedBE manifest. Normally ModdedBE will support your version after that.

Dima8249 commented 3 years ago

Okay, thanks

rac14 commented 3 years ago

What about 1.17 ._.