Page 12 of 78

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

Posted: Fri Feb 15, 2013 3:32 pm
by EchoesofOld
Is there a max filesize that SuperLuminal can handle? I'm trying to load an image in, but it crashes every time I do.

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

Posted: Fri Feb 15, 2013 3:59 pm
by kartoFlane
@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.

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

Posted: Fri Feb 15, 2013 6:15 pm
by EchoesofOld
That worked... I dont believe it, but it worked...

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

Posted: Fri Feb 15, 2013 7:21 pm
by kartoFlane
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.

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

Posted: Sat Feb 16, 2013 5:55 pm
by kartoFlane
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.

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

Posted: Sat Feb 16, 2013 6:08 pm
by Pumpkins10
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.

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

Posted: Sat Feb 16, 2013 6:15 pm
by kartoFlane
Well, as I wrote before here, you need to change the JRE/JDK your Mac uses by default to open jar files.

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

Posted: Sat Feb 16, 2013 6:29 pm
by Pumpkins10
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

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

Posted: Sun Feb 17, 2013 2:10 am
by Vhati
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).

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

Posted: Sun Feb 17, 2013 2:40 am
by Pumpkins10
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.