Basicly I made this so my friend and I could backup our minecraft without the habit of stuffing up the game, It was a simple tool but I extended the project out and now it lets you choose the name of the backup, create it in the MinecraftBackups folder on your desktop and it also let's you restore it. This project is completely open source and you can even view the source code, the source codes also in screenshots.
If you like this, you can add this to your signature
Version 1.0
Made it move your minecraft.jar file to your desktop with a yes or no option.
Version 1.1
Made you move your minecraft.jar file to your desktop with a restore option.
Version 1.2
Made you move your whole .minecraft folder from appdata to your destop in a folder called MinecraftBackups with any name you wanted, also added a restore option and split the script into 2 files.
Version 2.0
Just fixed major bugs that could be happening to Windows XP users, and cleaned up the script.
xcopy problem FIX!
Thanks to the 'ultranoobian' for this.
You need to have added 'C:\Windows\System32' to your 'Path' System Variable.
Details to how to add below.
Goto the start menu, right-click on 'Computer' and Click on Properties.
On the left hand side, Click on 'Advanced System Settings'.
If you're not on the Advanced Tab, switch to it before continuing.
Click on Environment Variables at the bottom.
Under 'System Variables', Look for a Variable named 'Path'
Double-Click on it and it will bring up a dialog box.
*WARNING* DO NOT DELETE WHAT IS IN THE VARIABLE VALUE IF ANYTHING IS THERE.
If there is something already there, then simply add a Semi-colon ; then continue with the next step.
Add C:\Windows\System32 to the variable value and click OK.
Press Okay for everything and try the Backup tool again :smile.gif:
How it works?
Backup:
If the folder MinecraftBackups doesn't exist on the desktop it will create it.
IF NOT EXIST "C:\Users\%username%\Desktop\MinecraftBackups" echo A folder has been created on your desktop called MinecraftBackups
IF NOT EXIST "C:\Users\%username%\Desktop\MinecraftBackups" mkdir C:\Users\%username%\Desktop\"MinecraftBackups"\
Now it asks you what foldername you want.
color 3f
set /p A="What Foldername do you want?: Spaces are allowed."
It searches for the MinecraftBackups folder, if it can't find it, it runs this.
IF NOT EXIST C:\Users\%username%\Desktop\MinecraftBackups echo You have not created any backups
IF NOT EXIST C:\Users\%username%\Desktop\MinecraftBackups pause
Now it askes (if they have it) what was the name of the backup inside the folder.
color 3f
set /p A="What was the name of the backup?"
Now it copies minecraft to it's original directory.
IF EXIST C:\Users\%username%\Desktop\MinecraftBackups\"%A%"\ XCOPY /E C:\Users\%username%\Desktop\MinecraftBackups\"%A%" %appdata%\.minecraft\
IF EXIST C:\Users\%username%\Desktop\MinecraftBackups\"%A%"\ pause
If the backup does not exist.
IF NOT EXIST "C:\Users\%username%\Desktop\MinecraftBackups\"%A%"\ echo That Backup does not exist please re-open to retry
pause
That's all to the script.
Bugs
None.
Screenshots
Download Version 2.0
Please select your operating systems next to the download link before you download!
Backup: Windows 7 and Vista: http://adf.ly/33mKK (adf.ly then mediafire.com)
Backup: Windows XP: http://adf.ly/33mKm
Restore: Windows 7 and Vista: http://adf.ly/33mLX
Restore: Windows XP http://adf.ly/33mM8
Just fixed download links to mediafire so you can download it properly.
REMEMBER TO REFRESH AND DOWNLOAD BECAUSE IT WON'T LET YOU DOWNLOAD BECAUSE OF BAD LINK!
nice tool but i have a problem you probly wouldnt encounter
my desktop isnt stored on my computer's c:/ drive. it is on a partition of said drive under the name d:/ so i modifyed it to work on that instead and i added a feture to the restore "dir" so when it asks what file you see a list of backups from the backup folder.
it also now works with my portable minecraft setup which changes the appdata variable to %CD% (current directory)
so if you what to use these ideas plz put my forums name in the credits. hope it helps
btw if you want i can send my modifyed backup and restore batches for examination? but then pm me because i dont notice it for days to weeks :sad.gif: have fun!!!
p.s what program do you use for coding i just use a text editor but i need something a little better than that thx :wink.gif:
ok long story short this thread has dropped of the face of the forums and most likely will never be updated.
incase tbt comes back there is a easy fix to most xcopy problems and that is to change every xcopy to:
%SystemRoot%/system32/xcopy"
instead with notepad and done fixed.
or try my newish version that increases on what has already been done and more!
:nommode
color f3
title Minecraft backup Wizard
@echo off
goto :skip
:devmode
@echo on
:skip
set B=%APPDATA%
cls
echo Welcome to the Minecraft backup wizard!
echo Current ver= 1.2.5a (extended edition)
echo .
echo Plese choose a option (with a number only)
echo 1. backup mc
echo 2. restore mc
set /p ans=type number:
if %ans%==1 goto :backup
if %ans%==2 goto :restore
echo incorrect parameters ,most cases this is just you not spelling words/numbers right
pause
goto :nommode
:backup
color 3f
title "MINECRAFT BACKUP UTILITY"
ECHO.
echo # ## # # #
echo ### ## ### ### ### ## # ### ### ## ### # # # # ### ### ###
echo ### # # # ## # # # # ### # # # # # # ## # # # # # # #
echo # # ## # # ### ### # ### # ## ### ### ### # # ### ### ### # #
echo ## # # # #
echo ### # ###
ECHO.
echo # #
echo ## ## ### ### ### ## ### ### ### ###
echo # # # # # # # ## # # # # # ##
echo ### # # ### # ### ## ## ### # ###
ECHO.
echo # # # # # #
echo ### # # ### ### ### ### ## ### ### ### ## ### # #
echo # # ### # # # # # # # # # ## ### # # # ##
echo ### # ## ### ## # ### ### ### # # ### # # #
echo ###
ECHO.
ECHO.Modifyed by Zulu_217 with his consent
ECHO.
IF NOT EXIST "%B%\MinecraftBackups\" mkdir "%B%\MinecraftBackups\"
IF NOT EXIST "%B%\MinecraftBackups\" echo A folder has been created in your Appdata called MinecraftBackups
set /p A="What Foldername do you want?: Spaces are allowed:"
mkdir "%B%\MinecraftBackups\%A%"
cd "%B%"
echo Coping .minecraft
"%systempath%\system32\xcopy" /E "%B%\.minecraft" "%B%\MinecraftBackups\%A%\"
echo Finished backup job
goto :eof
:restore
color 46
title "MINECRAFT RESTORE UTILITY"
:retry
ECHO.
echo # ## # # #
echo ### ## ### ### ### ## # ### ### ## ### # # # # ### ### ###
echo ### # # # ## # # # # ### # # # # # # ## # # # # # # #
echo # # ## # # ### ### # ### # ## ### ### ### # # ### ### ### # #
echo ## # # # #
echo ### # ###
ECHO.
echo # #
echo ## ## ### ### ### ## ### ### ### ###
echo # # # # # # # ## # # # # # ##
echo ### # # ### # ### ## ## ### # ###
ECHO.
echo # # # # # #
echo ### # # ### ### ### ### ## ### ### ### ## ### # #
echo # # ### # # # # # # # # # ## ### # # # ##
echo ### # ## ### ## # ### ### ### # # ### # # #
echo ###
ECHO.
ECHO.Modifyed by Zulu_217 with his consent
ECHO.
IF NOT EXIST ""%B%"\MinecraftBackups" echo You have not created any backups
IF NOT EXIST ""%B%"\MinecraftBackups" pause
pause
set /p C="do you wanna delete your minecraft before restoring? (y/n)":
IF %C%==y delete "%B%\.minecraft"
IF %C%==n
IF EXIST ""%B%"\MinecraftBackups\" dir ""%B%"\MinecraftBackups\"
set /p A="What was the name of the backup?":
echo Moving .minecraft
IF EXIST ""%B%"\MinecraftBackups\%A%\" XCOPY /E ""%B%"\MinecraftBackups\%A%" ""%B%"\.minecraft\"
IF EXIST ""%B%"\MinecraftBackups\"%A%"\" pause
IF NOT EXIST ""%B%"\MinecraftBackups\"%A%"\" echo That Backup does not exist, please press any key to retry.
IF NOT EXIST ""%B%"\MinecraftBackups\"%A%"\" pause
IF NOT EXIST ""%B%"\MinecraftBackups\"%A%"\" goto :retry
goto :eof
just create a txt file, paste all this in ,then rename it to a bat
ThisFile.txt -> ThisFile.bat
and run!
no i will not make a download but i will allow you to modify this as long at it has a link to this Thread and TBT's name is it, im happy.
incase you dont give about the legalitys involved. but i will report any complete ripoffs of what ive done here ok?
well Firestar912, Why don't you get out your Java ide and write it up, instead of telling me what it can be done in. I know it can be done in java, it can also be done in lua, python, c++, C# or any of the other thousand on this page here (wikipedia list of languages). otherwise take your useless comment somewhere else.
Basicly I made this so my friend and I could backup our minecraft without the habit of stuffing up the game, It was a simple tool but I extended the project out and now it lets you choose the name of the backup, create it in the MinecraftBackups folder on your desktop and it also let's you restore it. This project is completely open source and you can even view the source code, the source codes also in screenshots.
If you like this, you can add this to your signature
Changelog
Version 1.0
Made it move your minecraft.jar file to your desktop with a yes or no option.
Version 1.1
Made you move your minecraft.jar file to your desktop with a restore option.
Version 1.2
Made you move your whole .minecraft folder from appdata to your destop in a folder called MinecraftBackups with any name you wanted, also added a restore option and split the script into 2 files.
Version 2.0
Just fixed major bugs that could be happening to Windows XP users, and cleaned up the script.
xcopy problem FIX!
Thanks to the 'ultranoobian' for this.
You need to have added 'C:\Windows\System32' to your 'Path' System Variable.
Details to how to add below.
Goto the start menu, right-click on 'Computer' and Click on Properties.
On the left hand side, Click on 'Advanced System Settings'.
If you're not on the Advanced Tab, switch to it before continuing.
Click on Environment Variables at the bottom.
Under 'System Variables', Look for a Variable named 'Path'
Double-Click on it and it will bring up a dialog box.
*WARNING* DO NOT DELETE WHAT IS IN THE VARIABLE VALUE IF ANYTHING IS THERE.
If there is something already there, then simply add a Semi-colon ; then continue with the next step.
Add C:\Windows\System32 to the variable value and click OK.
Press Okay for everything and try the Backup tool again :smile.gif:
How it works?
Backup:
If the folder MinecraftBackups doesn't exist on the desktop it will create it.
Now it asks you what foldername you want.
Then it creates the folder, and copies minecraft.
That's all to the backup.
Restore:
It searches for the MinecraftBackups folder, if it can't find it, it runs this.
Now it askes (if they have it) what was the name of the backup inside the folder.
Now it copies minecraft to it's original directory.
If the backup does not exist.
That's all to the script.
Bugs
None.
Screenshots
Please select your operating systems next to the download link before you download!
Backup: Windows 7 and Vista: http://adf.ly/33mKK (adf.ly then mediafire.com)
Backup: Windows XP: http://adf.ly/33mKm
Restore: Windows 7 and Vista: http://adf.ly/33mLX
Restore: Windows XP http://adf.ly/33mM8
Thanks, I'm hoping to get this more popular in the future.
REMEMBER TO REFRESH AND DOWNLOAD BECAUSE IT WON'T LET YOU DOWNLOAD BECAUSE OF BAD LINK!
Running Windows 7 x64
Hmm, I'm running windows 7 64 bit ultimate and it works fine.
Not sure if it can be MAC compiatible, unless I make it work with terminal but I don't have a mac.
'xcopy' is not recognized as an internal or external command,operable program or batch file.
You need to have added 'C:\Windows\System32' to your 'Path' System Variable.
Details to how to add below.
my desktop isnt stored on my computer's c:/ drive. it is on a partition of said drive under the name d:/ so i modifyed it to work on that instead and i added a feture to the restore "dir" so when it asks what file you see a list of backups from the backup folder.
it also now works with my portable minecraft setup which changes the appdata variable to %CD% (current directory)
so if you what to use these ideas plz put my forums name in the credits. hope it helps
btw if you want i can send my modifyed backup and restore batches for examination? but then pm me because i dont notice it for days to weeks :sad.gif: have fun!!!
p.s what program do you use for coding i just use a text editor but i need something a little better than that thx :wink.gif:
also ,http://www.minecraftforum.net/topic/1150926-aerial-heights-gaming-community172mcmmoclanspvpmultiversedynmapmumbleeventsskyblock/
and say TheBlueTroll in referal
I haven't tried this but I'll add a spolier with it. Thanks very much.
incase tbt comes back there is a easy fix to most xcopy problems and that is to change every xcopy to:
%SystemRoot%/system32/xcopy"
instead with notepad and done fixed.
or try my newish version that increases on what has already been done and more!
ThisFile.txt -> ThisFile.bat
and run!
no i will not make a download but i will allow you to modify this as long at it has a link to this Thread and TBT's name is it, im happy.
incase you dont give about the legalitys involved. but i will report any complete ripoffs of what ive done here ok?
also ,http://www.minecraftforum.net/topic/1150926-aerial-heights-gaming-community172mcmmoclanspvpmultiversedynmapmumbleeventsskyblock/
and say TheBlueTroll in referal
well Firestar912, Why don't you get out your Java ide and write it up, instead of telling me what it can be done in. I know it can be done in java, it can also be done in lua, python, c++, C# or any of the other thousand on this page here (wikipedia list of languages). otherwise take your useless comment somewhere else.
also ,http://www.minecraftforum.net/topic/1150926-aerial-heights-gaming-community172mcmmoclanspvpmultiversedynmapmumbleeventsskyblock/
and say TheBlueTroll in referal