Support for more than 5 worlds (for people like me who use "More Worlds" or "Worlds Omega") would be great. Other than that, amazing job. I always found it tedious having to zip up my saves myself.
Hey JS, I have developer question. I am making a modding utility for Minecraft and I can't seem to figure out how to get it to update it's status live. (Like how your backup utility says what it is compressing in the JTextArea) Do you have any tips on how to get it to do that?
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:
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.
Hmm for some reason that doesn't work... It waits and appends everything at once instead of one at a time. Do you use something besides actionPreformed to get button clicks? Could that have something to do with it?
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:
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.
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? This program is already absolutely stellar and has never failed on me - the ability to add descriptions to backup files it creates, however, would make it perfect.
Thanks again for saving me the trouble of having to re-craft all my diamond stuff...
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? This program is already absolutely stellar and has never failed on me - the ability to add descriptions to backup files it creates, however, would make it perfect.
Thanks again for saving me the trouble of having to re-craft all my diamond stuff...
Congrats on your first post!
JS should be back soon and will answer your question. I don't see why this isn't possible, so hopefully it is!
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:
The Meaning of Life, the Universe, and Everything.
Join Date:
1/16/2011
Posts:
59
Location:
Valhalla
Minecraft:
balloonhead666
Xbox:
balloonhead666
Discord:
balloonhead666
Member Details
Great Backupprogram. I use it to travel with my savegames.
BUT
I have a problem with the default Save-Directory. It doesn't matter on which System i start the Savior it won't get the right path for the user-saves. I have to put it in manually.
Great Backupprogram. I use it to travel with my savegames.
BUT
I have a problem with the default Save-Directory. It doesn't matter on which System i start the Savior it won't get the right path for the user-saves. I have to put it in manually.
Question 1:
linux, windows, or mac
Question 2:
Is minecraft in the default area?
windows 9x-xp:
c:\docume~1\user\Applic~1\roaming\.minecraft
vista+
c:\users\user\appdata\roaming\.minecraft
(simple way)
%appdata%\.minecraft
linux:
ubuntu (maybe others)
~/.minecraft
mac:
~/Library/Application Data/minecraft
OR
~/Users/Your User Name Here/Library/Application Support/minecraft/saves
I don't know if I did something wrong but all I got were a bunch of corrupt, empty files. When I tried to restore all it did was delete my server folder and write nothing back to it. Luckily I had my own backup taken for Cartographer.
I thought it would have been nice but it turned out it really wasn't any easier than copy+paste.
@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.
@rzork: Wow, thanks a bunch! It has been added right at the top of the post, and in my signature. :biggrin.gif:
Hey add the code to your post so others can also!
do
[code][code][url=http://tinyurl.com/minecraftsavior][img]http://i53.tinypic.com/5tw5l1.jpg[/img][/url]
Graphic by [b]rzork[/b][/code][/code]
This is NOT A Minecraft Savior. It is the Messiah! Well, ok, maybe not, but it has saved my sorry butt more times than I can count. The 1 time I forgot to use it, the game crashed and I lost 12 hours worth of work.
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:
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:
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.
Graphic above by rzork
Google Code Project Page: http://code.google.com/p/minecraftsavior/
Graphic above by rzork
Google Code Project Page: http://code.google.com/p/minecraftsavior/
Graphic above by rzork
Google Code Project Page: http://code.google.com/p/minecraftsavior/
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? This program is already absolutely stellar and has never failed on me - the ability to add descriptions to backup files it creates, however, would make it perfect.
Thanks again for saving me the trouble of having to re-craft all my diamond stuff...
Congrats on your first post!
JS should be back soon and will answer your question. I don't see why this isn't possible, so hopefully it is!
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:
Graphic above by rzork
Google Code Project Page: http://code.google.com/p/minecraftsavior/
BUT
I have a problem with the default Save-Directory. It doesn't matter on which System i start the Savior it won't get the right path for the user-saves. I have to put it in manually.
The Voice | The Soundmaker | The Gamer
Question 1:
linux, windows, or mac
Question 2:
Is minecraft in the default area?
code for it:
I thought it would have been nice but it turned out it really wasn't any easier than copy+paste.
------------------------------------------------------------
@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.
Graphic above by rzork
Google Code Project Page: http://code.google.com/p/minecraftsavior/
Hey add the code to your post so others can also!
do
[code][code][url=http://tinyurl.com/minecraftsavior][img]http://i53.tinypic.com/5tw5l1.jpg[/img][/url] Graphic by [b]rzork[/b][/code][/code]
Graphic above by rzork
Google Code Project Page: http://code.google.com/p/minecraftsavior/
Now I back up every session. Thank you!
1. Windows XP Professional
2. It's in the default area
%userprofile%/appdata/.minecraft/saves
for me it is the german path
%userprofile%/Andwendungsdaten/.minecraft/saves
%userprofile% stands for c:/dokumente und einstellungen/user/
are you using %userprofile% or %appdata% for searching the right path? the second one would work better if not so.
The Voice | The Soundmaker | The Gamer