Jump to content

[Java 8][Win, Linux, Mac] Ultra-complete Mod Manager - v0.1.8.7alpha


Recommended Posts

So a folder select window should pop up when I click "OK", this is not the case. The app doesn't fail (it still shows as running in the status bar) but it has no window.

I'm really excited about this app, so I'd like to get it working. Right now there are no good managers for mac.

Ok, some strange behaviour with Mac, seems that you are the first user that used it on it xD

Check if a errors.txt file is created and send it to me.

I still get the error. :D

Yes, is a bug with that version, not the server, you have to download the next update manually. When you download the new one it will update as usual xD

The changelog is this (Because you download it manually you can't se it):

- THIS VERSION BREAKS SAVEFILE

- Added languages

- Reedited GUI and added resizable main window

- Minor fixes

- Stop download with right button

- Cubby.com download support

- Box.com download support

Link to comment
Share on other sites

Ok, some strange behaviour with Mac, seems that you are the first user that used it on it xD

Check if a errors.txt file is created and send it to me.

Hooray for firsts :P

If errors.txt is in the same dir as the .jar, i see nothing. I did run "java -verbose -jar llorxkspmodmanager.jar" and got no error. Here's the last few lines of output

[Loaded com.apple.laf.AquaFileSystemModel$DoChangeContents from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar][Loaded com.apple.laf.AquaUtils$1 from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded java.util.Vector$1 from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded com.apple.laf.AquaFileChooserUI$DirOrAnyPanel from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded com.apple.laf.AquaFileChooserUI$OpenDirOrAnyPanel from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded com.apple.laf.AquaFileChooserUI$CustomFilePanel from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded com.apple.laf.AquaFileChooserUI$SaveFilePanel from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded sun.lwawt.macosx.CDropTarget from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded javax.swing.JLayer from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded sun.awt.LightweightFrame from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded sun.swing.JLightweightFrame from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
^C[Loaded sun.misc.Signal$1 from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded java.lang.Shutdown from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded java.lang.Shutdown$Lock from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]

You can see the ^C where i killed it because no window opened.

Like i said, no apparent errors popped up in the output and a CLI run without -verbose doesn't output anything.

Link to comment
Share on other sites

Hooray for firsts :P

If errors.txt is in the same dir as the .jar, i see nothing. I did run "java -verbose -jar llorxkspmodmanager.jar" and got no error. Here's the last few lines of output

[Loaded com.apple.laf.AquaFileSystemModel$DoChangeContents from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar][Loaded com.apple.laf.AquaUtils$1 from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded java.util.Vector$1 from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded com.apple.laf.AquaFileChooserUI$DirOrAnyPanel from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded com.apple.laf.AquaFileChooserUI$OpenDirOrAnyPanel from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded com.apple.laf.AquaFileChooserUI$CustomFilePanel from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded com.apple.laf.AquaFileChooserUI$SaveFilePanel from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded sun.lwawt.macosx.CDropTarget from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded javax.swing.JLayer from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded sun.awt.LightweightFrame from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded sun.swing.JLightweightFrame from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
^C[Loaded sun.misc.Signal$1 from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded java.lang.Shutdown from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]
[Loaded java.lang.Shutdown$Lock from /Users/joerickwalder/Downloads/jre1.8.0_05.jre/Contents/Home/lib/rt.jar]

You can see the ^C where i killed it because no window opened.

Like i said, no apparent errors popped up in the output and a CLI run without -verbose doesn't output anything.

Thank you for the info, very clever. Going to check it tomorrow, now I have to go to sleep. I think that I'm going to make a build with some verbose for you, so you can send it to me and know exactly the line were it hangs.

Also a new update was posted fixing a minor bug with the window size on first launch.

Link to comment
Share on other sites

Thank you for the info, very clever. Going to check it tomorrow, now I have to go to sleep. I think that I'm going to make a build with some verbose for you, so you can send it to me and know exactly the line were it hangs.

Also a new update was posted fixing a minor bug with the window size on first launch.

I'll try the new update and if that fixes things I'll let you know. Otherwise, you can PM me tomorrow with the new build.

Link to comment
Share on other sites

Yes, is a bug with that version, not the server, you have to download the next update manually. When you download the new one it will update as usual xD

The changelog is this (Because you download it manually you can't se it):

- THIS VERSION BREAKS SAVEFILE

- Added languages

- Reedited GUI and added resizable main window

- Minor fixes

- Stop download with right button

- Cubby.com download support

- Box.com download support

Thanks a lot! By the way, I think I don't understand the "THIS VERSION BREAKES SAVEFILE" warning, as previous updates with this warning didn't break my mod list, and only once asked me to set the KSP folder again (but only once, despite the warning being shown on subsequent updates too).

Link to comment
Share on other sites

Thanks a lot! By the way, I think I don't understand the "THIS VERSION BREAKES SAVEFILE" warning, as previous updates with this warning didn't break my mod list, and only once asked me to set the KSP folder again (but only once, despite the warning being shown on subsequent updates too).

Yes, I keeped that message because the break is from version 0.1.7 and maybe there's someone left with that version that still not updated. I'm going to add a feature to show a changelog depending on your current version when you update, and also show the changelog altough you download it manually. Right now is just an indicative.

Link to comment
Share on other sites

Hi,

Unfortunately, downloading multiple mod files is still broken.

Looked for updates, installing the first few mods was OK, and then:

Fusebox name, but StripSymmetry content:

i-ttd7Dbn-L.png

Hullcam(m) and Strip Symmetry empty --- no data

i-mQkpHLr-L.png

i-VdjzKq5-L.png

Try again: redownload the affected modules, install .... works for the first module, but then: No data!

i-9zNRGNs-L.png

i-K5nhvqk-L.png

Try once more: redownload, install ... same result:

i-Dt7w7vq-L.png

i-8Mm77gm-L.png

Give up, download and install StripSymmetry ...

i-vFSwH2Z-L.png

... and then download and install Fusebox:

i-dkX4rhN-L.png

errors.txt:


java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.getModInfo(Main.java:1770)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1008)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.extract(Main.java:1736)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1026)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.getModInfo(Main.java:1770)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1008)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.extract(Main.java:1736)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1026)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.getModInfo(Main.java:1770)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1008)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.extract(Main.java:1736)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1026)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.getModInfo(Main.java:1770)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1008)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.extract(Main.java:1736)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1026)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.getModInfo(Main.java:1770)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1008)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.extract(Main.java:1736)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1026)
at java.lang.Thread.run(Thread.java:745)

