minecraft-linux / linux-packaging-scripts

24 stars 4 forks source link

Any way to use MC Education Edition APK file? #8

Closed NoozAbooz closed 3 years ago

NoozAbooz commented 3 years ago

Tried doing it but I got this error, image

Haus3master commented 3 years ago

Firstly, I don't think this launcher supports education edition.(If you want to education edition, then just install a version of Minecraft bedrock and in the world creation options, activate cheats and toggle education edition). Secondly, make sure that the architecture of your apk matches with that of your cpu, for example, if your cpu is x86 then the architecture of the apk also should be x86, if you don't own the game and you are on any other architecture than armhf, you might be out of luck, as most of the apk files on the internet are only arm compatible. Thirdly, if it's a relatively new version of Minecraft, then, it takes time for the launcher to support them...

MCMrARM commented 3 years ago

pretty sure education edition is arm only

NoozAbooz commented 3 years ago

pretty sure education edition is arm only

Oh sorry, forgot to mention I'm running a Raspberry Pi.

ChristopherHX commented 3 years ago

I don't have any apk of minecraft edu, but you have..

I'm not shure if the main lib is called libminecraftedu.so, but worth trying.

About failed to stat selected file: make shure the apk is copied to your device's sd card not via mtp or other storage provider.

NoozAbooz commented 3 years ago

I don't have any apk of minecraft edu, but you have..

I'm not shure if the main lib is called libminecraftedu.so, but worth trying.

  • Try renaming lib/armeabi-v7a/libminecraftedu.so to lib/armeabi-v7a/libminecraftpe.so and / or lib/arm64-v8a/libminecraftedu.so to lib/arm64-v8a/libminecraftpe.so inside the apk file (it's just a zip file)
  • Then import again.
  • It may crash now instead, I doubt that it will work

About failed to stat selected file: make shure the apk is copied to your device's sd card not via mtp or other storage provider.

Seems like there isn't a lib folder in the apk file: image

MC Edu edition is free so you can find a few apks scattered around the web.

ChristopherHX commented 3 years ago

There is no lib in assets. lib is a folder next to assets.

so assets/../lib

Also if you have multiple apks just choose the one witg the lib folder in the root

NoozAbooz commented 3 years ago

There is no lib in assets. lib is a folder next to assets.

so assets/../lib

Well uh image

ChristopherHX commented 3 years ago

You need more apks than the base apk like the arm configuration apk.

Otherwise it is a incomplete set of apks

NoozAbooz commented 3 years ago

So something like this? image

NoozAbooz commented 3 years ago

The problem is my RPI is running a 32-bit OS...

ChristopherHX commented 3 years ago

Then you additionally need config.armeabi-v7a.apk if it exists. Or reinstall arm64 os if you have a rpi3 or newer

NoozAbooz commented 3 years ago

Hm... I'll go search around and see if I can find a arm32 one.

NoozAbooz commented 3 years ago

Then you additionally need config.armeabi-v7a.apk if it exists. Or reinstall arm64 os if you have a rpi3 or newer

Say I got a arm32 bit apk, what do I do with it? Do I just copy the lib folder inside it to the base apk?

ChristopherHX commented 3 years ago
  1. open config.armeabi-v7a.apk
  2. rename the libminecraft*.so in lib/armeabi-v7a/ to libminecraftpe.so if it has a different name
  3. save config.armeabi-v7a.apk (use the old zip format or the launcher won't accept it)
  4. select all apks com.mojang.minecraftedu.apk, config.*.apk in the import dialog or it won't accept it at all

I don't believe minecraftedu has an armv7 version