MapShot
PostPosted: 09 Mar 2009, 02:28
I got very annoyed by a bug in my minimap renderer and just spent 4 hours fixing it. Yes, it sucked. It was a rather subtle bug, involving the order of a multiplication and an addition somewhere deeply inside an array index calculation that somehow managed to never get out of bounds.
But the result of all this, is that I made a program that takes a map as input and creates a shaded minimap of it. Scaled x2 even (and not just naively scaled up, it calculates the individual lighting and texture values)
Get it here: http://www.freewebs.com/knightsandmerchants/downloads/MapShot.zip
It works as usual, the syntax is just: mapshot path\to\map
Or drag & drop files on it. It can handle multiple files at once.
It'll create a png file with the same name as the map in the same folder.

But the result of all this, is that I made a program that takes a map as input and creates a shaded minimap of it. Scaled x2 even (and not just naively scaled up, it calculates the individual lighting and texture values)
Get it here: http://www.freewebs.com/knightsandmerchants/downloads/MapShot.zip
It works as usual, the syntax is just: mapshot path\to\map
Or drag & drop files on it. It can handle multiple files at once.
It'll create a png file with the same name as the map in the same folder.
