[Tool] FTL Ship Editor: Superluminal [NOT UPDATED TO AE]

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] FTL Ship Editor: Superluminal - 5-3-13b

Post by kartoFlane »

@Weltall
Yeah, I know what you mean - just loaded the mod in FTL and the rooms are misplaced, even though in the editor they loaded correctly... Interestingly, in the editor the shield graphic was misplaced approximately the same distance the rooms were in the game. There might be some correlation between the two...

edit - pictures:
Yeah, that's it -- I'll look into the code tomorrow. Also will fix size issues with the coordinate boxes.
I knew something was amiss, my to-do list was getting awfully short :P

@speedoflight
Well, guess you misunderstood me then :E
Superluminal2 - a ship editor for FTL
speedoflight
Posts: 660
Joined: Mon Feb 18, 2013 11:08 am

Re: [Tool] FTL Ship Editor: Superluminal - 5-3-13b

Post by speedoflight »

kartoFlane wrote: @speedoflight
Well, guess you misunderstood me then :E
Actually im not sure about anything anymore.. :lol: ;)
My currently mods / wips ->
ImageImage
Crusher
Posts: 48
Joined: Wed Mar 20, 2013 9:18 pm

Re: [Tool] FTL Ship Editor: Superluminal - 5-3-13b

Post by Crusher »

This editor looks great. Unfortunately, I'm having difficulty getting it to run on my OS 10.8.2 Mac. I get the following error when I try to run it:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at com.kartoflane.superluminal.core.Main.open(Main.java:337)
at com.kartoflane.superluminal.core.Main.main(Main.java:330)
logout

I haven't seen anyone talk about this error yet, but I was hoping maybe someone has dealt with this before.
Crusher's Type C(hallenge) Mod Ships containing:
Mantis Type C: The Sarcosuchus (No O2!)
Engi Type C: The Singularity (Boarding Drones!)
Zoltan Type C: The Annihilator (No Starting Reactor Power!)
Rock Type C: Krakatoa (Fire Boarding!)
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] FTL Ship Editor: Superluminal - 5-3-13b

Post by kartoFlane »

@Crusher
You've downloaded the 32-bit version, and your Mac is 64-bit. Get the mac-64 and it should run fine. If the error still persists, then that means I messed up the compilation.
Superluminal2 - a ship editor for FTL
Crusher
Posts: 48
Joined: Wed Mar 20, 2013 9:18 pm

Re: [Tool] FTL Ship Editor: Superluminal - 5-3-13b

Post by Crusher »

kartoFlane wrote:@Crusher
You've downloaded the 32-bit version, and your Mac is 64-bit. Get the mac-64 and it should run fine. If the error still persists, then that means I messed up the compilation.
So I did...Whoops. Thanks for the tip.
Crusher's Type C(hallenge) Mod Ships containing:
Mantis Type C: The Sarcosuchus (No O2!)
Engi Type C: The Singularity (Boarding Drones!)
Zoltan Type C: The Annihilator (No Starting Reactor Power!)
Rock Type C: Krakatoa (Fire Boarding!)
Crusher
Posts: 48
Joined: Wed Mar 20, 2013 9:18 pm

Re: [Tool] Yet Another FTL Ship Editor: Superluminal - u6-2-

Post by Crusher »

Lord0fHam wrote:When I chose Load Ship and I put in my paths correctly, the options below (player ships, enemy ships, other) become available to click on. However, no amount of clicking actually makes them do anything. Is this a bug or am I just stupid?
I saw that there was quite a bit of discussion about the above earlier, but I can't find anywhere that it was resolved. Anyway, I'm having the same problem, assuming that by default all the ships that are usually in the game should be listed here. Has this been fixed somehow, or is there another way to load the ships that come with the game?
Crusher's Type C(hallenge) Mod Ships containing:
Mantis Type C: The Sarcosuchus (No O2!)
Engi Type C: The Singularity (Boarding Drones!)
Zoltan Type C: The Annihilator (No Starting Reactor Power!)
Rock Type C: Krakatoa (Fire Boarding!)
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] FTL Ship Editor: Superluminal - 5-3-13b

Post by kartoFlane »

Huh. Weird. I assume you've set up the archives? On the first run, the editor should prompt you to point it to the data and resources dat archives in FTL's directory. Make sure you haven't messed up the order and loaded resources archive as data.
I just checked and it seems that on Mac you can access the menus before setting up the archives... Make sure you complete that step first.

Other than that, it could be some weird mac-related bug, because it's working perfectly fine on windows...
Superluminal2 - a ship editor for FTL
Crusher
Posts: 48
Joined: Wed Mar 20, 2013 9:18 pm

Re: [Tool] FTL Ship Editor: Superluminal - 5-3-13b

Post by Crusher »

I think the original problem I quoted was also specifically for Macs. I did set the archives correctly I believe, but I noticed this time that I receive a couple errors every time I start the program or try to load a ship:

Error: load declarations - blueprints.xml file not found
Error: load declarations - autoBlueprints.xml file not found

Those files are in a Superluminal folder called "archives\data". Thoughts?
Crusher's Type C(hallenge) Mod Ships containing:
Mantis Type C: The Sarcosuchus (No O2!)
Engi Type C: The Singularity (Boarding Drones!)
Zoltan Type C: The Annihilator (No Starting Reactor Power!)
Rock Type C: Krakatoa (Fire Boarding!)
Crusher
Posts: 48
Joined: Wed Mar 20, 2013 9:18 pm

Re: [Tool] FTL Ship Editor: Superluminal - 5-3-13b

Post by Crusher »

It wouldn't be as simple as the "\" in the name of the "archive\data" folder causing pathing difficulties would it? How could I test this?
Crusher's Type C(hallenge) Mod Ships containing:
Mantis Type C: The Sarcosuchus (No O2!)
Engi Type C: The Singularity (Boarding Drones!)
Zoltan Type C: The Annihilator (No Starting Reactor Power!)
Rock Type C: Krakatoa (Fire Boarding!)
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] FTL Ship Editor: Superluminal - 5-3-13b

Post by kartoFlane »

It certainly could, but I'm pretty sure I've used the platform-specific path delimiter in that part of the code... Gonna check it.

edit:
Wait, the folder itself is actually called "archives\data"? That's not two separate folders?
Superluminal2 - a ship editor for FTL
Post Reply