Edit 2/1/2011: updated with the latest mcmap, which adds support for new block types (dyed wool, music blocks, etc).
Edit 2/24/2011: updated with the latest mcmap, which adds support for the new Minecraft beta v1.3 map format.
Edit 3/6/2011: updated with the latest mcmap and Minecraft Biome Extractor, which have added support for biome rendering in the new Minecraft beta v1.3 map format.
I was inspired by the work of Donkey Kong on MCMap Live, but since I don't have a mac, I set out to create a similar app for Windows. I used the excellent mcmap command-line mapping tool created by Zahl.
Minemapper determines the total map size, then quickly generate virtual tiles for the entire map. Then, in the background, it uses mcmap to generate small map tile images, loading them in on the fly, similar to Google Maps.
You can pan by dragging with the mouse, and zoom by using the mouse wheel. You can also zoom to selection by holding Ctrl and dragging a rectangle.
I've added support for Minecraft Biome Extractor to show biome colors. Many thanks to these guys for all their hard work!
I've also added rudimentary support for the height slicing that mcmap provides. It's slow the first time you adjust the height for a tile, but after that the image is cached and you can just hold down the buttons to increase or decrease height and it will go extremely quickly.
I added support for cave and nether modes in v0.1.2, as well as manual slice height entry, better image caching, etc.
Let me know what you think, or if you have any problems.
Sweet! It seemed to work great. The only slight issue was when zooming in or out with the mouse scroll wheel it would jump back to it's starting position and I would have to pan over again to where I wanted to look. :-)
It crashes for me now whenever I try to click on the map (to drag my view around). There was no useful error onscreen, just "Minemapper has stopped working." This happens whether or not I have loaded a map into the program.
I have Windows 7 32bit and .NET 4.0 installed. Also, the last version of minemapper worked for me.
Thanks for the bug reports, guys. I've updated Minemapper.
I improved the error handling in a 3rd party library I'm using, and added basic logging support using log4net. If you still have problems, please send me the log file, found in this location:
It doesn't crash anymore, but I can't drag around my view :sad.gif:
The log is huge, but it seems to be this error:
System.InvalidOperationException: The sum of AccelerationRatio and DecelerationRatio must be less than or equal to one.
at System.Windows.Media.Animation.Timeline.ValidateTimeline()
at System.Windows.Media.Animation.Timeline.FreezeCore(Boolean isChecking)
at System.Windows.Freezable.Freeze()
at Microsoft.Sample.Controls.PanAndZoomVirtualCanvas.CreatePanAnimation(Double toValue) in C:\Source\Minecraft\VirtualCanvas\PanAndZoomVirtualCanvas.cs:line 217
at Microsoft.Sample.Controls.PanAndZoomVirtualCanvas.OnMouseMove(Object sender, MouseEventArgs e) in C:\Source\Minecraft\VirtualCanvas\PanAndZoomVirtualCanvas.cs:line 196
2010-11-18 20:16:12,788 [1] ERROR Microsoft.Sample.Controls.PanAndZoomVirtualCanvas
repeated over and over again with different coordinates/times or whatever those numbers are on the last line ('12,788').
I can't recreate the issue, but I've made a change and updated Minemapper, mind downloading and trying again? You can delete the log, if it gets too big. I'll add an option to keep the log below a reasonable size limit later.
Thanks, I added the navigation controls after I made a change that I hoped would take care of the panning error.
Sorry you're still getting the error, I cannot think of how to reproduce it. Is anyone else having the same problem? Have you/can you try it on another machine, see if you get the same error? Does it happen on all worlds? Can you zip one up and send it to me? I think I have a few more things to try to fix the problem, I'll get you a new build later tonight.
Thanks again for your help in trying to fix the problem.
Awesome! :biggrin.gif: It's definitely working a lot better now. I can move around and everything like that.
Only a couple things:
1) If you attempt to zoom while you are dragging your view around, the view moves funny. Not a big error, but still thought I should mention it.
2) I think the zoom slider's values should be tweaked, and the default should be in the middle of the slider. Right now it seems that if you use the slider, you can only go from a normal zoomed-out value to a ridiculously close zoomed-in value.
3) The biomes function doesn't seem to be working. I dunno if you have fully implemented it yet, but if you haven't I would suggest not having it as the default :tongue.gif:
Great news, glad to hear it. Sorry it took so long, thanks for all your help. I still could never reproduce the issue, but I think it's an internal problem with WPF and .NET. I'm going to forward it on to Microsoft.
I'll see what I can do about the zooming while panning issue.
Yeah, the current range on the zoom slider is 50% to 2,500%. I'll probably adjust it to something like 12.5% to 800%. Note that there are no limits in either direction when zooming with the mouse wheel. I will likely be adding other pan and zoom gestures, like double-click to zoom, etc.
Biomes work here, I've tried it on two different machines. You should see Donkey Kong's Minecraft Biome Extractor pop up. I'll probably hide the window later. If not, make sure the java bin folder is in your PATH environment variable (I think the Java installer puts it there by default). You can also manually run the MinecraftBiomeExtractor.jar on your world first. See the Minecraft Biome Extractor topic for more information.
Whoops, yeah the biome thing was actually my bad. I was running Minemapper through a batch file that changed my %APPDATA% folder to the current directory so I could keep the log there without going to %APPDATA% every time, and that makes MBE not work
Here's a video that demos most of the features:
Edit 2/1/2011: updated with the latest mcmap, which adds support for new block types (dyed wool, music blocks, etc).
Edit 2/24/2011: updated with the latest mcmap, which adds support for the new Minecraft beta v1.3 map format.
Edit 3/6/2011: updated with the latest mcmap and Minecraft Biome Extractor, which have added support for biome rendering in the new Minecraft beta v1.3 map format.
Requires the Microsoft .NET Framework 4 Client Profile.
Just Download, unzip, and run minemapper.exe.
Please note, I've changed where I'm hosting this project, and I've uploaded the source.
Please feel free to discuss here, but search for and submit bugs on CodePlex, if you don't mind. It's much easier to track there:
http://minemapper.codeplex.com/discussions
http://minemapper.codeplex.com/workitem/list/basic
I was inspired by the work of Donkey Kong on MCMap Live, but since I don't have a mac, I set out to create a similar app for Windows. I used the excellent mcmap command-line mapping tool created by Zahl.
Minemapper determines the total map size, then quickly generate virtual tiles for the entire map. Then, in the background, it uses mcmap to generate small map tile images, loading them in on the fly, similar to Google Maps.
You can pan by dragging with the mouse, and zoom by using the mouse wheel. You can also zoom to selection by holding Ctrl and dragging a rectangle.
I've added support for Minecraft Biome Extractor to show biome colors. Many thanks to these guys for all their hard work!
I've also added rudimentary support for the height slicing that mcmap provides. It's slow the first time you adjust the height for a tile, but after that the image is cached and you can just hold down the buttons to increase or decrease height and it will go extremely quickly.
I added support for cave and nether modes in v0.1.2, as well as manual slice height entry, better image caching, etc.
Let me know what you think, or if you have any problems.
Thanks for this!
If you're using github for the source, mind linking it? I like to keep a watch set on these repos so I know when there's updates. :happy.gif:
Thanks a bunch for this little tool!
@Obsidian_ no source yet, but I'll post here when there's an update.
I have Windows 7 32bit and .NET 4.0 installed. Also, the last version of minemapper worked for me.
I improved the error handling in a 3rd party library I'm using, and added basic logging support using log4net. If you still have problems, please send me the log file, found in this location:
%APPDATA%\Minemapper\Log.txt
The log is huge, but it seems to be this error:
repeated over and over again with different coordinates/times or whatever those numbers are on the last line ('12,788').
I can't recreate the issue, but I've made a change and updated Minemapper, mind downloading and trying again? You can delete the log, if it gets too big. I'll add an option to keep the log below a reasonable size limit later.
When I zoom using the new buttons or the slider, it works fine. But when I try to press the arrows for moving my view, this happens:
Sorry you're still getting the error, I cannot think of how to reproduce it. Is anyone else having the same problem? Have you/can you try it on another machine, see if you get the same error? Does it happen on all worlds? Can you zip one up and send it to me? I think I have a few more things to try to fix the problem, I'll get you a new build later tonight.
Thanks again for your help in trying to fix the problem.
I've also fixed a problem where as soon as you zoom with the mouse wheel, the zoom control buttons and slider stopped working.
Only a couple things:
1) If you attempt to zoom while you are dragging your view around, the view moves funny. Not a big error, but still thought I should mention it.
2) I think the zoom slider's values should be tweaked, and the default should be in the middle of the slider. Right now it seems that if you use the slider, you can only go from a normal zoomed-out value to a ridiculously close zoomed-in value.
3) The biomes function doesn't seem to be working. I dunno if you have fully implemented it yet, but if you haven't I would suggest not having it as the default :tongue.gif:
I'll see what I can do about the zooming while panning issue.
Yeah, the current range on the zoom slider is 50% to 2,500%. I'll probably adjust it to something like 12.5% to 800%. Note that there are no limits in either direction when zooming with the mouse wheel. I will likely be adding other pan and zoom gestures, like double-click to zoom, etc.
Biomes work here, I've tried it on two different machines. You should see Donkey Kong's Minecraft Biome Extractor pop up. I'll probably hide the window later. If not, make sure the java bin folder is in your PATH environment variable (I think the Java installer puts it there by default). You can also manually run the MinecraftBiomeExtractor.jar on your world first. See the Minecraft Biome Extractor topic for more information.
Everything works now, though :biggrin.gif: