TileStudio ( http://tilestudio.sourceforge.net/ ) is very good too. You can customize the output file(s) it genarates and is not difficult to load the maps in any language. There are examples for BlitzBasic it the website, and I made functions for loading and drawing the maps in BlitzMax in a couple of hours.