Minecraft map editor and viewer
No replies
tertrih
WoM Member
Members
WoM Member: 659682
WoM Coins: 2

Download: Map Item Editor
 
Note:
Map items made with the MapItemEdit can be viewed by anyone in the game, i.e. they don't need to download MapItemEdit to be able to see the map items you made with MapItemEdit. The program is only needed to actually create custom map items.
 
Hi guys!
I have been working on a program that can view and edit minecraft map items.
These are located in your minecraft save folder under the data folder, and are named map_0.dat, and increasing the number from there. I made it mostly because I was interested in making a minecraft tool, and thought making a map item editor would be a relatively easy thing to pull off.
 
In the end it took a bit longer, because I also decided to make a named binary tag library (the data format used by minecraft) to use in the program. My initial version of the program wasn't as robust as a result. Using the library made my life a lot easier, as all the business with big and little endians and the bits and bytes is handled by the library. If you are interested, you can check it out here NBTSharp NBTSharp.
 
Map items in minecraft can only display a small number of colors. Each map item is made up of 16384 pixels, which is 128*128 pixels. When you import a picture, the program takes a sample from your imported picture for each of pixels in the map item. The color matching is limited, but it gets the job done. Besides pictures, you could use a picture editor to write text into a picture and convert that using the program. The program gives the option of either stretching or squash your picture into the 128 pixels, or keeping the aspect ratio the same as the original picture.
 
Another feature of the program is it allows you to edit the properties of the map items. xCenter and zCenter are the point at which the map is based. It defaults to 10000 for new files. Changing scale allows you to make close up or zoomed out maps. Dimension of 0 is for world map, and 1 for nether maps.
 
If you have any tips, suggestions or bug reports, please let me know
 
Enjoy, and keep minecrafting!