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

Postby Vhati » Thu Feb 28, 2013 6:24 pm

Forte wrote:Can someone please make a how to video because i cant figure out what to do after i open the Ftl profile editor jar in winRAR
The jar is supposed to run when you double-click it.
If you have Java installed, you should be able to either...

Tell WinRAR to stop handling jars.
  • Start WinRAR
  • Options Menu->Settings
  • Switch to the "Integration" Tab.
  • Uncheck the association with JAR.
OR

Tell Java to take over.
  • Right-click FTLProfileEditor-v15.jar
  • "Open with"
  • "Choose program"
  • Select "javaw" from the list.
  • See if it runs, then repeat the steps and select "always use the selected program for this kind of file".
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Wed Mar 06, 2013 6:24 pm

*Bumping this above the old thread.*
mqstout
Posts: 71
Joined: Mon Sep 17, 2012 5:48 pm

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

Postby mqstout » Thu Mar 14, 2013 6:23 pm

What do the arrows on the sector tab for continue.sav do? There's no tooltip, nor do they seem to do anything when I click.

Is there a way to change the type of the current sector, or is that always derived by the sector tree seed? I don't see enough data yet deciphered to reconstruct the sector tree information (current sector location on the tree in particular).

EDIT: I see the sector tree breadcrumbs on the dump. NM on the second.
EDIT2: On a reload, the tooltips for the arrows was displayed and worked. However, once you click on any of the select buttons at the bottom, the arrows again quit working.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Thu Mar 14, 2013 10:26 pm

mqstout wrote:I don't see enough data yet deciphered to reconstruct the sector tree information (current sector location on the tree in particular). [...] I see the sector tree breadcrumbs on the dump. NM.
Yeah, that's all the information there is in continue.sav.
T/F to mark each dot visited (top-to-bottom, left-to-right).
Best I could manage was rolling back the sector (setting rightmost T's to F's).

Like the map, I can't know how many dots belong in each column or which ones connect, but even then I couldn't say anything else about the dots.

You could probably roll back to sector 2 and scramble the tree with a new seed though. The first column always has 1. The second usually has 2, IIRC. And they always connect to the first column's dot.
Note: If the second column had 3 dots, and you'd been at the bottom one ([T][FFT]FFFF...), scrambling to a tree with fewer could move that dot to the next column ([T][FF][TFFF]F...), which would be bad.

mqstout wrote:On a reload, the tooltips for the arrows was displayed and worked. However, once you click on any of the select buttons at the bottom, the arrows again quit working.
Like in the ship tabs, you can right-click to cancel selection to get at those arrow buttons again.
I forgot to add that reminder to the top, so thanks for mentioning this. :)
SilverCloud
Posts: 3
Joined: Fri Apr 05, 2013 12:29 pm

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

Postby SilverCloud » Fri Apr 05, 2013 12:47 pm

<?xml version="1.0" encoding="UTF-8"?>
<configuration status="warn">
<appenders>
<Console name="Console" target="SYSTEM_OUT">
<ThresholdFilter level="INFO" onMatch="ACCEPT" onMismatch="DENY" />
<PatternLayout>
<pattern>%-5level %logger{1} - %msg%throwable%n</pattern>
</PatternLayout>
</Console>
<File name="LogFile" fileName="ftl-profile-editor.log" append="false">
<ThresholdFilter level="DEBUG" onMatch="ACCEPT" onMismatch="DENY" />
<PatternLayout>
<pattern>%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%throwable%n</pattern>
</PatternLayout>
</File>
</appenders>
<loggers>
<logger name="net.blerf.ftl" level="trace" additivity="false">
<appender-ref ref="Console"/>
<appender-ref ref="LogFile"/>
</logger>
<root level="error">
<appender-ref ref="Console"/>
<appender-ref ref="LogFile"/>
</root>
</loggers>
</configuration>

------------------------

<?xml version="1.0" encoding="UTF-8"?>
<configuration status="warn">
<appenders>
<File name="LogFile" fileName="ftl-profile-editor.log" append="false">
<PatternLayout>
<pattern>%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%throwable%n</pattern>
</PatternLayout>
</File>
</appenders>
<loggers>
<logger name="net.blerf.ftl" level="trace" additivity="false">
<appender-ref ref="LogFile"/>
</logger>
<root level="error">
<appender-ref ref="LogFile"/>
</root>
</loggers>
</configuration>

