11-13-2020, 03:54 AM
(11-12-2020, 09:47 AM)cambolbro Wrote: Hi,i turned on the Developer menu from the Ludii > Preferences > Advanced screen.
A similar option is already available through the Developer > Compile Game (Debug) menu item. It loads a game from file and tries to compile it with full error logging turned on.
You might have to use the console/terminal to see the error log though, so we'll update that also print the error log to file. And we'll also add a "Debug" button the editors as you suggest, that is enabled when the current game description is parsable.
You can turn on the Developer menu in the User Preferences > Advanced.
Regards,
Cameron
PS. I'll warn you that the error log is very detailed and quite complex, and it can be hard to deduce the actual error among all the noise even for us! So we'll look at simplifying the error log sometime soon.
However, the only games I am allowed to select from the Developer > Compile Game (Debug) screen are the pre-loaded games. There is no Load Game from File option here.
Best Regards,
Woody
Woody