I'm working on this for a couple days, it's now usable, even if it still miss a lot of things.
To use it, just draw the layout of your dungeon in any drawing program capable of saving a PNG, 1 pixel for 1 tile of the map. Each color you use will be a different material/item/other, for the moment, you could only use 25 color plus white (white is the default tile, the empty one, displayed as a dot like in the scripts).
I know it's ugly, miss lot of features, not very secured, but, I'll correct all of this
Here for the link!
http://helltgivre.free.fr/ivan/
And an example of the result (something you'll reconize
)
http://helltgivre.free.fr/ivan/code.php