[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.
Scaratel
Posts: 8
Joined: Thu Aug 08, 2013 7:51 pm

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

Postby Scaratel » Fri Aug 09, 2013 3:25 am

After I ran the .jar and pathed to data.dat, I got the following: "Error parsing FTL data files." Then the program closed. I don't know what that means. I have the latest java and such. Any help please?

EDIT: Turns out that a different mod that altered my data.dat was giving me hassle. After putting in a clean data.dat, the program ran fine.
ImageThe shadows are my armour and arrows are my words.
19acomst
Posts: 32
Joined: Sun Aug 25, 2013 3:05 pm

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

Postby 19acomst » Fri Sep 13, 2013 8:33 pm

So, when i open up the .jar file for the first time, it says something like "find the data.dat. it gives me a window with all the files and my computer and stuff. so, i locate data.dat. i click ok. then, it creates "FTLeditor.cfg". i can't use the program anymore. the cfg does nothing. any suggestions?
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Fri Sep 13, 2013 9:01 pm

19acomst wrote:i can't use the program anymore.

Find "ftl-profile-editor.log" in the same location as the jar.

Copy/paste its contents in a reply here inside [ code ] ... [ /code ] tags.

Or attach the log.
(When composing the reply, look below the submit button for "upload attachment".)


By the way, are you using any mods? If so, which ones?
19acomst
Posts: 32
Joined: Sun Aug 25, 2013 3:05 pm

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

Postby 19acomst » Fri Sep 13, 2013 11:17 pm

Oh. nevermind. i had a mod installed. now i dont and it works. thanks!
gasomatic
Posts: 4
Joined: Sun Aug 04, 2013 4:44 am

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

Postby gasomatic » Sun Sep 22, 2013 11:07 am

ughh. I've spent hours trying to figure this out. the editor just does not want to launch :cry: . I've downloaded the emergency launch tool you made. it pops up a python cmd window with nothing in it, after two seconds it closes automatically without telling me anything. what i don't get is how this used to work fine. it could be i have mods installed i guess, but that didn't stop it from working last time. please help me get this solved. :) if you want you can send an email to me at cpt.gastard@gmail.com

dont juge the email, its a yogscast reference. :lol:
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.

Who is online

Users browsing this forum: No registered users and 6 guests