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

Discuss and distribute tools and methods for modding. Moderator - Grognak
EchoesofOld
Posts: 100
Joined: Thu Jan 24, 2013 3:06 pm

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

Postby EchoesofOld » Fri Feb 15, 2013 3:32 pm

Is there a max filesize that SuperLuminal can handle? I'm trying to load an image in, but it crashes every time I do.
The Rebel Flagship: The only ship to make the DemonStar look like a pansy.

Be ye wary of the ship with the demon airlock...
User avatar
kartoFlane
Posts: 1480
Joined: Mon Jan 14, 2013 10:20 pm

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

Postby kartoFlane » Fri Feb 15, 2013 3:59 pm

@EchoesofOld
Don't think so, though I haven't tested that. A more plausible reason is that name of the file that you're trying to load doesn't contain an underscore (the _ sign). Just place an underscore at the end of the file, before its extension, and it should load fine.

@Darkfrost
Welp, thank you :)


Also, I wanted to give a small update - changes introduced by the new drawing system turned out to be quite a bit bigger than I had expected. Thankfully I'm done with it now, but I still have to rework the UI for Mac, fix Mac-related bugs and test whether the exporting function is working correctly with the new system. So, I'll be needing a few more days to complete the next version.
Superluminal2 - a ship editor for FTL
EchoesofOld
Posts: 100
Joined: Thu Jan 24, 2013 3:06 pm

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

Postby EchoesofOld » Fri Feb 15, 2013 6:15 pm

That worked... I dont believe it, but it worked...
The Rebel Flagship: The only ship to make the DemonStar look like a pansy.

Be ye wary of the ship with the demon airlock...
User avatar
kartoFlane
Posts: 1480
Joined: Mon Jan 14, 2013 10:20 pm

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

Postby kartoFlane » Fri Feb 15, 2013 7:21 pm

That's just an oversight in my code, and I happen to be aware of it :P I'm getting it fixed for the next version.
Superluminal2 - a ship editor for FTL
User avatar
kartoFlane
Posts: 1480
Joined: Mon Jan 14, 2013 10:20 pm

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

Postby kartoFlane » Sat Feb 16, 2013 5:55 pm

Another update - the next version is almost ready, at least for Windows, however I still have to complete the Mac version.
If any 64-bit Mac owner would be interested in testing the latest build out, it can be downloaded here (it'll always be up-to-date in this directory, since I use it to transport the build between my PC and the VM) - note, however, that it is an alpha version and as such is not fully functional yet (i.e. has bugs and crashes a lot)

  • info - UI should be looking at least acceptable now.
  • info - Also, since my Mac VM seemed to be unable to detect the tilde button, I've added the spacebar as another hotkey for pinning. I'd love to know if the tilde button works on regular Macs.
  • info / bug? - Exporting may or may not be working correctly, I haven't tested it yet - feel free to mess around with it, though be aware that it might just as well end up crashing the app.
  • FIXED - bug - Ship loading function works partially correctly since, for a reason completely uncomprehensible for me as of now, it only loads player ships.
  • FIXED - NEEDS TESTING - bug - Projects are a complete black hole as of now, they'll save though they won't load properly, attempting to load any project will most likely end in a crash
  • FIXED - NEEDS TESTING - bug - Creation of new ships is bugged, the anchor ends up acting weirdly once a room is placed.
Last edited by kartoFlane on Sun Feb 17, 2013 3:20 pm, edited 6 times in total.
Superluminal2 - a ship editor for FTL
Pumpkins10
Posts: 12
Joined: Thu Jan 31, 2013 8:13 pm

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

Postby Pumpkins10 » Sat Feb 16, 2013 6:08 pm

huh, I still can't open the bundles, opening the bundle directly does nothing, and running the command doesn't open the program but gives me this in the teminal;

Code: Select all

/Users/Pumpkin/Downloads/mac64/Superluminal.command ; exit;
Exception in thread "Thread-1" java.lang.UnsupportedClassVersionError: com/kartoflane/superluminal/core/Main : Unsupported major.minor version 51.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
logout

Process completed


after trying to open it both ways, debog.log gives this:

Code: Select all

Exception in thread "Thread-1" java.lang.UnsupportedClassVersionError: com/kartoflane/superluminal/core/Main : Unsupported major.minor version 51.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 


I have no idea whats going wrong as other people have had success with the mac bundles. Am I opening it wrong? or is there something wrong with the computer?

my java is definitely 64-bit and definitely up to date, so I have no idea what the problem is.
User avatar
kartoFlane
Posts: 1480
Joined: Mon Jan 14, 2013 10:20 pm

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

Postby kartoFlane » Sat Feb 16, 2013 6:15 pm

Well, as I wrote before here, you need to change the JRE/JDK your Mac uses by default to open jar files.
Superluminal2 - a ship editor for FTL
Pumpkins10
Posts: 12
Joined: Thu Jan 31, 2013 8:13 pm

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

Postby Pumpkins10 » Sat Feb 16, 2013 6:29 pm

ah!

somehow I missed that post, It seems to be working now. I'll have a play around with it and see what I can find
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Sun Feb 17, 2013 2:10 am

kartoFlane wrote:Well, as I wrote before here, you need to change the JRE/JDK your Mac uses by default to open jar files.
When you're compiling, you might be able to get away with:
"javac ... -target 1.5 ... MainClass"

Or 1.6. The arg tells the compiler to make the jar backward compatable, at least until the point you're using methods that didn't exist at the time. SWT's jar may pin you to its version requirement however.


Of course, upgrading and setting the default runtime is the best advice for users.
This trick accomodates those unable to upgrade (eg WinXP SP1 can't run 1.7 - for an asinine reason, but I won't get into that; some linux repos might not have 1.7).
Pumpkins10
Posts: 12
Joined: Thu Jan 31, 2013 8:13 pm

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

Postby Pumpkins10 » Sun Feb 17, 2013 2:40 am

hmm, things are broken for me...

I can't load any of the default ships. I click load and I assume that I have to find the resource and data folders in the FTL app, but the file browser that opens won't access any other folder save for the default "documents" folder. I go to applications but then the browser freezes while searching for the folder.

I think I read somewhere here that you have to have certain file names for certain things on the ship such as the hull, shields etc. - If this is true could you put the file names in the google doc? if not then something is quite broken, as opening png files closes the program.

Who is online

Users browsing this forum: No registered users and 34 guests