[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.
wilerson
Posts: 1
Joined: Wed Feb 20, 2013 3:18 am

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

Postby wilerson » Wed Feb 20, 2013 3:20 am

I had some issues running the editor on OSX, so I took the liberty of forking the Github repository and sending a patch. Hope it helps!
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Wed Feb 20, 2013 5:24 am

wilerson wrote:I took the liberty of forking the Github repository and sending a patch. Hope it helps!

Much appreciated. :D
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Wed Feb 20, 2013 8:35 am

.
v15 has been released:
Added sector number rollback under the General tab.
Added "State Vars" tab (achievement-related counters, like destroyed_rock).

Added automated finding of data.dat for OSX-Steam.
Added a prompt to override automatically found data.dat location.
Fixed manual data.dat choosing on OSX. (Thanks to wilerson)
speedoflight
Posts: 660
Joined: Mon Feb 18, 2013 11:08 am

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

Postby speedoflight » Wed Feb 20, 2013 11:19 pm

Vhati wrote:
speedoflight wrote:no matter what path i specify for the data.dat, it always says error parsing data file.


When you run the jar, there should be "ftl-profile-editor.log" file created in the same folder.
Add it as an attachment in a reply here.
(As you're composing your reply, attachment stuff is below the preview/submit buttons.)

What version of FTL do you have? It's possible I overlooked a quirk in an old version.

Are mods involved? This might happen if a mod has typos in it. The game is more forgiving of such things than this tool is. The log will help me identify what needs fixing so it can be reported to the mod author.


Here is the final section of the log file, where the errors are showed ->

02:53:51.590 [main] ERROR net.blerf.ftl.parser.MappedDatParser - Blueprints parsing failed at line 5192 (1-based) of xml: </medbat>
02:53:51.590 [main] ERROR net.blerf.ftl.FTLProfileEditor - Error parsing FTL data files javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 5192; columnNumber: 4; El tipo de elemento "medbay" debe finalizar por la etiqueta final coincidente "</medbay>".]
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:111)
Caused by: org.xml.sax.SAXParseException; lineNumber: 5192; columnNumber: 4; El tipo de elemento "medbay" debe finalizar por la etiqueta final coincidente "</medbay>".
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

As i suspect, its something about a typos problem (as u said) on that line in some files.. ??

As for the game version, i have the 1.0.3.1, the mods i have installed are the infinite space and the advanced shields and weapons one. Thanks in advance
My currently mods / wips ->
ImageImage
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Thu Feb 21, 2013 3:32 am

speedoflight wrote:
Vhati wrote:Are mods involved? This might happen if a mod has typos in it. The game is more forgiving of such things than this tool is. The log will help me identify what needs fixing so it can be reported to the mod author.

Here is the final section of the log file, where the errors are showed ->
Blueprints parsing failed at line 5192 (1-based) of xml: </medbat>

As for the game version, i have the 1.0.3.1, the mods i have installed are the infinite space and the advanced shields and weapons one. Thanks in advance
Typo: "medbat" where it should be "medbay", in blueprints.xml.

Having looked at the current version of those mods,
  • it's not "Advanced Shields and Weapons",
  • and none of the ships in "Infinite Space" have that word.
  • Nor does "Weaponanza" (you'd mentioned trying that in another thread).
  • Stock FTL 1.03.1 shouldn't have that particular typo either.

I think you have another mod lurking in there. If you search the log for "medbat", the name of the ship it occurs in may be a clue. Worst case: reinstalling the game should clear out the cruft.
Darkshadowmark
Posts: 5
Joined: Tue Jan 22, 2013 8:52 pm

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

Postby Darkshadowmark » Fri Feb 22, 2013 6:40 am

22:30:22.624 [main] ERROR net.blerf.ftl.parser.MappedDatParser - Blueprints parsing failed at line 5056 (1-based) of xml: <tooltip>Projectile weapon; Deals 2 damage; Minor chance of breaching & fires</tooltip>
22:30:22.624 [main] ERROR net.blerf.ftl.FTLProfileEditor - Error parsing FTL data files. javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 5056; columnNumber: 73; The entity name must immediately follow the '&' in the entity reference.]
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: 5056; columnNumber: 73; The entity name must immediately follow the '&' in the entity reference.
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.scanEntityReference(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

Current mods:
KRS Obsidian Cruiser v.1.2.2.ftl
EquipmentEX.ftl
better_asteroids.ftl
Sonata.1.ftl
Disable Fleet.ftl
KRS Incursor Cruiser v0.9c.ftl
Defiant-v.61.ftl
RemoveO2Warning.ftl
Advanced Battle Systems v1.1.ftl

Current Patch: 1.02.6

No clue what to do. lol.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Fri Feb 22, 2013 7:25 am

Darkshadowmark wrote:
Blueprints parsing failed at line 5056 (1-based) of xml:
<tooltip>Projectile weapon; Deals 2 damage; Minor chance of breaching & fires</tooltip>
- with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 5056; columnNumber: 73; The entity name must immediately follow the '&' in the entity reference.]
Current mods:
KRS Obsidian Cruiser v.1.2.2.ftl
EquipmentEX.ftl
better_asteroids.ftl
Sonata.1.ftl
Disable Fleet.ftl
KRS Incursor Cruiser v0.9c.ftl
Defiant-v.61.ftl
RemoveO2Warning.ftl
Advanced Battle Systems v1.1.ftl

No clue what to do. lol.

It's a mod typo.
Incursor Cruiser's blueprints.xml.append has a naked ampersand, which is illegal in xml.
The author needs to be notified that &amp; should be written instead.

Thread: Incursor Cruiser


I searched through everything in your list, and that's the only place where an ampersand typo occurs.

If you remove that mod for now, and find another error: remove more, one-at-a-time, until the error goes away or changes. When that happens, you'll know the last one removed had the problem.

Or you can remove them all, and gradually add mods until the editor complains, which'd indicate the last one added had the problem.
Darkshadowmark
Posts: 5
Joined: Tue Jan 22, 2013 8:52 pm

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

Postby Darkshadowmark » Fri Feb 22, 2013 7:49 pm

Apparently none of my mods work.

But I did find something by accident.

I uninstalled all my mods so that it was just a vanilla game
the editor ran just fine, thankfully.
Edited all I wanted to WITHOUT touching any weapons or drones or whatever is in storage
Saved
Reinstalled all my mods
Worked 100%
Forte
Posts: 15
Joined: Thu Feb 28, 2013 10:53 am

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

Postby Forte » Thu Feb 28, 2013 11:03 am

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
Forte
Posts: 15
Joined: Thu Feb 28, 2013 10:53 am

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

Postby Forte » Thu Feb 28, 2013 11:23 am

When i open it up all i see is

META-INF
net
org
\log4j-2.0-beta1...
about.gif
about.html
LICENSE
log4j2.xml
log4j2-dev.xml
log4j2-trace.xml
Log4j-V2.0.xsd
NOTICE
open.gif
realease-notes.html
realease-notes.png
save.gif
unlock.png
update.gif
update.html

Who is online

Users browsing this forum: No registered users and 22 guests