[Spoiler] FTL Profile/SavedGame Editor v27 (2018-01-12)

All your guides, strategy discussions, request for help on how to play go here. Please use [SPOILER] if relevant.
awesomeguy42
Posts: 2
Joined: Fri Dec 06, 2013 10:35 pm

Re: [Spoiler] FTL Editor v18 - Unlock ships, Edit SavedGames

Postby awesomeguy42 » Sat Dec 14, 2013 3:28 pm

Vhati wrote:
awesomeguy42 wrote:Hi. I'm using the Linux version of v18, and when running the .command, I get this message in terminal:

Failed to execute child process "/home/neil/Downloads/FTL" (No such file or directory)

It's a bug in quoting paths with spaces.
See if the attached replacement helps.

You may need to chmod this to make it executable.


It seems to have worked, thank you for the help.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: [Spoiler] FTL Editor v18 - Unlock ships, Edit SavedGames

Postby Vhati » Sun Dec 15, 2013 3:06 am

awesomeguy42 wrote:It seems to have worked, thank you for the help.

Thanks for the feedback.
I'll have that fixed for everyone else in the next version. :)
TehTacoGuy
Posts: 2
Joined: Wed Jan 01, 2014 11:40 am

Re: [Spoiler] FTL Editor v18 - Unlock ships, Edit SavedGames

Postby TehTacoGuy » Wed Jan 01, 2014 11:50 am

So... it doesn't open after i select the data.dat file location. Help?

Code: Select all

19:48:00.199 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - FTL Profile Editor v18
19:48:00.200 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - Windows 7 6.1
19:48:00.200 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - Java HotSpot(TM) 64-Bit Server VM, 1.7.0_45, amd64
19:48:00.264 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - FTL dats path was not located automatically. Prompting user for location.
19:48:19.883 [AWT-EventQueue-0] INFO  net.blerf.ftl.FTLProfileEditor - FTL dats located at: D:\Program Files (x86)\Steam\SteamApps\common\FTL Faster Than Light\resources
19:48:19.966 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Achievements...
19:48:19.966 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/achievements.xml"...
19:48:20.138 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Blueprints...
19:48:20.138 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/blueprints.xml"...
19:48:20.623 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/autoBlueprints.xml"...
19:48:20.757 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Events...
19:48:20.757 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events.xml"...
19:48:20.907 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/newEvents.xml"...
19:48:20.937 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_crystal.xml"...
19:48:20.966 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_engi.xml"...
19:48:20.992 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_mantis.xml"...
19:48:21.012 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_rock.xml"...
19:48:21.043 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_slug.xml"...
19:48:21.080 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_zoltan.xml"...
19:48:21.111 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_nebula.xml"...
19:48:21.134 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_pirate.xml"...
19:48:21.152 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_rebel.xml"...
19:48:21.171 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/nameEvents.xml"...
19:48:21.180 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_fuel.xml"...
19:48:21.205 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_boss.xml"...
19:48:21.218 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Crew Names...
19:48:21.218 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/names.xml"...
19:48:21.257 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Ship Events...
19:48:21.257 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_ships.xml"...
19:48:21.304 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Background Image Lists...
19:48:21.304 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_imageList.xml"...
19:48:21.314 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Finished reading FTL resources.
19:48:22.081 [AWT-EventQueue-0] ERROR net.blerf.ftl.FTLProfileEditor - Exception while creating FTLFrame. java.lang.NullPointerException
   at com.sun.java.swing.plaf.windows.XPStyle.getTypeEnumName(Unknown Source)
   at com.sun.java.swing.plaf.windows.XPStyle.getBorder(Unknown Source)
   at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPBorderValue.getXPValue(Unknown Source)
   at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.createValue(Unknown Source)
   at javax.swing.UIDefaults.getFromHashtable(Unknown Source)
   at javax.swing.UIDefaults.get(Unknown Source)
   at javax.swing.MultiUIDefaults.get(Unknown Source)
   at javax.swing.UIDefaults.getBorder(Unknown Source)
   at javax.swing.UIManager.getBorder(Unknown Source)
   at javax.swing.border.TitledBorder.getBorder(Unknown Source)
   at javax.swing.border.TitledBorder.getBorderInsets(Unknown Source)
   at javax.swing.border.AbstractBorder.getBorderInsets(Unknown Source)
   at javax.swing.JComponent.getInsets(Unknown Source)
   at java.awt.GridLayout.minimumLayoutSize(Unknown Source)
   at java.awt.Container.minimumSize(Unknown Source)
   at java.awt.Container.getMinimumSize(Unknown Source)
   at javax.swing.JComponent.getMinimumSize(Unknown Source)
   at javax.swing.BoxLayout.checkRequests(Unknown Source)
   at javax.swing.BoxLayout.preferredLayoutSize(Unknown Source)
   at java.awt.Container.preferredSize(Unknown Source)
   at java.awt.Container.getPreferredSize(Unknown Source)
   at javax.swing.JComponent.getPreferredSize(Unknown Source)
   at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
   at java.awt.Container.layout(Unknown Source)
   at java.awt.Container.doLayout(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validateTree(Unknown Source)
   at java.awt.Container.validate(Unknown Source)
   at java.awt.Container.validateUnconditionally(Unknown Source)
   at java.awt.Window.show(Unknown Source)
   at java.awt.Component.show(Unknown Source)
   at java.awt.Component.setVisible(Unknown Source)
   at java.awt.Window.setVisible(Unknown Source)
   at net.blerf.ftl.FTLProfileEditor.guiInit(FTLProfileEditor.java:173)
   at net.blerf.ftl.FTLProfileEditor.access$000(FTLProfileEditor.java:29)
   at net.blerf.ftl.FTLProfileEditor$1.run(FTLProfileEditor.java:44)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: [Spoiler] FTL Editor v18 - Unlock ships, Edit SavedGames

Postby Vhati » Wed Jan 01, 2014 1:37 pm

TehTacoGuy wrote:So... it doesn't open after i select the data.dat file location. Help?

Code: Select all

19:48:22.081 [AWT-EventQueue-0] ERROR net.blerf.ftl.FTLProfileEditor - Exception while creating FTLFrame. java.lang.NullPointerException
   at com.sun.java.swing.plaf.windows.XPStyle.getTypeEnumName(Unknown Source)

Do you happen to have a custom windows theme?

By default, Java apps have an odd-looking interface.
So the editor overrides that to mimic the appearance of a normal themed window.
But if the OS theme has quirks, Java might be getting confused.

To work around this, run notepad, and write the following:

Code: Select all

useDefaultUI=true

Save it as "ftl-editor.cfg" (no .txt suffix), in the editor's folder.

That should hopefully get the editor working.
TehTacoGuy
Posts: 2
Joined: Wed Jan 01, 2014 11:40 am

Re: [Spoiler] FTL Editor v18 - Unlock ships, Edit SavedGames

Postby TehTacoGuy » Wed Jan 01, 2014 1:45 pm

Vhati wrote:
TehTacoGuy wrote:So... it doesn't open after i select the data.dat file location. Help?

Code: Select all

19:48:22.081 [AWT-EventQueue-0] ERROR net.blerf.ftl.FTLProfileEditor - Exception while creating FTLFrame. java.lang.NullPointerException
   at com.sun.java.swing.plaf.windows.XPStyle.getTypeEnumName(Unknown Source)

Do you happen to have a custom windows theme?

By default, Java apps have an odd-looking interface.
So the editor overrides that to mimic the appearance of a normal themed window.
But if the OS theme has quirks, Java might be getting confused.

To work around this, run notepad, and write the following:

Code: Select all

useDefaultUI=true

Save it as "ftl-editor.cfg" (no .txt suffix), in the editor's folder.

That should hopefully get the editor working.

Yeah, i am using the Midnight custom theme. Thanks for the help! :)
Barbariandude
Posts: 1
Joined: Sun Jan 05, 2014 12:36 pm

