[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 v16 - Unlock ships, Edit SavedGames

Postby Vhati » Sun Sep 22, 2013 11:37 am

gasomatic wrote:the editor just does not want to launch
Does the log say anything after you double-click "FTLProfileEditor-v16.jar" and it crashes?
(Paste here in [ code ] tags)

You might try JarFix if the problem is that Windows somehow got confused about how to run jars.

gasomatic wrote:I've downloaded the emergency launch tool you made. pops up a cmd window with nothing in it, after two seconds it closes automatically without telling me anything.
I assume you made it through the popups about finding Java... Does "emergency_log.txt" say anything after you double-click "FTLEditor_Emergency.bat"?

gasomatic wrote:it could be i have mods installed i guess, but that didn't stop it from working last time.

Typos in many mods can cause the editor to crash as it starts up (complaining about bad XML in the log file).
But Slipstream Mod Manager should be correcting typos as it patches nowadays, so I'm curious what mods you're using, if any.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Mon Sep 23, 2013 12:25 pm

.
v17 has been released:
  • Added platform-specific launchers to double-click instead of the jar.
  • Added readmes.
  • Cleaned up some dodgy code when initially prompting for FTL's location.
  • Revised the initial stats of ships spawned by the "Change Ship" tab.
  • Renamed the log file to end in ".txt".

A few important things changed under the hood, as code from Slipstream was incorporated: notably the more robust XML parser and the Java port of FTLDat.


The jar has been renamed, so the emergency launcher will no longer work.
The new exe makes that troubleshooting tool obsolete anyhow. ;)
mada4910
Posts: 2
Joined: Sun Sep 29, 2013 3:36 am

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

Postby mada4910 » Sun Sep 29, 2013 3:40 am

Hello. I downloaded this program to see if i could create some god ship, but i cannot get the program to work. I have a cracked version of the game to see how i like it before i by the full one. Here is the contents of my logs


23:36:20.077 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - FTL Profile Editor v17
23:36:20.080 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - Windows 8 6.2
23:36:20.080 [AWT-EventQueue-0] DEBUG net.blerf.ftl.FTLProfileEditor - Java HotSpot(TM) Client VM, 1.7.0_25, x86
23:36:23.560 [AWT-EventQueue-0] INFO net.blerf.ftl.FTLProfileEditor - FTL dats located at: C:\Program Files (x86)\FTL\resources
23:36:23.574 [AWT-EventQueue-0] ERROR net.blerf.ftl.FTLProfileEditor - Error parsing FTL resources. java.io.FileNotFoundException: C:\Program Files (x86)\FTL\resources\data.dat (Access is denied)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(Unknown Source)
at net.vhati.ftldat.FTLDat$FTLPack.<init>(FTLDat.java:458)
at net.vhati.ftldat.FTLDat$FTLPack.<init>(FTLDat.java:453)
at net.blerf.ftl.parser.DefaultDataManager.<init>(DefaultDataManager.java:87)
at net.blerf.ftl.FTLProfileEditor.guiInit(FTLProfileEditor.java:162)
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$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.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)
Any help??????
mada4910
Posts: 2
Joined: Sun Sep 29, 2013 3:36 am

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

Postby mada4910 » Sun Sep 29, 2013 3:51 am

java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)

INFO FTLProfileEditor - FTL dats located at: C:\Program Files (x86)\FTL\resources
ERROR FTLProfileEditor - Error parsing FTL resources. java.io.FileNotFoundException: C:\Program Files (x86)\FTL\resources\data.dat (Access is denied)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(Unknown Source)
at net.vhati.ftldat.FTLDat$FTLPack.<init>(FTLDat.java:458)
at net.vhati.ftldat.FTLDat$FTLPack.<init>(FTLDat.java:453)
at net.blerf.ftl.parser.DefaultDataManager.<init>(DefaultDataManager.java:87)
at net.blerf.ftl.FTLProfileEditor.guiInit(FTLProfileEditor.java:162)
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$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.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 ran the program on page 1 to find the emergency file. here is the results
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Sun Sep 29, 2013 10:22 am

Windows is trying to protect "C:\Program Files (x86)" from tampering.

Right-click FTLProfileEditor.exe and "run as administrator".


The Profile/SavedGame Editor only needs *read* access, but a recent update had it asking for authority to read/write, which requires admin privileges. It never actually writes the game's resources, so that's a bug.
I'll fix that in the next version.
Coolguybest
Posts: 5
Joined: Fri Oct 05, 2012 10:03 pm

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

Postby Coolguybest » Sat Oct 26, 2013 6:21 pm

I can't seem to edit the power available ("Reserve Capacity"). I can change it, and if I open a system later on, and it says it's changed, but when I save the ship and either open it in FTL or reopen it in this editor, the power returns to what it was before.

It may be relevant, but I was trying to set the power to 1 on the Zoltan B and earlier tried to max the power on the Crystal B. Didn't work either time- it seems to work with any other item, but power available just doesn't seem to work.

Am I missing something? Did I do something wrong?
Thanks in advance.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Sat Oct 26, 2013 8:42 pm

Coolguybest wrote:I can't seem to edit the power available ("Reserve Capacity"). I can change it, and if I open a system later on, and it says it's changed, but when I save the ship and either open it in FTL or reopen it in this editor, the power returns to what it was before.


You found a bug. Reserve Capacity wasn't getting saved.

I'll release an update soon to address that. Thanks!
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Sat Oct 26, 2013 9:19 pm

.
v18 has been released:
  • Fixed a bug that prevented saving changes to a ship's "Reserve Power Capacity".
  • The editor no longer needs to be run as an admin on Windows (a bug introduced in v17).
awesomeguy42
Posts: 2
Joined: Fri Dec 06, 2013 10:35 pm

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

Postby awesomeguy42 » Fri Dec 06, 2013 10:38 pm

Hi. I'm using the Linux version of v18, and when running the .command, I get this message in terminal:

Failed to execute child process "/home/neil/Downloads/FTL" (No such file or directory)

I'm running Ubuntu 12.04 LTS, if someone could help me I'd appreciate it.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Fri Dec 06, 2013 10:59 pm

awesomeguy42 wrote:Hi. I'm using the Linux version of v18, and when running the .command, I get this message in terminal:

Failed to execute child process "/home/neil/Downloads/FTL" (No such file or directory)

It's a bug in quoting paths with spaces.
See if the attached replacement helps.

You may need to chmod this to make it executable.