Instructions for MCPELauncher (Linux)


Made by: Kroe Sufos

Easier Steps

  • git clone https://github.com/minecraft-linux/mcpelauncher-extract.git -b ng
  • cd mcpelauncher-extract
  • cmake CMakeLists.txt
  • make -j$(nproc --all)
  • ./mcpelauncher-extract '<apk-file>' '<directory-where-you-want-your-Minecraft-version>'
  • Install bauh from https://github.com/vinifmor/bauh and search lib32-mcpelauncher-linux
  • mcpelauncher-client32 -dg '<folder-where-you-extracted-the-apk>'

1. Building mcpelauncher-extract

This tool is used to extract files from the Minecraft Bedrock Edition APK.

STEPS:

  1. Clone the repository and navigate to it:
    git clone https://github.com/minecraft-linux/mcpelauncher-extract.git -b ng
    cd mcpelauncher-extract
  2. Generate build files:
    cmake CMakeLists.txt
  3. Compile the bin:
    make -j$(nproc --all)
    This compiles the source code using make. The -j12 option specifies that it should use 12 parallel jobs for faster compilation (adjust this number based on your CPU cores).

2. Extracting the Minecraft APK

Command:
./mcpelauncher-extract '<apk-file>' '<directory-where-you-want-your-Minecraft-version>'

Explanation:

  • ./mcpelauncher-extract: Executes the extraction tool you just built.
  • <apk-file>: Replace this with the actual path to your Minecraft APK file.
  • <directory-where-you-want-your-Minecraft-version>: Replace this with the desired location where the extracted files will be stored.

Example:
./mcpelauncher-extract 'mc 1.21.51x86.apk' '/home/user/mcpe/12151/'
This extracts the contents of mc 1.21.51x86.apk into the /home/user/mcpe/12151/ directory.

3. Installing bauh (for lib32-mcpelauncher-linux)

bauh is a graphical package manager that simplifies the installation of lib32-mcpelauncher-linux.

STEPS:

  1. Go to https://github.com/vinifmor/bauh for installation instructions specific to your Linux distribution.
  2. Follow the instructions on the GitHub page to install bauh on your system.

4. Installing lib32-mcpelauncher-linux

This is a 32-bit compatibility library required to run the extracted Minecraft x86 version, as there isn't publicly available a x86_64 latest Minecraft version (1.21.51).

STEPS:

  1. Launch the bauh application.
  2. Use the search function within bauh to find lib32-mcpelauncher-linux.
  3. Do not select mcpelauncher-ui, it is broken and needs a Google Play account with the game purchased.
  4. Select lib32-mcpelauncher-linux

5. Running Minecraft

Command:
mcpelauncher-client32 -dg '<folder-where-you-extracted-the-apk>'

Explanation:

  • mcpelauncher-client32: This launches the Minecraft client.
  • -dg: This option specifies the directory containing the extracted game data.
  • <folder-where-you-extracted-the-apk>: Replace this with the actual path to the directory where you extracted the Minecraft APK contents (from step 2).

Example:
mcpelauncher-client32 -dg '/home/user/mcpe/12151/'
This launches Minecraft using the game data located in /home/user/mcpe/12151/.

Edit Report
Pub: 02 Feb 2025 09:08 UTC
Edit: 03 Feb 2025 15:46 UTC
Views: 211