[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.
spudcosmic
Posts: 37
Joined: Wed Jan 29, 2014 12:18 am

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

Postby spudcosmic » Sat Apr 05, 2014 4:47 am

Any word on when this will be updated for AE? I'm not looking forward to unlocking all those C ships.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Sat Apr 05, 2014 6:00 am

spudcosmic wrote:Any word on when this will be updated for AE?

Some additional reverse engineering will be necessary, but from the release notes, I don't expect to see much that's radically new in saved games and profiles.
DragoWhooves
Posts: 2
Joined: Sat Apr 05, 2014 10:54 am

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

Postby DragoWhooves » Sat Apr 05, 2014 10:58 am

I tried to open a save and got an error
Error reading profile
Initial int (assumed to be file format version) not expected value: 7

Code: Select all

11:55:07.795 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - FTL Profile Editor v18
11:55:07.797 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - Windows 7 6.1
11:55:07.797 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - Java HotSpot(TM) 64-Bit Server VM, 1.7.0_51, amd64
11:55:07.848 [AWT-EventQueue-0] INFO  net.blerf.ftl.FTLProfileEditor - Using FTL dats path from config: E:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light\resources
11:55:07.958 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Achievements...
11:55:07.959 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/achievements.xml"...
11:55:08.257 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Blueprints...
11:55:08.258 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/blueprints.xml"...
11:55:08.783 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/autoBlueprints.xml"...
11:55:08.912 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Events...
11:55:09.042 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events.xml"...
11:55:09.153 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/newEvents.xml"...
11:55:09.388 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_crystal.xml"...
11:55:09.412 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_engi.xml"...
11:55:09.437 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_mantis.xml"...
11:55:09.457 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_rock.xml"...
11:55:09.485 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_slug.xml"...
11:55:09.523 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_zoltan.xml"...
11:55:09.549 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_nebula.xml"...
11:55:09.571 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_pirate.xml"...
11:55:09.588 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_rebel.xml"...
11:55:09.608 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/nameEvents.xml"...
11:55:09.619 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_fuel.xml"...
11:55:09.647 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_boss.xml"...
11:55:09.662 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Crew Names...
11:55:09.846 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/names.xml"...
11:55:09.864 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Ship Events...
11:55:09.864 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_ships.xml"...
11:55:09.922 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Background Image Lists...
11:55:09.922 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_imageList.xml"...
11:55:09.935 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Finished reading FTL resources.
11:55:16.155 [AWT-EventQueue-0] ERROR net.blerf.ftl.ui.FTLFrame - Error reading profile. java.lang.RuntimeException: Initial int (assumed to be file format version) not expected value: 7
   at net.blerf.ftl.parser.ProfileParser.readProfile(ProfileParser.java:31)
   at net.blerf.ftl.ui.FTLFrame$4.actionPerformed(FTLFrame.java:409)
   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$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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.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)


I have no mods installed and that was a fresh save

Edit: was in wrong tab

here is what happens in saved game tab
Error reading saved game:
error in first byte (7).

Code: Select all

