Problem using Defold editor with Windows since yesterday (SOLVED)

Hello!

We have a temporary solution for the problem. It’ll require a small change of the configuration which will have to be reverted once we have a more permanent solution, but it’ll allow most of you to use the editor while we continue to work on the problem. Below follows step by step instructions on how to change the configuration. Please note that this solution has been tested and verified to work on one of our developer machines, we’re posting it to get a fix out as soon as possible. It is possible that you’ll run into problems, if that is the case please use this thread to report problems and solutions so we can all help each other resolving this issue.

  1. Shut down the editor

  2. Download XulRunner 1.9 from Mozilla (direct link here).

  3. Unzip the file xulrunner-1.9.0.17.en-US.win32.zip into the Defold editor directory.
    You should now have a directory xulrunner within the Defold editor directory.

  4. Make a copy of the file Defold.ini and name it Defold.ini.bak.

  5. Open Defold.ini in a text editor that supports unix formatted newlines (notepad++, sublime text or a similar editor. notepad will not work).

  6. Check the absolute path where the Defold editor is located.
    It is important that this path doesn’t contain any spaces.

  7. Add the line -Dorg.eclipse.swt.browser.DefaultType=mozilla to the configuration.

  8. Add the line -Dorg.eclipse.swt.browser.XULRunnerPath=<editor-absolute-path> to the configuration.
    Replace <editor-absolute-path> with the actual absolute path that you checked during step 5.

  9. Start the editor and select File > Open Project, it should now be possible to login again.

Here’s a complete example of my Defold.ini for reference.

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-vm
jre\bin
-vmargs
-Declipse.p2.unsignedPolicy=allow
-Dsun.net.client.defaultReadTimeout=30000
-XX:MaxPermSize=128M
-Xmx1200M
-Djogl.texture.notexrect=true
-Djava.net.preferIPv4Stack=true
-Dorg.eclipse.swt.browser.DefaultType=mozilla
-Dorg.eclipse.swt.browser.XULRunnerPath=E:\Defold-win32.win32.x86\xulrunner

Regards,
The Defold team through Jakob

12 Likes