stevearc / godot_parser

Python library for parsing Godot scene files
MIT License
54 stars 11 forks source link

Are there any plans to port it to 4.0? #9

Open HastagGuigui opened 1 year ago

HastagGuigui commented 1 year ago

I was trying to create a tool for helping me in development of my game but realized that this hasn't been updated yet (and trying to parse a 4.0 scene just throws a ParseException), and considering this may be a big rewrite, I just wanted to know if there were any plans for it.

stevearc commented 1 year ago

Sadly I do not have the same amount of spare time that I used to, and I'm not actively working on any projects using Godot. However, I would be surprised if the file format was significantly different. If you can provide some more information about what the new scene files look like and where the parsing is failing, it might be a relatively quick fix

HastagGuigui commented 1 year ago

The biggest change i felt like when porting my scenes from 3.0 to 4.0 would be the change to the tilemap system. And here, I think that's what broke.

Error when attempting to parse

image

Screenshot from where the file fails to parse

image

stevearc commented 1 year ago

The parser was choking because it didn't expect the : character to be there. I've pushed an update, could you try the latest master?