GithubHelp home page GithubHelp logo

includedberry11 / materialbinloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ddf8196/materialbinloader

0.0 0.0 0.0 52.9 MB

让渲染龙从资源包读取.material.bin文件。Make the RenderDragon read the .material.bin file from the resource packs.

License: GNU General Public License v3.0

Shell 0.02% C++ 0.32% C 99.64% Batchfile 0.02%

materialbinloader's Introduction

MaterialBinLoader

A Frida module let Minecraft read the .material.bin file from the resource pack, just like how we load third-party shaders before.

How to use

  1. Extract libminecraftpe.so from the Minecraft APK.
  2. Download or manually compile the .so files from the Releases.
  3. Download patchelf.
  4. For 32 bit Minecraft run the following command: patchelf --add-needed libmaterialbinloader-arm.so libminecraftpe.so. For 64 bit Minecraft run the following command: patchelf --add-needed libmaterialbinloader-arm64.so libminecraftpe.so
  5. Put the modified libminecraftpe.so and libmaterialbinloader.so file back into the apk
  6. Sign and install.

How to load the shader

Put the .material.bin file into the renderer/materials/ directory of the resource pack (the same directory structure as in assets)

     put your shader name here
         |-renderer
              |-materials
                   |-Put the shader .material.bin files at here
         |-manifest.json
         |-textures(if you want add)
         |-pack_icon.png

How to compile

Windows

  1. Install Android NDK and add NDKfolder\toolchains\llvm\prebuilt\windows-x86_64\bin to your PC's environment variables.
  2. Run .\build.bat file and wait it build.
  3. Find the compiled .so file in the build folder.

Linux

  1. Install Android NDK and set NDKfolder as ANDROID_NDK_HOME
  2. Run ./build.sh file and wait it build.
  3. Find the compiled .so file in the build folder.

Note

This Program is not affiliated with Mojang Studios.

materialbinloader's People

Contributors

ddf8196 avatar devendrn avatar endermanyk avatar includedberry11 avatar

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.