Re: [Spoiler] FTL Editor v18 - Unlock ships, Edit SavedGames

Postby Barbariandude » Sun Jan 05, 2014 12:39 pm

I registered an account specifically to say thank you to ComaToes (EDIT: And vhati :) ).

Played the hell out of FTL on release, unlocked everything except the crystal cruiser. Just got back into it 2 days ago, and discovered steam doesn't cloud-sync profiles, so I lost all my progress. This tool saved me having to unlock everything a second time over, so thank you once more :)
Last edited by Barbariandude on Sun Jan 05, 2014 5:51 pm, edited 1 time in total.
UltraMantis
Posts: 2141
Joined: Thu Sep 20, 2012 3:17 pm

Re: [Spoiler] FTL Editor v18 - Unlock ships, Edit SavedGames

Postby UltraMantis » Sun Jan 05, 2014 1:07 pm

Thanks for registering just to say thanks. :)

While i'm here as might also add that Vhati picked up development of the editor after the original development stalled, and deserves kudos. :)
Report spam using the handy Report Button Mod.
Sovereighn2280
Posts: 65
Joined: Mon Oct 08, 2012 1:23 pm

Re: [Spoiler] FTL Editor v18 - Unlock ships, Edit SavedGames

Postby Sovereighn2280 » Mon Jan 20, 2014 11:27 pm

I'm sorry if this has been asked already -- I was WAY too lazy to look for the answer -- but the Editor says I have no unlocked ships or achievements. Any idea why?
digiexafan
Posts: 2
Joined: Tue Feb 18, 2014 5:33 pm

Re: [Spoiler] FTL Editor v18 - Unlock ships, Edit SavedGames

Postby digiexafan » Tue Feb 18, 2014 5:38 pm

My continue.sav appears to have been corrupted. Clicking continue crashes my FTL, and trying to open it in the editor gives me the error: End of stream reached before reading enough bytes for an int. This happened after editing my scrap level and quitting the program. Thank you in advance, and let me know if I need to give more info.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: [Spoiler] FTL Editor v18 - Unlock ships, Edit SavedGames

Postby Vhati » Fri Feb 21, 2014 10:40 pm

digiexafan wrote:My continue.sav appears to have been corrupted. Clicking continue crashes my FTL, and trying to open it in the editor gives me the error: End of stream reached before reading enough bytes for an int. This happened after editing my scrap level and quitting the program. Thank you in advance, and let me know if I need to give more info.

Usually errors happen when opening a saved game in the editor the first time (due to mods). Running the editor a second time clobbered the log, so I can't diagnose what happened.

That particular save will not be salvageable. :roll:
If you manage to recreate the problem, that could be informative.