Converting Area files to PNG


I was wondering if anyone has any code they would be willing to share (ROM/ROT) or tips when it comes to trying to take area files and make them png files. It’s something I’ve been wondering about, but have never really dived a whole lot into.

If not, not big deal.

Best Regards,


I believe most of the muds that use this are using something based upon “Samson’s AFK MUD” overland mapping system.

i believe Hades_Kane uses something similar on his MUD?


That is a neat idea, though the fact that they can overlap rooms/exits as it is not a static grid in the area file format it may not come out a a usable image too. But a neat idea none the less.


The closest thing, right off, that I’m familiar with are systems in which world map / wilderness areas are loaded from and saved back to a graphical image file, but I suspect that isn’t what you are looking for.

Either way, the system I’m referring to can be found here for Smaug. With a bit of time and patience, it can be reworked for ROM (I’ve done it).


thought so :slight_smile: We re-worked it for a GodWars style MUD a few years ago! I say we, i mean Jindrak. :stuck_out_tongue:

Was interesting but as you said more of wilderness type of area than standard.


I don’t know where I stashed the C code, but I iterated through areas to generate Graphviz dotty commands.
The dotty commands build a PNG file with an HTML map.
For example: Dwarven Daycare Map


For Worlds of Carnage I didn’t generate a PNG, but I did generate an HTML based map. Essentially I start from the first room in the area and travel the room exits plotting rooms in an XYZ coordinate system and unlinking the room from the list when mapped. After each search process I begin again for the first room left in the list (if there are any at all) which allows me to combine disjoint map segments that may not be accessible via travel. Once complete I combine the disjoint sections into a single map. Overlapping rooms are treated similarly and are plotted aside as a disjoint room. You can see a very small example here:


Well, if you can find it, I’d love to take a peak at it.

Thanks for all the feedback everyone. Looking at how might be the best way to do this.



I wrote the program for converting CircleMUD-style zones to a svg file.

For example

Program source here

With best regards,


Hey Arholly!
I did implement this into Al’haen a looooooooong time ago. The code is in act_wiz.c and right at the bottom. Probably the last 5-6 functions power it.

There’s a link to the file. Might be better just to download the whole thing and poke at it