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

Re: [Spoiler] FTL Profile/SavedGame Editor v26 (2018-01-07)

Postby Vhati » Sun Jan 07, 2018 6:23 pm

v26 has been released:
  • Fixed a crash when editing shops.
  • Fixed a crash when saving a saved game with missiles/asteroids/explosions.
  • Fixed "Ship" tab doors not repainting after open/closed changes are applied.
  • Fixed "Ship" tab selector overlay not filling visible area to catch mouse events.
  • Fixed "Ship" tab crew mid-walk being placed at their destination.
  • Fixed "Ship" tab battle/repair drone bodies losing their move goals upon saving.
  • Moved "General" tab's Sector and Boss panels into the "Sector Map" tab.
  • Fixed "General" tab's Encounter panel not disabling for old saved game formats.
  • Fixed Crew Records not listing all AE races when editing ("General Stats" tab).
  • Fixed Achievements' dump text repeating 'With Type-B' value for Type-C.
  • Fixed launcher scripts/executable for Java 9 (NoClassDefFoundError: javax/xml/bind).
  • Fixed hidden files not shown when locating FTL resources.
  • Fixed unresolved symlinks when locating FTL resources.
  • Changed the config file's keys from camelCase to underscores.
  • Added RNG-informed previews for sector map layouts.
  • Added a warning when attempting to dump the blank default profile.
  • Added alternate locations to locate FTL resources on Linux.
  • Added 'FTLProfileEditor_debug.bat' for troubleshooting on Windows.
  • Changed logging framework to SLF4J/Logback.
  • Migrated to the Apache HttpComponents library.
  • Made launcher script on OSX find java the recommended way.
  • Made update checking optional and less frequent.

It should be safe to edit during combat again!
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: [Spoiler] FTL Profile/SavedGame Editor v26 (2018-01-07)

Postby Vhati » Wed Jan 10, 2018 4:02 am

Gah! There's a bug in the "Sector Tree" tab.

If you Generate an expanded preview, it will place you one sector farther along than you were.
Linear preview's okay.

So yeah, avoid the sector tree's expanded preview for now. Or if you must peek, don't save.

In other news, 1.6.1+ support is going well. I can already parse the resources and even use them to open 1.5.4-1.5.13 saved games. I can open 1.6.2 saved games without, um fatal, errors, at least while sitting at the first beacon.
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Fri Jan 12, 2018 10:11 pm

v27 has been released:
  • Added support for FTL 1.6.1+ resources.
  • Added partial editing for FTL 1.6.1+ saved games / full editing of profiles.
  • Fixed "Sector Tree" tab's expanded preview advancing on its own.
  • Fixed "Sector Map" preview's excessive re-rolls (isolation threshold raised).
  • Moved "Unlock All" buttons out of the toolbar, into the "Ship Unlocks" tab.
  • Removed the "Extract Dats" button.
  • Backups are restored automatically when saving fails.
  • Added bug report dialogs when saving fails.

FTL 1.6.1+ is now supported.
The sector tree should be safe.
Posts: 6
Joined: Sat Apr 25, 2015 8:21 pm

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

Postby saqib126 » Sun Jan 21, 2018 11:11 pm

