Convert TMX files into Lua scripts