Minecraft Backup Tool is a simple backup utility for Minecraft that makes it easy to backup and restore the world files that get generated as you play the game.
It is an open source project made with AutoPlay Media Studio Personal Edition by me (Lorne Laliberte, a.k.a. Rugged Malone).
Where do I get it?
You can download the Minecraft Backup Tool and its source files here.
[*:2huny99j]Simply download the zip file and extract the executable to the location of your choice.
[*:2huny99j]The first time you run the tool, click the Settings button to configure your Minecraft.exe location, etc.
[*:2huny99j]You can click on the map thumbnail to view it in your default PNG viewing program.
The rest should be pretty self-explanatory. :smile.gif:
All settings are stored in %AppData%\Minecraft Backup Tool\settings.ini
Why another backup tool?
I’ve been enjoying Minecraft and I went looking for a tool to backup and restore the world files. I found some tools that handled backups well enough, but I didn’t find a tool that made restoring as straightforward as it could be.
My goals for this project were to:
[*:2huny99j]provide an easy way to make and restore world backups
[*:2huny99j]take advantage of the cool cartography tools that exist, such as AlphaVespucci and c10t
[*:2huny99j]make an open project that anyone in the Minecraft community could modify and extend
There is still much that could be added to this tool, so try it out and let me know what you think. :smile.gif:
The full project source is available at the download link so if there's anything you'd like it to have, you don't have to wait for me to add it -- just giver. :smile.gif:
History v1.0 - 2010-10-20
[*:2huny99j]This is the first release! And like all first releases it is free of bugs, and full of awesome...
v1.0.1 - 2010-10-20
[*:2huny99j]Fixed a couple typos on the About page
[*:2huny99j]Added the version number to the About page
v1.0.2 - 2010-10-21
[*:2huny99j]Fixed a bug where the map wasn't being auto-generated when you exited Minecraft
[*:2huny99j]Refactored the INI save/load code a bit
[*:2huny99j]Added the ability to set NumWorldSlots in the settings.ini file (min=1, max=9 for now)
v1.0.3 - 2010-10-26
[*:2huny99j]Fixed a bug in 1.0.2 where the settings folder wasn't being created if it didn't exist yet
v1.0.4 - 2010-10-27
[*:2huny99j]Added the ability to insert a comment into the backup filename
[*:2huny99j]Changed how available backups are listed in the Restore GUI to accommodate the comments
[*:2huny99j]Increased the max possible world slots to 20 (see NumWorldSlots in settings.ini)
[*:2huny99j]Added RestoreListSortOrder to settings.ini (e.g. "Newest First" or "Newest Last")
[*:2huny99j]Fixed a minor bug: if the index for SelectedWorld in settings.ini was out of range, the same world slot you selected on the main page wouldn't be selected on the Restore GUI by default until you exited and restarted MBT
Well that's my backup app thing out the window lol very nice indeed I like how we can pick our backups. I guess it uses windows built in compress folders.
Thanks! It actually uses the Zip actions built into AMS.
Quote from VoidWhisperer »
How'd you get it to render the iso map?
I'd love to see the source
It generates the map using an external tool -- AlphaVespucci is included and configured by default, but you can use any mapping tool that lets you specify the output filename. The resulting PNG file is just loaded into an image object via Lua script in the drop down's On Select event.
If you aren't familiar with AMS everything is kind of split up into different events but it shouldn't be too hard to figure out. Some global functions are defined in Project > Global Functions and Project > Actions, and others are built into Lua or AMS.
[*:2m1iqitp]Fixed a bug where the map wasn't being auto-generated when you exited Minecraft
[*:2m1iqitp]Refactored the INI save/load code a bit
[*:2m1iqitp]Added the ability to set NumWorldSlots in the settings.ini file (min=1, max=9 for now)
Note: The settings are stored in %AppData%\Minecraft Backup Tool\settings.ini.
I had a request to increase the number of world slots to 10...for version 1.0.2 I increased the max slots to 9 since it only involved small changes to the parsing code, but I could make the max any arbitrary number.
1. Do you use a mod to increase the number of world slots? How many slots do you actually use?
2. Would anyone like to restore a world from a different slot than it was created from...e.g. from World1 to World2? That might be a nice option to let you shuffle worlds around, although your backup history could end up being a bit confusing.
3. For that matter, would anyone want to restore from an arbitrary backup file?
I don't want to complicate the restore GUI too much, so I only want to add these features if you would find them useful. :smile.gif:
[*:174u1omp]Added the ability to insert a comment into the backup filename
[*:174u1omp]Changed how available backups are listed in the Restore GUI to accommodate the comments
[*:174u1omp]Increased the max possible world slots to 20 (see NumWorldSlots in settings.ini)
[*:174u1omp]Added RestoreListSortOrder to settings.ini (e.g. "Newest First" or "Newest Last")
[*:174u1omp]Fixed a minor bug: if the index for SelectedWorld in settings.ini was out of range, the same world slot you selected on the main page wouldn't be selected on the Restore GUI by default until you exited and restarted MBT
New comment feature in action:
Comments as seen in the Restore gui:
Note that if you want the newest backups to appear at the top of the list, you can now set:
...in your %AppData%\Minecraft Backup Tool\settings.ini file.
Can you assign a name to a world? Even if it only shows up in this program? Can you only have five worlds at a time using this? Because from what I see you use a command line with minecraft to make it load the right map, shouldn't be any reason you need to use World# names. Which would also mean you should be able to have more then five. Well, I suppose that's only true if Minecraft's commands except non-world# names. Oh well.
Can you assign a name to a world? Even if it only shows up in this program?
No. It would be possible to add that -- allowing you to set up aliases for your different worlds, so they would get selected and saved as "Tropical Paradise" instead of "World 2" -- however I'm not sure this actually makes sense because AFAIK you are limited to selecting the world slots within the JAVA interface of the game. (I don't know of any way to pass a world path to the launcher. It might be possible, but I have no idea.)
Can you only have five worlds at a time using this?
By default Minecraft only has 5 world slots, although you can expand that to 10 using a mod.
MBT actually supports up to 20 world slots right now, numbered from World1 to whatever you have set for NumWorldSlots in the settings.ini file. (I don't know of any mod that gives you 20 slots though.)
Because from what I see you use a command line with minecraft to make it load the right map, shouldn't be any reason you need to use World# names.
Is there a command line argument to make minecraft loap a map?
I use a command line with the mapper to generate a map image, but AFAIK there is no way to launch Minecraft itself directly into an arbitrary map path. There's really no reason why there shouldn't be, so maybe there is? :smile.gif:
Is there a way to make the program generate a new map? It generates a map when a world is first selected, but that seems to be it.
When it generates a map it stores an MD5 checksum of that world's level.dat file in the settings.ini file so you don't have to wait for it to generate the map when the world files haven't changed.
If you play that world in Minecraft for at least a second, then MBT will generate a new map the next time you select that world (or when you exit Minecraft, if you launched it using the "Start Game" button in MBT).
You could also delete the entry for that world in the [level.dat] section of the settings.ini file and it will generate a new map the next time you use MBT.
This is a godsend, i finally decided to get something to make backup files when a mod i put on made my main world look like it was deleted (it put 0.0 mb for the size of the world on the selection page). Ive put months into sculpting this monstrosisty, cant afford to lose it lol