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