[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.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Wed Apr 08, 2015 5:36 pm

FamousDeadGuy wrote:the .exe just opens, loads a few .xmls and then closes. It also is not dumping to the editor log... any ideas?

Have you tried right-clicking the exe to "run as administrator"?
Maybe security permissions in a parent folder (eg program files) interfering with creating a log?

Open a command prompt and run the exe from there, to see what the error is without the window disappearing.
(The prompt itself can be run as admin, too.)
You can save some typing by dragging the exe onto the prompt.

Are you using any mods? One of those might be causing an XML problem.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Fri Apr 10, 2015 12:18 am

OC2142 wrote:
Vhati wrote:
OC2142 wrote:Under Environment, it seems that Red Giant/Pulsat/PDS Level refer to what environmental hazard is present if set to '1'.

Looking back, all my dumps have 0 or 1.
Do values higher than 1 do anything, like a damage/frequency increase?

Can more than one be active simultaneously?


I would love to test this, but I get the feeling that the game would crash. It's likely to be binary-0 means 'Off' while 1 means 'On'.

I tried it. No crash.
0/1 toggle presence. Higher values are set to 1 by the game.
All three can be on together.


Edit: I was testing with a non-combat save. They at least *look* like they can coexist. They may well interfere with each other in practice, if they fight over the same timer (one resetting it before the others trigger).
  • Big white sun in the background.
  • Imminent flare warning.
  • But only the PDS affected the ship.
English Narwhal
Posts: 402
Joined: Tue Dec 03, 2013 9:12 pm

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

Postby English Narwhal » Fri Apr 10, 2015 12:37 pm

Vhati wrote:I tried it. No crash.
0/1 toggle presence. Higher values are set to 1 by the game.
All three can be on together.


Edit: I was testing with a non-combat save. They at least *look* like they can coexist. They may well interfere with each other in practice, if they fight over the same timer (one resetting it before the others trigger).
  • Big white sun in the background.
  • Imminent flare warning.
  • But only the PDS affected the ship.


It's confusing, but they... sort of... operate on separate timers. Sometimes when I test it, they will trigger at the same time, or sometimes they will go in order.
One time, none of them happened.
I think it's partially RNG based.
Image
User avatar
TheOneAndOnlyRuffDuf
Posts: 54
Joined: Thu Jan 08, 2015 6:43 pm

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

Postby TheOneAndOnlyRuffDuf » Tue Apr 21, 2015 9:15 pm

Is the change ship feature dead because of AE? Was reading the old post on it and saw that it is grayed out... IDK, just wondering.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Wed Apr 22, 2015 12:50 am

TheOneAndOnlyRuffDuf wrote:Is the change ship feature dead because of AE?

Currently, yes.

However, I've been working on getting that partially functional for the next release.

Untested, but it ought to let you steal a nearby ship, albeit with all systems de-powered.
You'd need to turn 'em all back on in-game.

Cargo editing is still the only way to change weapons/drones.
DarkLink077
Posts: 1
Joined: Wed Apr 22, 2015 5:46 pm

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

Postby DarkLink077 » Wed Apr 22, 2015 5:50 pm

Hey Vhati, do you know when the next update would be coming out? I really love this tool! :D
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Thu Apr 30, 2015 4:23 am

I'm fussing with the new Sector Tree interface.

Once that's settled, I'll put out the next version.
Banditt
Posts: 2
Joined: Sat Jun 06, 2015 11:19 pm

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

Postby Banditt » Sat Jun 06, 2015 11:26 pm

Experiencing the same issues mentioned by the_killer. Editor refuses to start. Profile log.txt is as follows:

Code: Select all

18:12:50.204 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - FTL Profile Editor v24
18:12:50.220 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - Windows 7 6.1
18:12:50.220 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - Java HotSpot(TM) Client VM, 1.8.0_45, x86
18:12:50.500 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - FTL dats path was not located automatically. Prompting user for location.
18:13:12.091 [AWT-EventQueue-0] INFO  net.blerf.ftl.FTLProfileEditor - FTL dats located at: C:\Users\Owner\Downloads\FTL\resources
18:13:31.232 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Achievements...
18:13:31.232 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/achievements.xml"...
18:13:31.513 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Blueprints...
18:13:31.513 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/blueprints.xml"...
18:13:31.887 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/autoBlueprints.xml"...
18:13:31.997 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/bosses.xml"...
18:13:32.043 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/dlcBlueprints.xml"...
18:13:32.121 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/dlcBlueprintsOverwrite.xml"...
18:13:32.231 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/dlcPirateBlueprints.xml"...
18:13:32.309 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Events...
18:13:32.309 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events.xml"...
18:13:32.449 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/newEvents.xml"...
18:13:32.496 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_crystal.xml"...
18:13:32.527 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_engi.xml"...
18:13:32.543 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_mantis.xml"...
18:13:32.558 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_rock.xml"...
18:13:32.574 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_slug.xml"...
18:13:32.605 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_zoltan.xml"...
18:13:32.621 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_nebula.xml"...
18:13:32.636 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_pirate.xml"...
18:13:32.652 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_rebel.xml"...
18:13:32.667 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/nameEvents.xml"...
18:13:32.667 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_fuel.xml"...
18:13:32.683 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_boss.xml"...
18:13:32.699 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_ships.xml"...
18:13:32.730 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/dlcEvents.xml"...
18:13:32.745 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/dlcEvents_anaerobic.xml"...
18:13:32.777 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Crew Names...
18:13:32.777 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/names.xml"...
18:13:32.792 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Background Image Lists...
18:13:32.792 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_imageList.xml"...
18:13:32.792 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Finished reading FTL resources.
18:13:33.869 [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.setBorder(Unknown Source)
   at net.blerf.ftl.ui.ScorePanel.setRank(ScorePanel.java:234)
   at net.blerf.ftl.ui.ScorePanel.<init>(ScorePanel.java:188)
   at net.blerf.ftl.ui.ProfileShipStatsPanel.setShipId(ProfileShipStatsPanel.java:264)
   at net.blerf.ftl.ui.ProfileShipStatsPanel.resetCombo(ProfileShipStatsPanel.java:300)
   at net.blerf.ftl.ui.ProfileShipStatsPanel.setProfile(ProfileShipStatsPanel.java:313)
   at net.blerf.ftl.ui.FTLFrame.loadProfile(FTLFrame.java:1248)
   at net.blerf.ftl.ui.FTLFrame.<init>(FTLFrame.java:257)
   at net.blerf.ftl.FTLProfileEditor.guiInit(FTLProfileEditor.java:196)
   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$500(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)


Would appreciate any help. Love this game but can't play for crap so I need some help getting those shippies!
Last edited by Banditt on Sat Jun 27, 2015 9:01 pm, edited 1 time in total.
sinsforeal
Posts: 1
Joined: Sun Jun 14, 2015 5:18 pm

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

Postby sinsforeal » Sun Jun 14, 2015 5:20 pm

got this when tried to edit save game

Code: Select all

SavedGame Parser Error

Exception: java.lang.RuntimeException: Not a bool: 2

Stack Trace...
  net.blerf.ftl.parser.Parser.readBool(Parser.java:21)
  net.blerf.ftl.parser.SavedGameParser.readSavedGame(SavedGameParser.java:84)
  net.blerf.ftl.ui.FTLFrame$11.actionPerformed(FTLFrame.java:778)
  javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
  javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

Editor Version: 24
OS: Windows 8.1 6.3
VM: Java HotSpot(TM) 64-Bit Server VM, 1.8.0_25, amd64


File ("ae_prof.sav.bak")...

Code: Select all

0900000002000000010000000c0000004143485f534543544f525f3500000000
0100000001000000010000000100000001000000010000000100000001000000
0100000001000000010000000100000001000000010000000100000001000000
0100000000000000010000000000000000000000000000000000000000000000
050000000b000000546865204b65737472656c10000000504c415945525f5348
49505f4841524414050000060000000000000000000000000000000b00000054
6865204b65737472656c10000000504c415945525f534849505f484152444303
0000040000000000000000000000000000000b000000546865204b6573747265
6c10000000504c415945525f534849505f48415244e000000002000000000000
0000000000000000000b000000546865204b65737472656c10000000504c4159
45525f534849505f48415244c200000002000000000000000000000000000000
0b000000546865204b65737472656c10000000504c415945525f534849505f48
4152448000000001000000000000000000000000000000040000000b00000054
6865204b65737472656c10000000504c415945525f534849505f484152441405
0000060000000000000000000000000000000b000000546865204b6573747265
6c10000000504c415945525f534849505f484152444303000004000000000000
0000000000000000000b000000546865204b65737472656c10000000504c4159
45525f534849505f48415244e000000002000000000000000000000000000000
0b000000546865204b65737472656c10000000504c415945525f534849505f48
415244c2000000020000000000000000000000000000000e0000001f00000031
0000006c0000001202000058040000060000001e000000080000000000000016
000000060000004772616369650500000068756d616e00000000030000000600
0000547572696e670500000068756d616e010000005b0000000900000044722e
204a6f6e6573060000006d616e74697301000000300000000a0000004a656666
2042616172730500000068756d616e01000000030000000a0000004a65666620
42616172730500000068756d616e01000000
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Tue Jun 23, 2015 10:11 am

Banditt wrote:Experiencing the same issues mentioned by the_killer. Editor refuses to start.

Code: Select all

18:13:33.869 [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)


It is refusing to start, but you have a different reason.

Sounds like you have an unusual Windows theme set, and Java's having trouble getting all the info it expects in order to mimic the aesthetics.


Two solutions.

A) Change your Windows theme, and see what happens. Probably not the one you want.

B) Tell the editor to use the default Java UI instead of the native Windows one.
Edit or create "ftl-editor.cfg" with notepad, in the editor's folder, with the following line.

Code: Select all

useDefaultUI=true