Skip to content

Commit

Permalink
initial armhf support
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX committed Nov 22, 2019
1 parent 3e0f515 commit d00abfd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A fork of MCPE Launcher created by ChristopherHX for the Linux and Mac OS Bedroc
- Character Creator [X]
- Fox [X]
- All MC 1.13 features without crashes [X]
- Xbox Authentication [X], **Currently no Autologin (login each time starting the game!)**
- Xbox Authentication [*], **WORKS ONLY ON x86, x86_64, AMD64, x64, Currently no Autologin (login each time starting the game!)**

# Installation Guide
## Install Prebuilds for Ubuntu
Expand All @@ -22,18 +22,26 @@ https://github.com/ChristopherHX/linux-packaging-scripts/releases
- Then click the green checkmark of the latest commit, click Details (popup)
- Upper right under Artifacts is the download DMG in a .zip

## Build from Source
## Build from Source (gcc < 8.3.0 generates unusable launchers)
- First, make sure you have all needed drivers installed:
`sudo apt-get install g++-multilib libpng-dev:i386 libx11-dev:i386 libxi-dev:i386 libcurl4-openssl-dev:i386 libudev-dev:i386 libevdev-dev:i386 libegl1-mesa-dev:i386 libasound2:i386`
- Next, in the same window, run `git clone --recursive https://github.com/ChristopherHX/mcpelauncher-manifest.git mcpelauncher && cd mcpelauncher`in the home directory.
- x86, x86_64, AMD64, x64: `sudo dpkg --add-architecture i386 && sudo apt-get install g++-multilib libpng-dev:i386 libx11-dev:i386 libxi-dev:i386 libcurl4-openssl-dev:i386 libudev-dev:i386 libevdev-dev:i386 libegl1-mesa-dev:i386 libasound2:i386`
- armhf, arm64:
- `sudo dpkg --add-architecture armhf && sudo apt-get install python3-pip g++-arm-linux-gnueabihf libpng-dev:armhf libx11-dev:armhf libxi-dev:armhf libcurl4-openssl-dev:armhf libudev-dev:armhf libevdev-dev:armhf libegl1-mesa-dev:armhf libasound2:armhf && pip3 install jinja2 ds_store`
- Download https://github.com/ChristopherHX/mcpelauncher-manifest/releases/download/1.12.x.2.armhf.raspbian.buster/mesa.tar.xz and extract to $HOME/mesa
- it should contain `$HOME/mesa/include` and `$HOME/mesa/lib`
- Next, in the same window, run `git clone --recursive https://github.com/ChristopherHX/mcpelauncher-manifest.git mcpelauncher && cd mcpelauncher` in the home directory.
- Also run the following commands below:
- `mkdir -p build && cd build`
- `cmake ..`
- x86, x86_64, AMD64, x64:`cmake ..`
- armhf, arm64:
- `cd ../mcpelauncher-linux-bin && git checkout armhf && cd ../minecraft-symbols/tools && python3 ./process_headers.py --armhf && cd ../../build`
- `CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ cmake -DCMAKE_CXX_FLAGS="-isystem $HOME/mesa/include -latomic" ..`
- `make -j12`

- Finally
- ~~`cd ~/.local/share/mcpelauncher/versions/1.13.X/assets`~~ No longer needed
- `~/mcpelauncher/build/mcpelauncher-client/mcpelauncher-client -dg ~/.local/share/mcpelauncher/versions/1.13.X`
- x86, x86_64, AMD64, x64: `~/mcpelauncher/build/mcpelauncher-client/mcpelauncher-client -dg ~/.local/share/mcpelauncher/versions/1.13.X`
- armhf, arm64: `LD_LIBRARY_PATH=$HOME/mesa/lib LIBGL_DRIVERS_PATH=$HOME/mesa/lib/dri GBM_DRIVERS_PATH=$HOME/mesa/lib OPENSSL_armcap=0 ~/mcpelauncher/build/mcpelauncher-client/mcpelauncher-client -dg ~/.local/share/mcpelauncher/versions/1.13.X`
- Then Minecraft Bedrock 1.13.x will begin to start up. Make sure you replace `1.13.X` with your 1.13.X or 1.14.X installation, otherwise this setup will not work for you

**Before starting the new launcher, please remember to download the game with the original Bedrock launcher QT GUI!**
2 changes: 1 addition & 1 deletion mcpelauncher-client
2 changes: 1 addition & 1 deletion minecraft-symbols
Submodule minecraft-symbols updated 50 files
+1 −1 CMakeLists.txt
+0 −1,205 include/cpprest/astreambuf.h
+0 −608 include/cpprest/asyncrt_utils.h
+0 −456 include/cpprest/base_uri.h
+0 −632 include/cpprest/containerstream.h
+0 −7,048 include/cpprest/details/SafeInt3.hpp
+0 −140 include/cpprest/details/basic_types.h
+0 −97 include/cpprest/details/cpprest_compat.h
+0 −206 include/cpprest/details/fileio.h
+0 −180 include/cpprest/details/http_constants.dat
+0 −64 include/cpprest/details/http_helpers.h
+0 −81 include/cpprest/details/http_server.h
+0 −101 include/cpprest/details/http_server_api.h
+0 −234 include/cpprest/details/http_server_asio.h
+0 −258 include/cpprest/details/http_server_httpsys.h
+0 −89 include/cpprest/details/nosal.h
+0 −14 include/cpprest/details/resource.h
+0 −215 include/cpprest/details/uri_parser.h
+0 −236 include/cpprest/details/web_utilities.h
+0 −61 include/cpprest/details/x509_cert_utilities.h
+0 −1,132 include/cpprest/filestream.h
+0 −744 include/cpprest/http_client.h
+0 −345 include/cpprest/http_headers.h
+0 −352 include/cpprest/http_listener.h
+0 −1,425 include/cpprest/http_msg.h
+0 −536 include/cpprest/interopstream.h
+0 −1,936 include/cpprest/json.h
+0 −587 include/cpprest/oauth1.h
+0 −545 include/cpprest/oauth2.h
+0 −709 include/cpprest/producerconsumerstream.h
+0 −642 include/cpprest/rawptrstream.h
+0 −1,799 include/cpprest/streams.h
+0 −35 include/cpprest/uri.h
+0 −293 include/cpprest/uri_builder.h
+0 −22 include/cpprest/version.h
+0 −655 include/cpprest/ws_client.h
+0 −263 include/cpprest/ws_msg.h
+15 −14 include/minecraft/Xbox.h
+0 −237 include/pplx/pplx.h
+0 −1,093 include/pplx/pplxcancellation_token.h
+0 −84 include/pplx/pplxconv.h
+0 −256 include/pplx/pplxinterface.h
+0 −323 include/pplx/pplxlinux.h
+0 −7,362 include/pplx/pplxtasks.110.h
+0 −7,362 include/pplx/pplxtasks.140.h
+0 −32 include/pplx/pplxtasks.h
+0 −297 include/pplx/pplxwin.h
+0 −162 include/pplx/threadpool.h
+0 −9 src/pplx.cpp
+2 −2 src/symbols.cpp

0 comments on commit d00abfd

Please sign in to comment.