Link to comment
Share on other sites

Hi,

Unfortunately, downloading multiple mod files is still broken.

Looked for updates, installing the first few mods was OK, and then:

Fusebox name, but StripSymmetry content:

http://www.smugmug.com/photos/i-ttd7Dbn/0/L/i-ttd7Dbn-L.png

Hullcam(m) and Strip Symmetry empty --- no data

http://www.smugmug.com/photos/i-mQkpHLr/0/L/i-mQkpHLr-L.png

http://www.smugmug.com/photos/i-VdjzKq5/0/L/i-VdjzKq5-L.png

Try again: redownload the affected modules, install .... works for the first module, but then: No data!

http://www.smugmug.com/photos/i-9zNRGNs/0/L/i-9zNRGNs-L.png

http://www.smugmug.com/photos/i-K5nhvqk/0/L/i-K5nhvqk-L.png

Try once more: redownload, install ... same result:

http://www.smugmug.com/photos/i-Dt7w7vq/0/L/i-Dt7w7vq-L.png

http://www.smugmug.com/photos/i-8Mm77gm/0/L/i-8Mm77gm-L.png

Give up, download and install StripSymmetry ...

http://www.smugmug.com/photos/i-vFSwH2Z/0/L/i-vFSwH2Z-L.png

... and then download and install Fusebox:

http://www.smugmug.com/photos/i-dkX4rhN/0/L/i-dkX4rhN-L.png

errors.txt:


java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.getModInfo(Main.java:1770)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1008)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.extract(Main.java:1736)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1026)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.getModInfo(Main.java:1770)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1008)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.extract(Main.java:1736)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1026)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.getModInfo(Main.java:1770)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1008)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.extract(Main.java:1736)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1026)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.getModInfo(Main.java:1770)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1008)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.extract(Main.java:1736)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1026)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.getModInfo(Main.java:1770)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1008)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: temp/download (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:131)
at java.io.FileInputStream.<init>(FileInputStream.java:87)
at llorx.kspModManager.Zip.extract(Main.java:1736)
at llorx.kspModManager.Main$MyAsyncModInstall.run(Main.java:1026)
at java.lang.Thread.run(Thread.java:745)

****, is a different error than the first time, seems that fixing it I broke it in other side lol

The weird thing is that I tested it, but with another mod that gave me error. Going to check why fusebox and all those mods fails.

EDIT: I think that I finally fixed it. Also optimized a bit download of files and added a better Changelog control.

PS: freddie711, I don't forgot you. Sorry but I've been busy all the day, weekends are difficult to work xD

