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 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.
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.FreezeCore(Boolean isChecking)
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  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