12:46:06.753 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - FTL Profile Editor v18
12:46:06.756 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - Windows 7 6.1
12:46:06.756 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - Java HotSpot(TM) 64-Bit Server VM, 1.7.0_51, amd64
12:46:06.812 [AWT-EventQueue-0] INFO  net.blerf.ftl.FTLProfileEditor - Using FTL dats path from config: E:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light\resources
12:46:06.932 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Achievements...
12:46:06.932 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/achievements.xml"...
12:46:07.189 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Blueprints...
12:46:07.189 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/blueprints.xml"...
12:46:07.839 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/autoBlueprints.xml"...
12:46:07.988 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Events...
12:46:07.988 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events.xml"...
12:46:08.100 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/newEvents.xml"...
12:46:08.247 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_crystal.xml"...
12:46:08.293 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_engi.xml"...
12:46:08.383 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_mantis.xml"...
12:46:08.437 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_rock.xml"...
12:46:08.464 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_slug.xml"...
12:46:08.532 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_zoltan.xml"...
12:46:08.595 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_nebula.xml"...
12:46:08.647 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_pirate.xml"...
12:46:08.661 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_rebel.xml"...
12:46:08.694 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/nameEvents.xml"...
12:46:08.704 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_fuel.xml"...
12:46:08.725 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_boss.xml"...
12:46:08.737 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Crew Names...
12:46:08.737 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/names.xml"...
12:46:08.755 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Ship Events...
12:46:08.755 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_ships.xml"...
12:46:08.792 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Reading Background Image Lists...
12:46:08.792 [AWT-EventQueue-0] DEBUG net.blerf.ftl.parser.DefaultDataManager - Reading "data/events_imageList.xml"...
12:46:08.806 [AWT-EventQueue-0] INFO  net.blerf.ftl.parser.DefaultDataManager - Finished reading FTL resources.
12:46:15.097 [AWT-EventQueue-0] ERROR net.blerf.ftl.ui.FTLFrame - Error reading saved game. java.io.IOException: Unexpected first byte (7).
   at net.blerf.ftl.parser.SavedGameParser.readSavedGame(SavedGameParser.java:42)
   at net.blerf.ftl.ui.FTLFrame$10.actionPerformed(FTLFrame.java:612)
   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$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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.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 » Sat Apr 05, 2014 11:50 am

DragoWhooves wrote:I tried to open a save and got an error

Error reading profile
Initial int (assumed to be file format version) not expected value: 7

Switch to the appropriate tab: "Profile" or "Saved Game".
THEN open a profile (prof.sav) or saved game (continue.sav).


Currently the editor can only handle saves from FTL 1.03.3 and earlier.
FTL 1.5.4 (Advanced Edition), which just came out, is not yet supported.
onyhow
Posts: 1
Joined: Sun Apr 06, 2014 4:17 pm

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

Postby onyhow » Mon Apr 07, 2014 5:06 am

Hope it's updated for AE soon...my PC crashed while I was playing and my AE save got wiped out...and that goes ALL of my unlocked ships (I managed to unlock everything, now it's gone)

Pre-AE save is ok, but I really don't want to spend time to unlock the ships again...
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Mon Apr 07, 2014 12:58 pm

I'm currently adjusting the saved game parser to cope with the extra mystery bytes that FTL 1.5.4 inserts throughout "continue.sav".

As the parser hits some and crashes, I label their values with greek names (placeholders until I determine their meaning). I can't save a modified file until all those bytes are discovered.

I haven't looked at "ae_prof.sav" yet.


Note: You CAN use the editor to unlock ships, if you don't mind losing progress made since switching to AE.
  • Make backups of "prof.sav" and "ae_prof.sav".
  • Edit the old "prof.sav" (It was created by FTL 1.03.3, or earlier).
  • Delete "ae_prof.sav".
  • Then start FTL. It will read "prof.sav" and generate a new "ae_prof.sav".
okumam
Posts: 6
Joined: Tue Apr 08, 2014 2:21 pm

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

Postby okumam » Tue Apr 08, 2014 2:26 pm

Just registered to say "Thanks for your work." I just got started on FTL with the advanced edition and having limited amount of time to play, your editor is great for unlocking ships. I am looking forward to full compatibility so I can move up to harder levels without worrying about scrap income.
ALEXALEX303
Posts: 1
Joined: Tue Sep 25, 2012 5:12 am

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

Postby ALEXALEX303 » Tue Apr 08, 2014 6:28 pm

We are all very thankful for your hard work and we're waiting for the AE version ASAP.

Thanks again.
okumam
Posts: 6
Joined: Tue Apr 08, 2014 2:21 pm

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

Postby okumam » Tue Apr 08, 2014 9:48 pm

By the way, here's my little contribution: the modified prof.sav does work in the Ipad version ;)
spudcosmic
Posts: 37
Joined: Wed Jan 29, 2014 12:18 am

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

Postby spudcosmic » Tue Apr 08, 2014 11:32 pm

Wait, can you actually use this to unlock the AE type C ships?