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

All your guides, strategy discussions, request for help on how to play go here. Please use [SPOILER] if relevant.

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

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

Also known as the "ComaToes Profile/SavedGame 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, systems, weapons, fires, breaches, etc.


Status
FTL 1.01-1.03.3's files, "prof.sav" and "continue.sav", are fully editable.
FTL 1.5.4's "ae_prof.sav" is fully editable.
FTL 1.5.4's saved game is only partially editable. Ships CAN be edited (excluding systems/weapons/drones).

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.



AE PROFILES ARE FULLY EDITABLE
AE SAVED GAMES ARE PARTIALLY EDITABLE


Download

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)


The code is on GitHub so you can review it (or contribute :) ) here.


Donations

I can accept PayPal donations via SourceForge, or arrange something via PM, 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, 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
  • Paste the contents of "profile-editor-log.txt" between [ code ] tags in a reply on this thread.

screenshot05.png
screenshot05.png (98.4 KiB) Viewed 82035 times

screenshot02.png
screenshot02.png (43.23 KiB) Viewed 149721 times

screenshot04.png
screenshot04.png (41.14 KiB) Viewed 82035 times

- - -

After 3 months of inactivity on github stalled the release of v12, I started this new thread to continue managing the project. Here's a link to the previous thread.
.
Last edited by Vhati on Wed Jun 04, 2014 7:20 am, edited 32 times in total.
Vhati
 
Posts: 683
Joined: Thu Oct 25, 2012 12:01 pm

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

by therunawaybros615 » Tue Jan 22, 2013 10:32 pm

Vhati wrote:Also known as the "ComaToes Profile/SavedGame 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, systems, weapons, fires, breaches, etc.


Latest Version (v12): Download

The code is on GitHub so you can review it (or contribute :) ) here.

Usage

  • Exit FTL. The game must NOT be running.
  • Run the FTLProfileEditor-vXX.jar.
  • On the first run, you may be prompted to locate your FTL data file. This is called "data.dat" and is located in the "resources" directory under your FTL install. If you're running FTL on Windows using Steam or GOG, this file should be located automatically.
  • Open a profile or saved game.
  • Make any desired changes.
  • Save, and close the editor.
  • Fire up FTL and try out your new ship.

screenshot01.png

screenshot02.png

- - -

After 3 months of inactivity on github stalled the release of v12, I started this new thread to continue managing the project. Here's a link to the previous thread.

In other news, GitHub discontinued its downloads section, which is why the compiled jars are hosted on SourceForge.



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?
I will bring PEACE! FREEDOM! JUSTICE! And SECURITY to my new empire! ~Anakin Skywalker
Steam Profile
therunawaybros615
 
Posts: 51
Joined: Fri Oct 05, 2012 8:57 pm

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

by 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: 683
Joined: Thu Oct 25, 2012 12:01 pm

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

by therunawaybros615 » Wed Jan 23, 2013 12:46 pm

Vhati wrote:
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



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. I really want to use the editor... :(
I will bring PEACE! FREEDOM! JUSTICE! And SECURITY to my new empire! ~Anakin Skywalker
Steam Profile
therunawaybros615
 
Posts: 51
Joined: Fri Oct 05, 2012 8:57 pm

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

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

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

by therunawaybros615 » Wed Jan 23, 2013 8:55 pm

Vhati wrote:
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.



*sigh* C:/Program's not recognized now.......I hate my crap computer....
I will bring PEACE! FREEDOM! JUSTICE! And SECURITY to my new empire! ~Anakin Skywalker
Steam Profile
therunawaybros615
 
Posts: 51
Joined: Fri Oct 05, 2012 8:57 pm

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

by 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.
Baldwebby360
 
Posts: 15
Joined: Wed Dec 26, 2012 8:46 am

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

by 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: 683
Joined: Thu Oct 25, 2012 12:01 pm

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

by 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?
Vhati
 
Posts: 683
Joined: Thu Oct 25, 2012 12:01 pm

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

by 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.
Baldwebby360
 
Posts: 15
Joined: Wed Dec 26, 2012 8:46 am

Next

Return to Tips, Strategy & Guides

Who is online

Users browsing this forum: No registered users and 2 guests