xdiesp wrote:Weltall Zero wrote:xdiesp wrote:Thanks that's nice, I will ask you for such a feature after I can complete my work on the utility.
Unless I'm missing something, couldn't you make it so that your utility packs your xml and txt files into a .ftl file, then open it with Superluminal? A .ftl file is just a renamed .zip, after all.
That would be great, but I don't know how to make .ftl files. My way of making the utility is to edit a bunch of files with notepad, and .xml appear readable while .ftl ones are a mess inside.
You can do something as simple as a .bat that zips them all up and then renames the resulting .zip. Just check your .zip utility's command line.
I got an exception that crashed the editor:
java.lang.NullPointerException
at com.kartoflane.superluminal.ui.PropertiesWindow.open(PropertiesWindow.java:178)
at com.kartoflane.superluminal.elements.FTLRoom.mouseDoubleClick(FTLRoom.java:490)
at com.kartoflane.superluminal.core.MouseInputAdapter.mouseDoubleClick(MouseInputAdapter.java:232)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at com.kartoflane.superluminal.core.Main.open(Main.java:446)
at com.kartoflane.superluminal.core.Main.main(Main.java:302)
This can be replicated simply by double clicking a weapon mount point.