[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

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

Postby Vhati » Mon Jan 21, 2013 5:03 am

Formerly the "ComaToes Profile Editor", this is a 3rd-party tool to edit user files. It depends on resources from the game directory, but the game itself will not be modified.

With this, you can unlock any or all ships and achievements in your user profile, or tweak most aspects of saved games: crew, fires, breaches, stores, etc.


Status
  • FTL 1.5.4-1.6.3 profiles are fully editable. (ae_prof.sav)
  • FTL 1.01-1.03.3 profiles are fully editable. (prof.sav)
  • FTL 1.5.4-1.6.3 saved games are partially editable.
  • FTL 1.01-1.03.3 saved games are fully editable.

Many values in Advanced Edition have not been deciphered (they're labeled with greek letters and question marks). If you see one and recognize its meaning, post here with your suggestion! Diehard researchers may even compare dumps of backups over time with WinMerge to highlight changes that coincide with events in-game.



ALL PROFILES ARE FULLY EDITABLE
AE SAVED GAMES (SINCE FTL 1.5.4) ARE PARTIALLY EDITABLE


Image Image Image


Download

Version 27 - [Windows] - [Mac/Linux]
Version 26 - [Windows] - [Mac/Linux]
Version 25 - [Windows] - [Mac/Linux]
Version 24 - [Windows] - [Mac/Linux]
Version 23 - [Windows] - [Mac/Linux]
Version 22 - [Windows] - [Mac/Linux]
Version 21 - [Windows] - [Mac/Linux]
Version 20 - [Windows] - [Mac/Linux]
...
Version 18 - [Windows] - [Mac/Linux] (Very stable, from before AE-related bugs: for FTL 1.03.3 and earlier)

Uncompiled source is available at GitHub.


Donations

I can accept PayPal donations here, if you feel inclined.
That would be fantastic.


Usage
  • Exit FTL. The game must NOT be running. (It can be at the Main Menu if you're careful.)
    .
  • Double-click FTLProfileEditor.exe (Windows).
    Or FTLProfileEditor.command (Mac/Linux).
    .
  • On the first run, you may be prompted to locate your FTL data file. This is called "data.dat" in the "resources" directory under your FTL install. In most cases, this should be located automatically.
    .
  • Switch to the appropriate tab: "Profile" or "Saved Game".
  • Open a profile (ae_prof.sav / prof.sav) or saved game (continue.sav).
  • Make any desired changes.
  • Save, and close the editor.
  • Fire up FTL and try out your new ship.

Requirements
  • Link: Java (1.6 or higher).
  • Link: FTL (1.01-1.03.1 or 1.5.4-1.6.3, Windows/OSX/Linux, Steam/GOG/Standalone).
    .
  • WinXP SP1 can't run Java 1.7.
    (1.7 was built with VisualStudio 2010, causing a DecodePointer error.)
    To get 1.6, you may have to google "jdk-6u45-windows-i586.exe".


Troubleshooting

On Windows, "FTLProfileEditor_debug.bat" will show you the logs and offer to fix interface glitches.

If you have other problems, check the readme's troubleshooting section.

If all else fails, try asking on this thread.


- - -

Originally ComaToes had written a profile editor. I added saved game editing and started this new thread to continue managing the project. Here's a link to the previous thread.
.
Last edited by Vhati on Wed Jan 17, 2018 6:02 pm, edited 49 times in total.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Wed Jan 23, 2013 2:25 am

therunawaybros615 wrote:I downloaded the file happy that it finally released, but there's one problem: I can't open it. I have the most recent Java and nothing's happening. Is there a fix for this?
No log appears either?

What happens if you do this?:
1) Open a terminal or dos prompt in the editor's directory.
2) Run: java -jar FTLProfileEditor-v12.jar
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Wed Jan 23, 2013 4:35 pm

therunawaybros615 wrote:Nothing happens. It just says "java" is not recognized as an internal or external command,operable program, or batch file" in the command terminal. I have Windows 7.


Looks like your prompt can't find java.exe.
This can be because Java's really not installed (you've said it is, so strike that).
Or the prompt might just not know where to look for java.exe. Not unusual, but irksome at times like this.


