Rangi42 / tilemap-studio

A tilemap editor for Game Boy, Color, Advance, DS, and SNES projects. Written in C++ with FLTK.
https://hax.iimarckus.org/topic/7691/
Other
383 stars 30 forks source link

CSV support #15

Closed Sanqui closed 3 years ago

Sanqui commented 3 years ago

It would be useful if Tilemap Studio could read tilemaps from CSV. For example, the Telefang disassembly currently stores tilemaps in a CSV format (raw). This may be useful for other projects, including non-console ones.

Rangi42 commented 3 years ago

The trouble with this is that CSV isn't a tilemap format, it's a file format. Those numeric values could be plain tile IDs, or RLE-encoded, or tile+attribute pairs, or so on.

That disassembly is using RGBDS, but the readme says "version 0.3.6 or newer". Maybe send them a PR converting to INCBINned tilemaps and current 0.5.1 syntax.

Rangi42 commented 3 years ago

The upcoming release will support importing and exporting CSVs, in any format, not just Plain. Such as tmap.csv+attr.csv pairs:

image

image

Rangi42 commented 3 years ago

@Sanqui Tilemap Studio 4.0.0 is released with CSV import/export support.

image

Sanqui commented 3 years ago

Lovely, thank you for your work!!