Edited by Llorx
Link to comment
Share on other sites

Perhaps it's my setup..

I'm on a Mac 10.9.3 With Java 1.8.0_05 ( installed from link on first page )

But when I run the app.. I get the Change Log dialog box, then a dialog box that asks me to select my KSP main folder..

( with a Cancel and OK button.. ) when I click OK.. nothing happens.. I expect a File window to open to allow me to select my KSP folder, but I didn't get one.

Am I missing something?

Link to comment
Share on other sites

cyoung_mi, i'm having the same issue. Right now it's thought to be a mac related bug. There's going to be some diagnostics and bugfixing soon, but hopefully a mac-friendly release will come shortly thereafter.

Just for diagnostics sake do you only have JRE installed or the whole 1.8u5 JDK?

Link to comment
Share on other sites

Hi Mac guys. Sorry for the delay. I'm working hard these days in a project that I want to finish in the next weekend.

I'm telling this so you know that this week I'm not going to have nothing new. Again, sorry :(

Link to comment
Share on other sites

Hi Mac guys. Sorry for the delay. I'm working hard these days in a project that I want to finish in the next weekend.

I'm telling this so you know that this week I'm not going to have nothing new. Again, sorry :(

Thanks for the update.. No worries. I am usually not one to beg and whine about free software :)

Happy to hear you are going to fix it.. Thanks so much for your time and effort on the project. :)

Link to comment
Share on other sites

Just wanted to say thanks for this awesome program. I only have 2 problems. For me (running Mac OSX 10.9.3), trying to uninstall mods and trying to use the web browser to find a download link does not work. Uninstall doesn't remove the item from the list, or the game, so I have to remove it manually. Trying to select the download link causes the program to freeze and I have to quit it. I can (and do) work around these problems but if you fixed them, the program would be perfect in my eyes.

Link to comment
Share on other sites

  • 4 weeks later...

Hoping this thread isn't dead. Got an issue. When I choose to uninstall a mod, it does not remove from the game or from the list. I like this app because it works well and is simple. Should I just clear the app and redownload a fresh copy?

Link to comment
Share on other sites

I dont think so it is dead. It is summer so maybe he is just busy or on holidays.

If you dont have the latest version you should anyway redownload the new version. Because some version ago the Auto Update was broken.

What you could try is redownload the mod and try uninstall again.

Link to comment
Share on other sites

I've been looking a bit at the code, and to be honest, you're quite right in your first claim. It needs a bit of refactoring here and there... :)

I've done two things and I have a third in progress. I'll fix a pull request later today.

First, use a build tool. I've refactored to gradle. You'll just need to run ./gradlew build -Dorg.gradle.java.home=/path/to/your/jdk1.8.0/here to make it build.

Second, I see you're using jsoup. That's fine. You should -really- use more frameworks. I've refactored so your code is using SLF4J with Logback instead of your own, home-written logging. You might also want to look into HttpComponents and other Apache stuff, and so forth.

Third, always write unit tests! It's hard to unit test GUI code, I know, but the rest should be easy to test. If it isn't, it is usually an indication that you need to rewrite/rethink your code. It's impossible for me to easily know if I've broken something, since there are no tests other than manual ones.

Fourth, you need to keep those class sizes down, man! I'm refactoring the parsers now. Each parsing method practically screams to be in its own class! It'll make unit testing way easier, and it'll make the code easier to read.

Fifth, google "java localization best practices" and read. You've chosen a rather cumbersome way to handle localization, and it'll suck even worse if you try to expand the number of real-world languages you want to support.

Sixth, as I've already touched upon: you're basically giving yourself more work by re-inventing the wheel. It's good to learn stuff from the ground up, but when you're developing software professionally you'll always want to be efficient and create the stuff that the user needs the most in the least amount of time possible.

There's more, but I'll let it be for now. :)

Link to comment
Share on other sites

Oh yeah, and classes within classes - please avoid it as much as humanly possible. If you have a model which is local class only, then you might be tempted to use a local class, otherwise don't.

Link to comment
Share on other sites

Ok. I'm back, but only a little to update this, because the other project has grown more than I expected and I had tons of work. Going to check everything and post an update.

Edited by Llorx
Link to comment
Share on other sites

Minor update with German language added.

Going to post minor fixes for Mac in the next days.

PD: ola, thanx for everything :-) I sent you a private message.

Edited by Llorx
Link to comment
Share on other sites

Uninstall fix posted.

Also, added Kerbal Space Parts support (Was the only site where I found Sceppie’s 0.5m Minipack) and deprecated SpacePort so you can change links.

Edited by Llorx
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...