Hi guys, been a while. I decided my last approach at map editing was impractical, so I tried using Tiled (
http://www.mapeditor.org/ ) and translating its output into something I can use instead. Thought I'd share what I came up with, sorry that it's more VBA macros.
Brief description of what they all do:
* DrawPaletteSheetFromHex - Renders a palette sheet according to the hex values in it
* DrawTileSet - Renders tile set in a different palette
* ExportMapAsBitmap - Creates a 16-color bitmap image of your map, using the tile set and palettes in the excel file (uses the sheet labelled "TILE SET").
* ExportSNESMap - Creates a .inc file containing your map in a WLA-readable format.
* ExportTilesetAsBitmap - Creates a 16-color bitmap image of your tileset (for use in Tiled)
* ExportTMX - Creates a .tmx file for Tiled of the active map sheet. Can add layers as desired. Object layer support pending
* ImportPalettes - Reads data from a SNES-formatted file to populate Palettes worksheet
* ImportSNESMap - Reads a text file containing a map in a WLA-readable format and dumps it to a new worksheet
* ImportSNESTileSet - Reads a text file containing a tile set in a WLA-readable format and dumps it to a new worksheet
* ImportTMX - Creates map sheets and object list sheets as needed to dump data from a Tiled .tmx file into excel
* PaletteShiftMap - For tweaking palette numbers en masse in map sheets. The macro explains how it's used in detail when you run it.
Things to know:
* As before, edit the VBA code and change "rootpath" at the top to somewhere you'd like the program to save files to before first use. Default is "E:\SNES\"
* Tiled supports V/H tile flipping, but also tile rotation. Rotated tiles will cause errors of some sort.
* Tiled has no direct way of handling palettes or priority of tiles
* Tiled requires at least one tile set in a TMX file. When writing a TMX file this program presumes a generic 256x128 file TileSet.bmp to be present for the tmx file to use.
* Supports up to 4 tile sets in 1 file
* Macros designed with 16x16 tile size in mind, if you encounter 8x8 problems let me know
If people find this useful I'm willing to maintain and expand this set of tools to improve it. Let me know what you think, if anyone here tries it out.