Okay, let's help it out with one of the following.

"C:\Program Files (x86)\Java\jre1.x.x_xx\bin\java.exe" -jar FTLProfileEditor-v12.jar
or
"C:\Program Files\Java\jre1.x.x_xx\bin\java.exe" -jar FTLProfileEditor-v12.jar

* You can type a few letters (Progr), then hit tab one or more times to have the prompt autocomplete.
** If no jre's come up when you tab-complete, jdk1.x.x_xx should be fine.

Assuming java exists, I'm thinking it ran when you double-clicked the jar, but java itself complained about something and exited immediately, so you didn't have time to see it. When you finally run it from a prompt, the message will remain, and I'll have info to troubleshoot with.
Baldwebby360
Posts: 15
Joined: Wed Dec 26, 2012 8:46 am

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

Postby Baldwebby360 » Thu Jan 24, 2013 4:35 pm

Odd I just get:
FTL data not found
FTL profile editor will now exit
No way to select a file location or anything.
Kestrel A, Kestrel B, Stealth A, Stealth B, Mantis A, Mantis B, Engi A, Engi B, Cruiser A, Cruiser B, Slug A, Slug B, Rock A, Rock B, Zoltan A, Zoltan B, Crystal A, Crystal B.
Red is locked, green is a win with that ship.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Thu Jan 24, 2013 5:48 pm

therunawaybros615 wrote:I can't open it. I have the most recent Java and nothing's happening. Is there a fix for this?

Since you're unfamiliar with using a prompt, I've made this tool (zipped exe), which searches for Java, and it generates a script that launches the editor and should produce a log.

Put "FTLEditor_LauncherGen_v1.exe" wherever your jar is, and double-click the exe.
Then double-click the generated script, "FTLEditor_Emergency.bat".
Then let me know what's inside "emergency_log.txt".
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Thu Jan 24, 2013 6:09 pm

Baldwebby360 wrote:Odd I just get:
FTL data not found
FTL profile editor will now exit
No way to select a file location or anything.

Maybe the code's guessing an FTL directory that happens to exist, but it can't find a file it wants inside...
I'll make the guessing smarter next time.

For now, are one or more of these locations present?
"C:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light"
"C:\Program Files\Steam\steamapps\common\FTL Faster Than Light"

"C:\Program Files (x86)\GOG.com\Faster Than Light"
"C:\Program Files\GOG.com\Faster Than Light"

And does "(that dir)/resources/data.dat" exist?
Baldwebby360
Posts: 15
Joined: Wed Dec 26, 2012 8:46 am

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

Postby Baldwebby360 » Thu Jan 24, 2013 7:16 pm

Works now thanks alot
Kestrel A, Kestrel B, Stealth A, Stealth B, Mantis A, Mantis B, Engi A, Engi B, Cruiser A, Cruiser B, Slug A, Slug B, Rock A, Rock B, Zoltan A, Zoltan B, Crystal A, Crystal B.
Red is locked, green is a win with that ship.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Thu Jan 24, 2013 7:36 pm

Baldwebby360 wrote:Works now thanks alot

What happened?
Did you have an extra one of those dirs that was empty, and delete it?
Draws
Posts: 3
Joined: Fri Jan 25, 2013 3:04 am

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

Postby Draws » Fri Jan 25, 2013 3:07 am

Ok quick question, how exactly do I modify the saved game values directly? I want to modify my fuel in a saved game, I've dumped the save game data from FLT into a notepad, made the changes, I'm just lost on how to actually get it to come back into the game?
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Fri Jan 25, 2013 3:59 am

therunawaybros615 wrote:It said it couldn't find Java and I have it installed. I even tried re-installing it and NOTHING HAPPENEd.
There's nothing more I can do for you then.