Csv Export Options?

Is there any way to set empty tiles to export as “0” when exporting to csv? I am using the csv’s in flixels tilemap class and it messes it up, I know I can just replace -1 with 0 with a text editor after exporting, but I want to skip that step

What about writing a quick command line tool that does a regex (if at all needed) search & replace?

I think you can also write your own exporter plugin or script.

Replacing all -1 with 0 will effectively make all empty tiles the same as the first tile in the tileset. If that is what you want, what about filling your map with the first tile in your tileset? Apart from getting rid of -1 entries, you’d have the advantage that the map in Tiled looks more like the map would look in your game.