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

Postby Vhati » Tue Jul 23, 2013 5:27 pm

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.
Mogh
Posts: 2
Joined: Mon Jul 22, 2013 10:31 pm

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

Postby Mogh » Wed Jul 24, 2013 2:39 am

Will do. Thanks for the reply!
iceburg333
Posts: 67
Joined: Tue Jun 25, 2013 8:52 pm

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

Postby iceburg333 » Sat Jul 27, 2013 4:36 pm

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
Image
Scarythings
Posts: 1
Joined: Wed Jul 31, 2013 5:24 am

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

Postby Scarythings » Wed Jul 31, 2013 5:28 am

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.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Thu Aug 01, 2013 4:21 am

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?
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: