A user friendly bash script for Termux that automates the whole process of patching Minecraft APK files to load renderdragon material.bin shaders using Draco injector (a repo by mcbegamerxx954, available here)
Made in 1 day with help from chatgpt (for overall queries because I don't know bash very well) and devendrn (helped fix an issue, credited him in code)
Script now updated for v0.1.7 of Draco injector!
Bonus update:
- Cleaner, faster & fancier!
- No more "yes" or "no" questions!
- x86_64 support!
- Put Minecraft apk (make sure it has 'Minecraft' in its name in any way) in Download folder in internal storage
Minecraft from Play Store requires an extra step: Antisplit using Apktool M and then move produced file to Download folder in internal storage
- Download and install termux from GitHub
- Paste this command in Termux and press ENTER to run the script: (For first time using the script)
curl https://raw.githubusercontent.com/CallMeSoumya2063/MineDraco/main/injector.sh > minedraco.sh && bash minedraco.sh
- Read instructions on screen and follow (pressing ENTER accepts your inputs).
Important
Patched APK made by this script only loads shader from Global Resources, and the APK may be buggy or unstable on some devices. Please report APK issues here and mention you used MineDraco for patching.
Note
Make sure you are connected to the internet while running the script. For everytime after the first run, just bash minedraco.sh
is enough. When script is updated, you need to update the script. To run updated script, run the command from step 3. After that, bash minedraco.sh
is enough.
- App Name: This is what you see on your phoneโs screen, like
Minecraft
. While patching, you can input whatever name you want, likeMinecraft Patched
orMinecraft (Patch)
. - Package Name: This is a unique ID used by Android, like
com.mojang.minecraftpe
for Minecraft. While patching, you can input anything likecom.mojang.minecraftpe.patched
orcom.moyang.bugrock.patch
. However, keep the structure of the original name (com.mojang.minecraftpe) or game may crash.
This script uses auto detected architecture of your device to download injector files from GitHub. But you can patch APK for all architectures on any Android device, as any injector can patch Minecraft for any architecture.
Tip
If the patched APK of your Minecraft from Play Store version is showing this: then contact me at my discord
@callmesoumya
for the fix. Please don't spam or abuse the DMs.
Please contribute and post your issues and/or suggestions for further improvements in the project.
Again, special thanks to devendrn and mcbegamerxx954 for their help during the development, and @sparklight77
(discord) for testing the script several times before publish.