It's fairly simple to make a minecfaft mod with linstub hook,
1st, learn c, it's the programming languages used by mcpe and c0deh4cker for his libstubhook.
Next( unfortunantly I am not a c programmer, but I know what c looks like, that how I know it's in c ), of I am correct a c library is like a JavaScript library for HTML, like jQuery, so you will need to learn what stubhook.h does by going into your root folder of you iOS with ifile( the root folder is the one at the beginning that looks like this / ). If you are now a c programmer you will know how to find out how to do it.
Next look at his examples to see the stubhook commands in use. After that you should be able to code a mod. When coding a mod you don't need anything fancy. For windows use notepad and name modname.c where modname is your mod name make sure there are no spaces.
For iOS just go to your documents folder, which you will see after you click the house looking button on ifile the click edit then click the plus sign then name it modname.c then change where it says directory to file. The click your mod and start coding. For Mac use notes then name it modname.c then start coding. Once you are done your mod move it to your iPhone with ifunbox, I will not explain how to use it, just look up how to transfer files with ifunbox on google. Put your mod in the documents folder .Then you will need to download mobileterminal and gnu c compiler and libstubhook from cydia, they are on the default repos. Open mobileterminal and then write cd Documents don't for get the capital, it is essential. What I just did was move from the user folder to the documents folder so u can select thing in there instead, even though you did not see anything change. Then type su root , what this does is make you the root user like administrator on windows or root on Mac, it lets you perform actions that are not allowed to a normal user, then it will ask for your password, the default pass is alpine. If you changed it, then enter your changed pass(don't ask me how to change your pass). Then type gcc -dynamiclib -o modname.c modname.dylib -lstubhook where modname is what you named your mod, make sure to write capitals if you put caps in your mod. If it gives u an error it's because either u for got to write the caps, did not type the su root command, did not download gnu c compiler, did not write it correctly, or did not type cd Documents, or u forgot to put it in the documents folder. If all goes well, open ifile and u will see a new folder called modname.dylib. Go to you dynamic library folder where u will se a lot of other thing with .dylib at the end, I will not tell you how to get there so look it up on google. Paste you modname.dylib in here, DO NOT TOUTCH ANYTHING ELSE!!! Then click edit then the plus sign then name it modname.plist where modname is EXACTLY the same as your modname, and make sure you change directory to file. Click on it and chose property list Viewer.Then click the plus sign and write Filter with caps and change where it says string to dictionary, then create. Then click Filter and in Filter click plus then write Bundles make sure it has the caps and it is Bundles not Bundle, and change string to array. Then in bundles click the plus and it should only say string and not give you a name option. Click create. Then click on it( it should say 0:) and type com.mojang.minecraftpe then done then done. The go to modname.plist and click the blue arrow on the side and scroll down until you see where it says mobile and then another mobile underneath it, change the first one to root. Then respring you device and you are ready to go.
Btw c0deh4cker pretty much explains half of this, I am just reiterating it.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
1st, learn c, it's the programming languages used by mcpe and c0deh4cker for his libstubhook.
Next( unfortunantly I am not a c programmer, but I know what c looks like, that how I know it's in c ), of I am correct a c library is like a JavaScript library for HTML, like jQuery, so you will need to learn what stubhook.h does by going into your root folder of you iOS with ifile( the root folder is the one at the beginning that looks like this / ). If you are now a c programmer you will know how to find out how to do it.
Next look at his examples to see the stubhook commands in use. After that you should be able to code a mod. When coding a mod you don't need anything fancy. For windows use notepad and name modname.c where modname is your mod name make sure there are no spaces.
For iOS just go to your documents folder, which you will see after you click the house looking button on ifile the click edit then click the plus sign then name it modname.c then change where it says directory to file. The click your mod and start coding. For Mac use notes then name it modname.c then start coding. Once you are done your mod move it to your iPhone with ifunbox, I will not explain how to use it, just look up how to transfer files with ifunbox on google. Put your mod in the documents folder .Then you will need to download mobileterminal and gnu c compiler and libstubhook from cydia, they are on the default repos. Open mobileterminal and then write cd Documents don't for get the capital, it is essential. What I just did was move from the user folder to the documents folder so u can select thing in there instead, even though you did not see anything change. Then type su root , what this does is make you the root user like administrator on windows or root on Mac, it lets you perform actions that are not allowed to a normal user, then it will ask for your password, the default pass is alpine. If you changed it, then enter your changed pass(don't ask me how to change your pass). Then type gcc -dynamiclib -o modname.c modname.dylib -lstubhook where modname is what you named your mod, make sure to write capitals if you put caps in your mod. If it gives u an error it's because either u for got to write the caps, did not type the su root command, did not download gnu c compiler, did not write it correctly, or did not type cd Documents, or u forgot to put it in the documents folder. If all goes well, open ifile and u will see a new folder called modname.dylib. Go to you dynamic library folder where u will se a lot of other thing with .dylib at the end, I will not tell you how to get there so look it up on google. Paste you modname.dylib in here, DO NOT TOUTCH ANYTHING ELSE!!! Then click edit then the plus sign then name it modname.plist where modname is EXACTLY the same as your modname, and make sure you change directory to file. Click on it and chose property list Viewer.Then click the plus sign and write Filter with caps and change where it says string to dictionary, then create. Then click Filter and in Filter click plus then write Bundles make sure it has the caps and it is Bundles not Bundle, and change string to array. Then in bundles click the plus and it should only say string and not give you a name option. Click create. Then click on it( it should say 0:) and type com.mojang.minecraftpe then done then done. The go to modname.plist and click the blue arrow on the side and scroll down until you see where it says mobile and then another mobile underneath it, change the first one to root. Then respring you device and you are ready to go.
Btw c0deh4cker pretty much explains half of this, I am just reiterating it.