------------------

There's two log thingies there that I can't make heads or tails out of. Told java to run the program and got a "java exception". Got any clue what's going on here?
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Fri Apr 05, 2013 2:17 pm

SilverCloud wrote:There's two log thingies there that I can't make heads or tails out of.

Uh, those are log4j2.xml and log4j2-trace.xml. Related to the logging library, but not logs themselves.
They're supposed to be hidden inside the jar.

These should be the only files in the editor's folder:
  • FTLProfileEditor-v15.jar
  • ftl-editor.cfg (created on first run)
  • ftl-profile-editor.log (created on first run)

To run the editor:
Double-click FTLProfileEditor-v15.jar.

OR if there's no log:
  • Open a command prompt
  • Type this and hit enter: cd "c:\location\of\FTLEditor"
  • Type this and hit enter*: FTLProfileEditor-v15.jar

* Edit: Should be: java -jar FTLProfileEditor-v15.jar but the prompt might not be able to find java. See my next post below for a tool that ensures java is found and the error recorded.

SilverCloud wrote:Told java to run the program and got a "java exception".
What was the exception?
If it was UnsupportedClassVersionError, you need Java 1.6 or higher to run the editor.
Last edited by Vhati on Sat Apr 06, 2013 3:43 am, edited 2 times in total.
SilverCloud
Posts: 3
Joined: Fri Apr 05, 2013 12:29 pm

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

Postby SilverCloud » Fri Apr 05, 2013 9:36 pm

It just says "A java exception has occured". Also, I opened the cmd prompt and entered the location but it spit out the line "The system cannot find the path specified". I know I'm probably making a really stupid mistake somewhere. -_-
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Sat Apr 06, 2013 3:22 am

SilverCloud wrote:I know I'm probably making a really stupid mistake somewhere. -_-
Oh, I just remembered, I made a tool for this...

It searches for Java, then 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".
SilverCloud
Posts: 3
Joined: Fri Apr 05, 2013 12:29 pm

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

Postby SilverCloud » Sat Apr 06, 2013 2:37 pm

Here's the log.

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode, sharing)

INFO FTLProfileEditor - FTL dats located at: C:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light\resources
INFO DataManager - Reading Achievements...
INFO DataManager - Reading Blueprints...
ERROR MappedDatParser - Blueprints parsing failed at line 5214 (1-based) of xml: </slot>
ERROR FTLProfileEditor - Error parsing FTL data files. javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 5214; columnNumber: 5; The element type "shields" must be terminated by the matching end-tag "</shields>".]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unknown Source)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source)
at net.blerf.ftl.parser.MappedDatParser.unmarshalFromSequence(MappedDatParser.java:755)
at net.blerf.ftl.parser.MappedDatParser.readBlueprints(MappedDatParser.java:271)
at net.blerf.ftl.parser.DataManager.<init>(DataManager.java:97)
at net.blerf.ftl.parser.DataManager.init(DataManager.java:49)
at net.blerf.ftl.FTLProfileEditor.main(FTLProfileEditor.java:129)
Caused by: org.xml.sax.SAXParseException; lineNumber: 5214; columnNumber: 5; The element type "shields" must be terminated by the matching end-tag "</shields>".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
... 9 more
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Sat Apr 06, 2013 5:04 pm

SilverCloud wrote:Here's the [emergency] log.
Strange that you never saw the normal ftl-profile-editor.log and had to resort to that...

SilverCloud wrote:
org.xml.sax.SAXParseException; lineNumber: 5214; columnNumber: 5; The element type "shields" must be terminated by the matching end-tag "</shields>".
Looks like you're using a mod with typos in it.
The game can tolerate lots of errors, but this editor is less forgiving.
You'll need to nag the mod author to correct them before you can edit savedgames which use that mod.

The "Validate" button in Grognak's Mod Manager will give you an exhaustive list of typos to copy/paste.
And it'll warn you about other mods that may not play nice with the editor.

Who is online

Users browsing this forum: No registered users and 6 guests