Hey Vhati!
First off, the profile/save editor you and ComaToes have made is awesome. While I'm still trying to beat the game without cheating (and so haven't used your editor for actual playing), I have used it to create OP ships to test with as I edit the game's XML files and I have to say the program is really well done!
My name is Iceburg, I'm a modder for Skyrim. My mods can be
found here, and I have a
facebook page here. Skyrim's programming language is very similar to Java, albeit simpler and less complete.
I found FTL on a summer sale and It's captured my imagination. I've poured over the XML files and read through Captain Shooby's thread, as well as every FTL modding guide I've found. I have ideas for mods, but I realized I couldn't complete them (or really even start them) without mod tools (Please Subset!) or learning some legit programming languages. I have a number of Ideas I could implement just by using the XML and save manipulation, and so when I saw your source code was available and that you were able to edit savegames using Java, I googled for Java tutorials. I found a excellent series of
tutorials on Java with Eclipse (a program I am familiar with), and have started going through them. I've worked through the Total Beginner's tutorial (3 3/4 hours of screencast) as well as most of the persistance tutorial (3 hours of screencast). At this point I understand the basics of Java as well as how to save files and retrieve data from them, though I still feel pretty much like a noob.
Anyhow, I've imported your source into Eclipse and was looking through the compile errors I got. My first question is to where I could find the apache package/jar so that those imports won't fail. Would that be found inside an apache server install? (I used to have that installed, I'll re install it).
Edit: Found a org.apache.commons.logging package at the
Apache Commons, but that's not an exact match for import org.apache.logging.log4j.LogManager;...
Edit2: I found log4j-1.2.17 on the Apache Commons page, and installed Eclipse Indigo so that Maven (never heard of it before) updated, and now my compile errors are gone; I just have some warnings. Yay!
My second question had to do with legality, of which I am a total noob. I see that the source code is available, and while I'm excited to look through it and learn from it, I am fiercely paranoid that other people will steal my work, and consequently, fiercely committed to not stealing other people's work. How does using your code as a base for code I would like to write work? I basically want to make a program that edit's the ship (a hanger bay) where you can use items like blue prints to edit or craft a ship: have 30 scrap and a warp core, you can make a Kestrel. Can I use your classes and methods to read and save the save files if I credit you and ComaToes, (and make my mod/program have the source code available), or is that bad? Basically, how does this sort of thing work/ what would your wishes be? (If I ever get good enough to do anything like that...)
Sorry for rambling. I'm very excited about this, and I've been having a blast learning java. I really appreciate the program you guys have made and how you've made it open source so people like me can read it! (and maybe some day contribute to it!)
Thanks!
Iceburg
ps. While I wait to hear from you, I'll continue working through the Java tutorials, as well as try to comb through the source in eclipse and see how much I can understand.