mcpelauncher-1.1/README.md
2026-01-19 20:18:08 +02:00

62 lines
2.0 KiB
Markdown

MCPE Linux Launcher
===================
A fork of [mcpelauncher-linux](https://github.com/MCMrARM/mcpelauncher-linux) (commit from 2017, MCPE 1.1) with additional features and improvements
## Features
- Dedicated server support
- Compatibility fixes for building with the latest GCC
- Other quality-of-life improvements
## Required Packages
### Ubuntu / Debian
Install the necessary dependencies with:
```bash
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install cmake zlib1g-dev:i386 libncurses5-dev:i386 \
libgles2-mesa-dev libegl1-mesa-dev:i386 gcc-multilib g++-multilib \
libx11-dev:i386 linux-libc-dev:i386 uuid-dev:i386 libpng-dev:i386 \
libxext6:i386
```
### Arch Linux
Install the necessary dependencies with:
```bash
sudo pacman -Syu base-devel cmake zlib libpng libx11 libxext libglvnd \
libxrandr libxi mesa lib32-gcc-libs lib32-glibc lib32-mesa lib32-libx11 \
lib32-libxext lib32-libxrandr lib32-libxi
```
Make sure the multilib repo is enabled in `/etc/pacman.conf`.
## Compiling
This app uses cmake so it is enough to do:
```
mkdir build
cmake ..
make
```
## Running
1. Clone this repository
2. Compile the launcher
3. Obtain a x86 MCPE 1.1 apk file
4. After you have downloaded MCPE, place it in the directory where you'll be running this app, and run ./extract.sh _filename_
5. Run the launcher!
If the extract script fails with an error about the .apk not being x86, it means that you have provided it a bad .apk.
## Using the Dedicated Server
1. Create a server.properties file and fill in your settings. An example is located in the root of this repository.
2. Run the server binary that you built earlier
## License and thanks
- Credit goes to [MCMrARM](https://github.com/MCMrARM) for the original source code
- Most of the code in this repo is licensed under BSD. This project uses libc, libstdc++, libz and libm - libraries
extracted from the Android OS. A modified version of libhybris is also included, which is licensed under GPL. This project
also uses the EGLUT library and FMOD library (for sound).