Re: [Tool] Superluminal 2.1.2b - FTL Ship Editor
Posted: Fri Jun 03, 2016 9:41 pm
Ah, I see. Thank you.
Official Forum for FTL: Faster Than Light and Into the Breach
https://subsetgames.com/forum/
Code: Select all
TRACE EditorWindow - Saving ship as C:\Users\Alfie\OneDrive\Documents\junkyard.ftl
ERROR EditorWindow - An error occured while saving the ship: java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1400(Unknown Source)
at java.util.zip.ZipFile$ZipFileInputStream.read(Unknown Source)
at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at com.kartoflane.superluminal2.utils.IOUtils.readStream(IOUtils.java:258)
at com.kartoflane.superluminal2.utils.ShipSaveUtils.saveShip(ShipSaveUtils.java:233)
at com.kartoflane.superluminal2.utils.ShipSaveUtils.saveShipFTL(ShipSaveUtils.java:66)
at com.kartoflane.superluminal2.ui.ShipContainer.save(ShipContainer.java:381)
at com.kartoflane.superluminal2.ui.ShipContainer.save(ShipContainer.java:395)
at com.kartoflane.superluminal2.ui.EditorWindow.promptSaveShip(EditorWindow.java:1513)
at com.kartoflane.superluminal2.ui.EditorWindow$15.widgetSelected(EditorWindow.java:610)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.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.superluminal2.Superluminal.main(Superluminal.java:307)
That didn't work, but just leaving Superluminal minimized for ages fixed the problem. It seems to be fixed by Superluminal reloading or whatever it is when the loading bar comes up with your ship still there.kartoFlane wrote:Try to save the ship as a resource folder. This is virtually the same as saving as .ftl, except the mod file containing the ship is unpacked. You can then pack it back up into an .ftl file (there's plenty of explanations how to do that around the forums here).
Well that's really weird. Based on the save path, I assume you're running Windows10, so maybe that's why odd things are happening... That OS has caused some bugs in the past for some people.SharkmanBriton wrote:That didn't work, but just leaving Superluminal minimized for ages fixed the problem. It seems to be fixed by Superluminal reloading or whatever it is when the loading bar comes up with your ship still there.
Code: Select all
11:21:36.573 [main] ERROR com.kartoflane.superluminal2.Superluminal - An error has occured and the editor was forced to terminate. java.lang.NullPointerException
at org.eclipse.swt.widgets.Scrollable.sendHorizontalSelection(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Widget.callSuper(Unknown Source)
at org.eclipse.swt.widgets.Widget.scrollWheel(Unknown Source)
at org.eclipse.swt.widgets.Control.scrollWheel(Unknown Source)
at org.eclipse.swt.widgets.Composite.scrollWheel(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Widget.callSuper(Unknown Source)
at org.eclipse.swt.widgets.Widget.scrollWheel(Unknown Source)
at org.eclipse.swt.widgets.Control.scrollWheel(Unknown Source)
at org.eclipse.swt.widgets.Composite.scrollWheel(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Widget.callSuper(Unknown Source)
at org.eclipse.swt.widgets.Widget.windowSendEvent(Unknown Source)
at org.eclipse.swt.widgets.Shell.windowSendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Display.applicationSendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.applicationProc(Unknown Source)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at com.kartoflane.superluminal2.Superluminal.main(Superluminal.java:307)
Unfortunately, it looks like this is a bug with the GUI framework itself that I used to create the editor; meaning, it's not possible for me to fix this myself (not that a new version is likely to happen at this point, anyway).gentasaurus wrote:Also, might not be a priority at the moment, but it appears that trackpad users who try to scroll horizontally when choosing a ship/weapon/drone will get an instant crash. The crash log is below:
Exactly what stylers said. This is covered by FAQ #4.Stormbringer wrote:dear kartoflane: your editor is good and all, but for some reason the textures for green-level glow does'nt display correctly. it shows as a yellow and black checkered thing.