GithubHelp home page GithubHelp logo

andrew-boyarshin / mcpelauncher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhuowei/mcpelauncher

0.0 4.0 0.0 86.82 MB

source of BlockLauncher, a launcher that patches Minecraft Pocket Edition for Android

Shell 0.09% C 16.96% C++ 14.17% Objective-C 0.09% Python 0.15% Java 68.54%

mcpelauncher's Introduction

BlockLauncher: a custom Minecraft PE launcher for Android

BlockLauncher is a custom Minecraft PE launcher that wraps around Minecraft PE and provides texture pack and patch loading support.

Just choose Options on the main screen, then select a texture pack. It is that easy!

This program loads libminecraftpe.so from the currently installed copy of Minecraft PE, so it should be compatiable with the mod patching features of PocketTool and QuickPatch.

There is a 3-PTPatch limitation on this free version.

Download from the Forums thread.

This program uses aFileChooser by Paul Burke. See https://github.com/zhuowei/aFileChooser for licensing information.

This program contains code from Snowbound's PTPatchTool, licensed under the Eclipse Public License.

The demonstration texture pack, RepetiCraft, is made by Theevilpplz and used with permission.

This program contains a version of Saurik's Cydia Substrate: source at https://drive.google.com/file/d/0B50ApLKOyu8bX3VnRmYzNUcxT0U/edit?usp=sharing

This program uses the libsuperuser library by Chainfire.

This program uses the Rhino JavaScript interpreter.

Building

  1. Download Android NDK and extract it somewhere with NO SPACES. Personally I would put it in: C:/

  2. Download Android SDK and extract it somewhere with NO SPACES. Personally I would put it in: C:/ Also, open SDK Manager and install API 10 and API 17

  3. Download Apache ANT and extract it somewhere with NO SPACES. Personally I would put it in: C:/

  4. Setup Environment variables by pressing START, right clicking on Computer, then clicking "Advanced system settings" on the left side

  5. Under "User variables" add "ANT_HOME" and the value is wherever you saved Apache ANT to. Also in "User variables",
    add a variable called "Path" (if it's not already there). Add to it ";%ANT_HOME%/bin"

  6. Under "System variables" add ANDROID_NDK" and set the value to your ndk path. Then create a ANDROID_SDK system variable and set the value to your sdk path. Also add ";" + you sdk path to the SYSTEM VARIABLE'S "Path"(Not the user variable "Path" made above)

  7. Download these repositories:

    git clone [email protected]:zhuowei/aFileChooser.git
    git clone [email protected]:zhuowei/BlockLauncher-app.git
    git clone https://github.com/Chainfire/libsuperuser.git

  8. You'll also be needing a MCPELauncher source folder with some changes that you'll be testing. I'll assume you're a BlockLauncher developer and have this already.

  9. Extract all of these to the same directory. Personally I would put them all in a folder named "BLBUILD" in your Desktop. I'm going to assume you did this.

  10. Modify all folders in this way: Delete the "-master" in the names of: "MCPELauncher-app" "libsuperuser" Delete the "-prefragments" in the name of: "aFileChooser" Ensure the name of your BlockLauncher build is: "MCPELauncher"

  11. Edit your directories for each folder like this: MCPELauncher: /BLBUILD/MCPELauncher/(files) MCPELauncher-app: /BLBUILD/MCPELauncher-app/(files) libsuperuser: /BLBUILD/libsuperuser/libsuperuser/(files) aFileChooser: /BLBUILD/aFileChooser/aFileChooser/(files)

  12. Edit MCPELauncher/local.properties to point to your sdk

  13. Open your cmd prompt: Type in cd <desktop>/BLBUILD/MCPELauncher Now type: ndk-build This should compile all of BlockLauncher's native code

  14. Type cd <desktop>/BLBUILD/libsuperuser then type android update lib-project -p libsuperuser -t 1 Type cd <desktop>/BLBUILD/aFileChooser then type android update lib-project -p aFileChooser -t 1 Type cd <desktop>/BLBUILD then type android update project -p MCPELauncher-app -t 1 Type cd <desktop>/BLBUILD then type android update project -p <desktop>\BLBUILD\MCPELauncher

  15. Edit project.properties in this way: MCPELauncher: Ensure target=10 aFileChooser: Ensure target=10 libsuperuser: Ensure target=10 MCPELauncher-app: Ensure target=17

  16. Type cd <desktop>/BLBUILD/MCPELauncher-app then type ant clean debug

  17. The build apk is MCPELauncher-app/bin/MCPELauncherApp-debug.apk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.