Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMTiled

A Tiled to GMS2 Room converter. · By lazyeye

FATAL ERROR when trying to import tile

A topic by Leandro Gabriel created Sep 10, 2020 Views: 232 Replies: 1
Viewing posts 1 to 2

Hi, Lazyeye. First time using your program here.
When I clicked to import the tile to Game Maker, it returned an error. The log says:

Recieved a communication from GM: room_fetch
Set the room_yy.
Sent a communication to GM: room_fetch
Recieved a communication from GM: tileset_fetch
Set the tileset_yy.
Sent a communication to GM: tileset_fetch
Recieved a communication from GM: tiled_fetch
Set the tiled_file.
Sent a communication to GM: tiled_fetch
Recieved a communication from GM: tile_import
Tile import requested.
FATAL ERROR: Expecting property name enclosed in double quotes: line 6 column 194 (char 265)
Sent a communication to GM: error

I've tried to open the files in VSCode to see what could it be and, I found a comma placeholding an inexistent item on line 6, column 194 of the room .yy file, followed by close brace. Maybe GMTiled wasn't expecting this one. I've deleted those pesky commas and... GMTiled returned another error:

Recieved a communication from GM: room_fetch
Set the room_yy.
Sent a communication to GM: room_fetch
Recieved a communication from GM: tileset_fetch
Set the tileset_yy.
Sent a communication to GM: tileset_fetch
Recieved a communication from GM: tiled_fetch
Set the tiled_file.
Sent a communication to GM: tiled_fetch
Recieved a communication from GM: tile_import
Tile import requested.
FATAL ERROR: Expecting value: line 14 column 3 (char 1634)
Sent a communication to GM: error

And that was because of the comma at the end of line 13. Same situation. Again, I've deleted that comma and also every other commas that match same format... The "expecting property name" error returned, but in another line, and I've noted that it was on the Tileset .yy file. So, I've done the same thing on that file: deleted all those commas. After that, when I tried again to import... this was the error log:

Recieved a communication from GM: room_fetch
Set the room_yy.
Sent a communication to GM: room_fetch
Recieved a communication from GM: tileset_fetch
Set the tileset_yy.
Sent a communication to GM: tileset_fetch
Recieved a communication from GM: tiled_fetch
Set the tiled_file.
Sent a communication to GM: tiled_fetch
Recieved a communication from GM: tile_import
Tile import requested.
Generated JSON data succesfully.
FATAL ERROR: 'id'
Sent a communication to GM: error

Now I don't know what it could be hahahhahaha

What could be wrong? GMS2 version is 2.3.0.529

I'm sorry, I've noticed now that it doesn't support GMS2 2.3 and above.

Do you have any plans or figured out how to make it compatible with it?