I downloaded v27, put it on my desktop ran the .exe and selected ftl.dat in the ftl folder as instruted. I got a error parsing resources. Any way to fix this? I`m trying to modify a run in progress(bug in another mod caused me to lose scrap and a pike beam) Prob worth noting that I am running CE.

EDIT: Looking at the log I do have a NullPointerException: null tried using default ui, but didnt help. Here is original log: https://pastebin.com/NPKe12pf
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Mon Jan 22, 2018 7:20 am

saqib126 wrote:I got an error parsing resources. [...] I am running CE.
I was able to edit after applying the "CE Resource Pack" and "Captain's Edition" mods to FTL 1.6.3.

I can think of two ways that might happen to you.
  • If Slipstream didn't complete the patching process (repacking, which prunes unused entries within "ftl.dat").
    Unlikely. You should always see "ModPatchThread - Repacked 'ftl.dat'" at the end of SMM's log.
  • Or you have another mod that happens to include an empty file among its contents - a circumstance I hadn't accounted for. Or rather, I had a typo that made 0 filesize as a surrogate for unused. If you're eager for a workaround - and if that *was* the problem - you can look inside your mods with 7-Zip (or similar archive tool) and remove the offending 0-byte file, wherever it is.
Posts: 1
Joined: Tue Feb 27, 2018 6:40 pm

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

Postby dvor » Tue Feb 27, 2018 6:47 pm

I have a problem with this editor: It does not run at all. Win10 pro x64

The error message translates to "Main class net.blerf.ftl.FTLProfileEditor could not be found or loaded".

Code: Select all

This script will try to run the Profile/SavedGame Editor.

When it exits, logs will be presented in multiple notepad windows.

Some users reported interface glitches if they had custom Windows themes.
Setting 'use_default_ui=true' in ftl-editor.cfg is a workaround.

Create a new ftl-editor.cfg to do this? (y/N): n

Running the Editor...

Fehler: Hauptklasse net.blerf.ftl.FTLProfileEditor konnte nicht gefunden oder geladen werden
Spawning notepad...

For Java issues, see "launch4j.log"

Missing log: "ftl-editor-log.txt"

Interesting logs can be pasted on the FTL forum between [code] [/code] tags.

This script will now exit.

Code: Select all

Version:   3.10
CmdLine:   C:\Users\XXX\Downloads\ftl-profile-editor-27\skel_win\FTLProfileEditor.exe  --l4j-debug
WOW64:      yes
Working dir:   C:\Users\XXX\Downloads\ftl-profile-editor-27\skel_win\.
Java min ver:   1.6.0
Java max ver:   
64-bit search:   SOFTWARE\JavaSoft\Java Runtime Environment...
Check:      SOFTWARE\JavaSoft\Java Runtime Environment\1.8
Check launcher:   C:\Program Files\Java\jre1.8.0_161\bin\java.exe (OK)
Match:      1.8
Check:      SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_161
Check launcher:   C:\Program Files\Java\jre1.8.0_161\bin\java.exe (OK)
Match:      1.8.0_161
64-bit search:   SOFTWARE\JavaSoft\Java Development Kit...
Check:      SOFTWARE\JavaSoft\Java Development Kit\1.7
Ignore:      1.7
Check:      SOFTWARE\JavaSoft\Java Development Kit\1.7.0_25
Ignore:      1.7.0_025
Check:      SOFTWARE\JavaSoft\Java Development Kit\1.8
Ignore:      1.8
Check:      SOFTWARE\JavaSoft\Java Development Kit\1.8.0_161
Ignore:      1.8.0_161
64-bit search:   SOFTWARE\JavaSoft\JRE...
64-bit search:   SOFTWARE\JavaSoft\JDK...
Runtime used:   1.8.0_161 (64-bit)
Main class:   net.blerf.ftl.FTLProfileEditor
Add classpath:   FTLProfileEditor.jar
Launcher:   C:\Program Files\Java\jre1.8.0_161\bin\java.exe
Launcher args:   -XX:+IgnoreUnrecognizedVMOptions --add-modules=java.xml.bind -classpath ".\FTLProfileEditor.jar;FTLProfileEditor.jar" net.blerf.ftl.FTLProfileEditor 
Args length:   150/32768 chars
Exit code:   1
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Tue Feb 27, 2018 9:05 pm

dvor wrote:I have a problem with this editor: It does not run at all. Win10 pro x64

Code: Select all


You downloaded a snapshot of uncompiled source code from GitHub.

Functional releases are hosted at SourceForge.

(The front page had a link but you missed it)
Posts: 1
Joined: Mon Jun 04, 2018 2:03 am

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

Postby CabooseR » Mon Jun 04, 2018 2:06 am

Hello! I've been able to run the FTL editor, and it successfully detected my ftl.dat folder, but when I attempt to open ftl.dat, I get an out of memory error. Anyone know what's going on?

Here's the error log:

INFO FTLProfileEditor - Using FTL dats path from config: C:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light
INFO DefaultDataManager - Reading text...
INFO DefaultDataManager - Reading Achievements...
INFO DefaultDataManager - Reading Blueprints...
INFO DefaultDataManager - Reading Events...
INFO DefaultDataManager - Reading Crew Names...
INFO DefaultDataManager - Reading Sector Data...
INFO DefaultDataManager - Reading Background Image Lists...
INFO DefaultDataManager - Finished reading FTL resources.
INFO FTLFrame - Opening profile: C:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light\ftl.dat
ERROR FTLFrame - Uncaught exception in thread: Thread[AWT-EventQueue-0,6,main]
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)
at java.lang.AbstractStringBuilder.append(Unknown Source)
at java.lang.StringBuilder.append(Unknown Source)
at net.blerf.ftl.ui.FTLFrame.actionPerformed(FTLFrame.java:586)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Sun Jun 10, 2018 10:14 pm

CabooseR wrote:INFO FTLFrame - Opening profile: C:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light\ftl.dat

You only point to "ftl.dat" during setup.

That file provides background context with which to interpret profiles ("ae_prof.sav") and saved games ("continue.sav"). Switch to the appropriate tab, click the "Open..." button, and choose one of those files instead. You should find those in your Documents/ folder.
Posts: 5
Joined: Wed Sep 12, 2018 10:00 am

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

Postby CommandZomb » Mon Sep 17, 2018 12:00 pm

What does it mean to switch to the appropriate tab?

Who is online

Users browsing this forum: No registered users and 17 guests