Let Minecraft read the .material.bin file from the resource pack
- Extract the libminecraftpe.so from the apk
- Download from Releases or manually compile the .so file
- Download patchelf and execute the command :
patchelf --add-needed libmaterialbinloader-version-arm64.so libminecraftpe.so
- Put the modified libminecraftpe.so and libmaterialbinloader-version-arm64.so back into the apk
- Signing, installing
Put the .material.bin file into the renderer/materials/ directory of the resource pack (the same directory structure as in assets)
yourshadername
|-renderer
|-materials
|-Put the shader .material.bin files at here
|-manifest.json
|-textures(if you want add)
|-pack_icon_png
- Install Android NDK and add
NDKfolder
\toolchains\llvm\prebuilt\windows-x86_64\bin to your PC's environment variables. - Run
.\build.bat
file and wait it build. - Find the compiled .so file in the
build
folder.
- Install Android NDK and set
NDKfolder
as ANDROID_NDK_HOME - Run
./build.sh
file and wait it build. - Find the compiled .so file in the
build
folder.
This Program is not affiliated with Mojang Studios.