• 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    Looking for contributors who would like to enhance MCS! If you are comfortable with Java programming and want to improve the project, let me know via PM or email. I have been swamped lately and have been unable to implement some of the in-demand features. (I didn't even know Minecraft was updated until last week maybe... :biggrin.gif:) I figure who better to ask for help than the users!

    To anyone I have not responded to yet (Boxed_Internet, ryseff724, savagehart, gokuman4594, HappeTank, crono141) thanks a bunch for the great feedback! I would like to address everyone's interests in ways to expand upon MCS but I am too busy at the moment.

    If a good handful of people start working on MCS, it could become an incredible minecraft community project (and hopefully actually stay somewhat current with Notch's updates!!!). Thanks again everybody for trying it out, and I hope you continue to use the application! :happy.gif:
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    @Rossbacher, savagehart, ghost007: Thanks a bunch, and I'm glad MCS is working well for you. :happy.gif:

    ------------------------------------------------------

    @balloonhead666: At this point, MCS gets the user's home directory then uses hard-coded strings for handling where the Minecraft save directory is from there on each platform. These strings are all in English. On windows, I googled some stuff and i can just get the appdata directory directly (which is a very smart move). Thanks for pointing this out, and if I implement this (and it ends up working... :biggrin.gif:), it should provide a lot more localization support at least for Windows machines.
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    Yup, forgot about that. It's in there now. :biggrin.gif:
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    @rzork: Wow, thanks a bunch! It has been added right at the top of the post, and in my signature. :biggrin.gif:

    ------------------------------------------------------------

    @steveman0: I'm sorry to hear that. I am not sure why MCS would do that. Did you shut down your server before you performed the restore? Open up the backup that you tried to restore from and make sure it actually has all the server stuff, like a 'world' folder or banned player list, or most importantly, the 'server.properties' file.
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    Quote from Agent Muu »
    Is there any way you could provide some way to perhaps label the .zip files with some kind of description included with the time and date so they can be more easily organized and referred to?

    That's an awesome idea that I'd love to implement! It'll be a little while before I can get around to it though. Glad MCS is working well for you. :biggrin.gif:
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    No problem. :biggrin.gif: Yeah, behind the scenes, if you don't use a background thread, the main thread is actually updating your JTextArea correctly, it's just that since it's doing this, it can't repeatedly redraw all the GUI components like it's supposed to. That's why it seems like it's spitting out all the info at once when it finishes.
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    What's happening is the main thread of your program is in charge of displaying the GUI, getting input, and stuff. Then the main thread is going to have to focus on writing all this output and not keeping the GUI responsive. I ran into the same problem where the huge status message would just be spit out all at once. If you set up a background thread to handle doing your lengthy task and send the status messages in this thread, then it can run right along side your main thread responsible for the GUI. That way your GUI interface won't lock up for the user, and you can have nice smooth status updates. The SwingWorker class is what I used for the background threads. Using SwingWorker was a little funky at first for me, because I hadn't really done much with background threads, just some regular threads for game loops in Pong and Asteroids. :happy.gif:
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    Quote from God Of APB »
    I always found it tedious having to zip up my saves myself.

    I know what you mean, it seems like it takes forever to do it with 7-Zip, especially if you've got your backups nestled way down deep. As far as adding support for any number of worlds goes, that would be a really cool feature to add. Thanks a bunch for trying out MCS! :biggrin.gif:

    ----------------

    @Z-Man3359: The way I did the live updates was by making some static methods for altering the JTextAreas:
    public static void updateBackupStatusTextArea(String status) {
        backupStatusTextArea.append(status + "\n");
        backupStatusTextArea.setCaretPosition(backupStatusTextArea.getDocument().getLength());
    }

    That way, they are class methods instead of instance ones, so then over in my compression/decompression classes I can just reference the main MCS class without needing the current instance like this:
    MCS.updateBackupStatusTextArea("String you want to display");

    I got the JTextAreas to auto-scroll down when adding a bunch of stuff to it by updating the caret position to the end of what's currently in the JTextArea.

    Feel free to grab yourself a copy of all the source code using Mercurial here, or you can take a look at the individual files here.
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    Quote from snowyomen »
    I find your program to be useless to Minecraft *Players*.

    Minecraft is about creating anything you want to serve any purpose. Many times people build something in the game just for the sake of building it, and it is also very community-driven (see: this forum). When I created MCS, didn't I extend this philosophy? It is entirely free software, which is also a very community-driven movement. If you wish to put yourself on a pedestal, be my guest, but I do sincerely hope MCS helps you when you find that
    Quote from snowyomen »
    it's essential to test volatile things on save files...


    --------------------------------------------------------------

    Quote from Sharlenwar »
    It has minimized our downtime for manual backups.

    That's great to hear!!! :happy.gif:
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    Quote from Z-Man3359 »
    What do you use to load the look and feel? This?
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());


    That's exactly what I'm using. :biggrin.gif:
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    Quote from NTuneR »
    I can now keep backups easily

    That's great to hear! :happy.gif:

    @Z-Man3359: I'll add use of the screen menu bar to my current build when I get a chance. I didn't realize Mac applications worked that way. I can't test it though myself. (don't own a Mac and neither do my friends/family XD) As far as the JPanel colors go, my current build uses each OS's look and feel, and that's shaping up really nicely in Ubuntu and W7. That might take care of the JPanel look. Thanks for the pro tips! :biggrin.gif:
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    Quote from worldofgoo »
    This program is amazing!

    Quote from Soge »
    I din't have a backup before because it was all to complicated. But you're program made it really easy

    Quote from A1337Asian »
    it saves my world much faster than my old one. :smile.gif: PROPS!


    Thanks a bunch for giving MCS a whirl, it means a lot! It's very gratifying knowing that MCS is helping fellow Minecrafters out!!! :happy.gif:
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    Quote from Liri »
    I wish I had found this earlier. Would've saved my first house...

    Thanks!

    Thanks for trying MCS out, and I am glad it is working great for you! :happy.gif:

    Quote from dapidgeon »
    I currently have vista and just downloaded minecraft saviour.
    However, it wont let me open it and keeps requesting which program i should open it with.

    Like rzork was saying, you will need a Java Runtime Environment (JRE) in order to run the executable JAR file. Though, if you play Minecraft you should have one already. If you get the chance, open up a command prompt, type this in, and let me know what it says:

    java -version

    Note: If it spits something out about java not being in the PATH, you can edit your system variables to add it in there. Java PATH tutorial
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    Quote from rzork »
    I believe vbs will work if you have wine installed

    I'm not a VBS or .NET expert or anything, but on a Windows machine, shouldn't all VBS work out of the box without wine? Unless you were referring to using wine to run the VBS on non-Windows machines?
    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Savior - Backup and Restore Saves
    Quote from rzork »
    Will post an update to the vbs and a new batch so it works fine tomorrow. There will now be 2 batch files and 1 vbs file.

    I appreciate the time you're putting into enhancing this project. In the future, I hope to create Linux/Mac features similar to the scripts you are working on for Windows. :biggrin.gif:

    Quote from guppey »
    i have a problem. when i try to open the .jar file, it says "the java jar file could not be launched" i am using a mac, but your thing says it should work on a mac. can anyone help?

    I actually have barely used a Mac before so I'm not really sure why you are encountering this problem. I assume when you tried launching the JAR file you double-clicked? If this is the case, try running it from a terminal on your machine. Let me know what the terminal displays after you do this. You can run it with this command:

    java -jar <full path to... MinecraftSavior.jar>


    For example, in Ubuntu linux if I had MinecraftSavior.jar in a folder called Programs stored in my home folder, I could run it from the command line with:

    java -jar /home/JS/Programs/MinecraftSavior.jar


    Also, please let me know what the terminal says when you type the following command:
    java -version


    Quote from idiotioc »
    Whooohooo!!!
    This program is frggin' epic! How the hell did you get it to compress the files so quickly?
    I would gladly give you all the important resources I have on all my 4 saves and my server cuz i backed it up, and I can just restore that copy after giving the items to you. Here you go, have all my :Bacon: :GP: :Diamond: :Coal: :DORE: :obsidian: :mossystone: :goldore: :ironore: :Iron: :GoldBar: :chestfront: and :SSSS:

    That's great to hear that MCS is working well for you! I worked with Java's zip classes for all the compression/decompression, and I think the results were very good!! And thank you for the resources! :happy.gif:
    Posted in: Minecraft Tools
  • To post a comment, please or register a new account.