map-preview 2

Something else for Armagetron? Goody!
Post Reply
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

map-preview 2

Post by dlh »

I rewrote map-preview — it is now in SVN (tools/map-preview). The new version is the same length as the old, but much more maintainable.

There was a bug in Rmagick's RVG (Ruby Vector Graphics) implementation that will cause maps with minimum boundaries not equal to (0,0) to be rendered incorrectly. The next version of Rmagick will include the fix, or apply share/RMagick-1.13.0-stretchable-2.patch. There also is another bug in ImageMagick itself (see attached), and it only happens on one of Your_mom's maps.
Attachments
ImageMagick bug
ImageMagick bug
just a map-preview...
just a map-preview...
User avatar
philippeqc
Long Poster - Project Developer - Sage
Posts: 1526
Joined: Mon Jul 12, 2004 8:55 am
Location: Stockholm
Contact:

Post by philippeqc »

Hi,

as you have the code fresh in your mind, could I suggest some minor improvement?
a) The ability to give the previewer a url where the map is located. (*)
b) Automatic size detection
c) Some visual of the axes in use

Keep the good work, the map preview is one kick ass usefull tool.

-ph

* not my idea
Canis meus id comedit.
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

philippeqc wrote:a) The ability to give the previewer a url where the map is located. (*)
Or, if you don't wanna make the previewer download stuff from any site, just have it take a resource identifier and try to download it from http://resource.armagetronad.net/resource/ .

Another thing I'd like is an ability to see the effect of zones, ie winzones in green, killzones in red and fortress zones in yellow or blue or any color.
There's no place like ::1
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

Looking good.

I would also like to be able to throw a hole bunch of maps at it in bulk.
ie, point to a directory full of maps and get a whole crop of like named .png image files.

How about the option to render the map to scale. So a nano map 48x84 would be tiny in comparison to a normal fortress map 500x500. I know you can specify size, but to do it to scale would make like a lot easier.

How about showing multiple spawn points for team play? Where you can specify how many players per team and the spawn points could be shown accordingly.
Post Reply