r/MCPE • u/SoySauceSyringe • Feb 20 '13
Yes, you can edit iOS MCPE files without Jailbreaking
So I've posted this in reply to a few comments recently, but it seems like there are a lot of people who aren't aware that you don't need to jailbreak your iDevice to mess with MCPE. I've confirmed this on my non-jailbroken iPhone 5 running iOS 6.1 and MCPE 0.6.1, but it should work for any iDevice and any version of iOS and MCPE.
- Get iExplorer from here: http://www.macroplant.com/iexplorer/
- Get MCPEedit from here: http://www.minecraftforum.net/topic/1205921-pocket-edition-inventory-editor-for-desktop-computers-macwin/ 2b. Update Java. You can maybe skip this if you're up-to-date and/or just lazy, but if MCPEedit.jar won't open then install the latest version of JRE from here: http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
- Connect your device to your computer via USB and open up iExplorer. Look in Apps/MinecraftPE/Documents/games/com.mojang/minecraftWorlds and you should see a folder for each world you have. Copy these folders to your computer (make a MCPE Backup folder on your desktop or something - leave these files alone in case you mess something up and need to restore a backup, maybe even zip and datestamp them). Then copy them again to another folder (MCPE Temp or somesuch).
- Open MCPEedit. Go to the file menu and you'll see you can open level, chunk and entity .DAT files for whatever world you want (from MCPE Temp, leave your backups alone!). Entity files are pretty useless as you can't do a whole lot with them and they don't give you a lot of info, though if you want you can adjust your health or location. Chunk files are only really worth opening if you want to generate a map of your world or move the player location (or mess with it with MCedit or WorldPainter or whatever, but I won't be covering that). The level file has the good stuff - open that up and you can mess with your inventory, time of day, game mode, and view the seed that generated your world. I'm guessing 90% of what people will want to do is switch between survival and creative mode and edit their inventories.
- Edit the file to your heart's content, and then use the File menu to save it. This will generate a new .DAT file, most likely in the same folder as MCPEedit.jar, though that can be changed. Use iExplorer to replace the old file on your device with the new one you edited with MCPEedit.
A couple of notes: the inventory editor cannot add items, it can only change them. I'd recommend emptying your inventory and picking up a few full stacks of cobblestone, sticks, or something else easily obtainable. Make sure these are in the first few slots of your inventory (no blank spots before them). Also, the amount and damage numbers don't seem to make any sense, so I leave them alone and just change the block/item type. MCPEedit also doesn't support some recent items - for instance, it can't figure out what melons are, and you can't turn your items into Glowstone blocks, only Glowstone Dust (so just get dust and assemble the stones in-game). You can also give yourself stacks of tools, which conserves inventory space nicely (though if you un-stack them you can't re-stack them). Also, I always quit to title, hit the home key and quit MCPE when editing files, but I'm not sure if that's all necessary. I would at least quit to title, though, so the world isn't loaded when you're trying to replace the files.
Also note that you can't actually mess with the .app package via iExplorer, which means you can't install texture packs. I think this is a result of system protections implemented in iOS 6 - if someone can figure out a way to get around this or try it on iOS 5, I'd be interested to know.
Anyway. Hope this is at least news to someone, I'm going to feel pretty dumb if you all knew this already! And if you have any trouble, comment here and I'll do my best to help.
2
u/[deleted] Feb 20 '13
Last I tried this, iOS 6 wouldn't allow you to mess with the files
13
u/ASSinAssassin [GT: MoonbootMurphy] Feb 20 '13
I'm happy for our iOS users to hear this.
6
u/BananaPotion potionalabanana Feb 20 '13
Thanks for your time to write all this down! Seems like it's working for most people. :]
5
u/mrepic Feb 20 '13
Confirmed. It worked great to "gift" myself a couple hundred blocks of TNT ( for cave making. No terrorist)
5
u/[deleted] Feb 20 '13
Will you have my babies?
1
u/GrandpaSkitzo Feb 21 '13
Can we get water or lava source blocks from this?
1
u/JohnnyElijasialuk Feb 21 '13
at least i can make Flat World
1
u/JCollierDavis Feb 21 '13
Have a solution to switch from Creative to Survival mode?
1
u/[deleted] Feb 22 '13
Texture packs too?
3
u/[deleted] Feb 20 '13
I'll try this soon! I hope it works! :D
2
u/[deleted] Feb 21 '13
TIL you can also edit your PE worlds with mcedit.
1
u/herpsalot4 Feb 20 '13
Wow, great tutorial! I've used iExplorer before, but haven't used MCPEedit. Should be... shudders in anticipation GOOD
1
u/Thatotherjanitor Mar 13 '13 edited Mar 13 '13
I can't seem to change anything but the time in the Level tab when I open up level.dat.
EDIT: Scratch that. All I need to know is how to change gamemodes. When I open up a level.dat creative world, and try to change the gamemode to survival, an error pops up. Also, when I open up a survival world and try to change the inventory, it says please open a valid file. I had opened up the level.dat file.
0
u/[deleted] Feb 21 '13
Whenever I try to open the .Jar file an error occurs... any fixes?
0
u/[deleted] Feb 22 '13
Just jail break it instead of editing the above and get the app so you can do it from your phone, it's much easier!