Page 9 of 49
Re: [Spoiler] FTL Editor v16 - Unlock ships, Edit SavedGames
Posted: Tue Jul 23, 2013 5:27 pm
by Vhati
Mogh wrote:Ah, actually, even though this is mostly Greek to me it looks like it's crashing loading blueprints. I have a mod that adds ships, this must not be compatible. Bummer.
Yeah, that'd do it.
You can nag the mod's author to fix it, using the Mod Manager's "Validate" button to list problems.
Re: [Spoiler] FTL Editor v16 - Unlock ships, Edit SavedGames
Posted: Wed Jul 24, 2013 2:39 am
by Mogh
Will do. Thanks for the reply!
Re: [Spoiler] FTL Editor v16 - Unlock ships, Edit SavedGames
Posted: Sat Jul 27, 2013 4:36 pm
by iceburg333
Hey Vhati!
I've been working on improving my program
on its thread, and updating
sourcecode on github.
Per KartoFlane's suggestion, I'm working on removing my dependancy on FTL Profile Editor by copying the libraries I need into my jar.
At this point I have your code packed into my jar and things work well. However, I'm having trouble with the apachi logger dependency. I have your source code working in eclipse as I managed to get Maven working. However, when I remove my dependency on your jar, I now need to make my code dependant on the apachi logger jars. When I run my program from inside eclipse, it runs but I get this error and no log info works:
Code: Select all
log4j:WARN No appenders could be found for logger (org.iceburg.ftl.homeworld.core.FTLHomeworld).
log4j:WARN Please initialize the log4j system properly.
Running it as a jar outside eclipse yeilds the following error:
Code: Select all
G:\Jar Exports>java -jar FTLHomeworld.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/LogM
anager
at org.iceburg.ftl.homeworld.core.FTLHomeworld.<clinit>(FTLHomeworld.jav
a:50)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.LogManager
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more
I'm guessing that the secret lies in moving your log4j2.xmls over to my project, or doing some kind of maven transfer/transfusion.
Would you be willing/able to help me / point me in the right direction? I've been trying to manually install the apachi logger jar, but I can't seem to find the exact version you used / understand exactly what to do. Any pointing in the right direction would be greatly appreciated!
Thanks,
Ice
EDIT: I went ahead and commented out all of the log lines. Crude, barbaric, but it worked. I'd still love to know how to do this properly, but I can move on, so I don't want to pressure / nag you.
Thanks,
Ice
Re: [Spoiler] FTL Editor v16 - Unlock ships, Edit SavedGames
Posted: Wed Jul 31, 2013 5:28 am
by Scarythings
Hello!
I encountered an error, I checked the log and this is what I got. The .jar isn't launching anything I locate the file and it just closes.
15:22:49.094 [main] DEBUG net.blerf.ftl.FTLProfileEditor - FTL Editor v16
15:22:49.095 [main] DEBUG net.blerf.ftl.FTLProfileEditor - Windows 7 6.1 x86
15:22:49.095 [main] DEBUG net.blerf.ftl.FTLProfileEditor - Java HotSpot(TM) Client VM, 1.7.0_25
15:22:49.130 [main] DEBUG net.blerf.ftl.FTLProfileEditor - FTL dats path was not located automatically. Prompting user for location.
Re: [Spoiler] FTL Editor v16 - Unlock ships, Edit SavedGames
Posted: Thu Aug 01, 2013 4:21 am
by Vhati
Scarythings wrote:Hello!
I encountered an error, I checked the log and this is what I got. [...] I locate the file and it just closes.
The log just ends there?
And it asks again to find "data.dat" every time?
Re: [Spoiler] FTL Editor v16 - Unlock ships, Edit SavedGames
Posted: Fri Aug 09, 2013 3:25 am
by Scaratel
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.
Re: [Spoiler] FTL Editor v16 - Unlock ships, Edit SavedGames
Posted: Fri Sep 13, 2013 8:33 pm
by 19acomst
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?
Re: [Spoiler] FTL Editor v16 - Unlock ships, Edit SavedGames
Posted: Fri Sep 13, 2013 9:01 pm
by Vhati
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?
Re: [Spoiler] FTL Editor v16 - Unlock ships, Edit SavedGames
Posted: Fri Sep 13, 2013 11:17 pm
by 19acomst
Oh. nevermind. i had a mod installed. now i dont and it works. thanks!
Re: [Spoiler] FTL Editor v16 - Unlock ships, Edit SavedGames
Posted: Sun Sep 22, 2013 11:07 am
by gasomatic
ughh. I've spent hours trying to figure this out. the editor just does not want to launch

. 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.
