Go Back   Flash Flash Revolution > General Discussion > Technology
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 11-6-2012, 09:01 PM   #1
SlayerApocalypse666
Banned
FFR Veteran
 
Join Date: Aug 2006
Posts: 324
Default Minecraft backups, .bat easy to use.

I don't really want comments on this, i'm just sharing.

I made this because i was tired dying all the time, this way i only press enter after i died to restore backups, and i only press enter to save em while i play whenever i want, wich is like every 30 seconds xD
I know there is probably 5billion tools out there to do this a btr way but...well....just sharing.

Important: Change the path according to your system.

Copy the code in a file and change the extension to .bat

Have fun.

This is a .bat to make the backups.
---------------------------------------

@echo off
Title Save
:Save
cls
echo This Script Save your minecraft game...press "Enter" to continue.
cd C:\Users\SariSSD\AppData\Roaming\.minecraft\saves
Pause
xcopy /Y *.* "C:\Users\SariSSD\AppData\Roaming\.minecraft\Backup" /e /i
Pause
goto Save

This is a .bat to restore the backups. (note, the restore close your games, restore the files and reopen the game)you have to press enter to reopen it.
---------------------------------------

@echo off
Title Restore
:Restore
cls
echo This Script Restore your minecraft game...press "Enter" to continue.
cd C:\Users\SariSSD\AppData\Roaming\.minecraft\Backup
Pause
Taskkill /im javaw.exe
xcopy /Y *.* "C:\Users\SariSSD\AppData\Roaming\.minecraft\saves" /e /i
Pause
C:\Users\SariSSD\Desktop\Minecraft.exe
Pause
goto Restore

Last edited by SlayerApocalypse666; 11-14-2012 at 10:04 AM..
SlayerApocalypse666 is offline   Reply With Quote
Old 11-7-2012, 02:40 PM   #2
UserNameGoesHere
FFR Veteran
FFR Veteran
 
UserNameGoesHere's Avatar
 
Join Date: May 2008
Posts: 1,114
Send a message via AIM to UserNameGoesHere
Default Re: Minecraft backups, .bat easy to use.

You do know you can just
@echo off
and you won't need to have all those @'s in there right?
__________________
Quote:
Originally Posted by Crashfan3 View Post
Man, what would we do without bored rednecks?
[SIGPIC][/SIGPIC]
UserNameGoesHere is offline   Reply With Quote
Old 11-7-2012, 08:41 PM   #3
SlayerApocalypse666
Banned
FFR Veteran
 
Join Date: Aug 2006
Posts: 324
Default Re: Minecraft backups, .bat easy to use.

Quote:
Originally Posted by UserNameGoesHere View Post
You do know you can just
@echo off
and you won't need to have all those @'s in there right?
I didn't i didn't take time to check, and i tot that echo off would also remove the file from showing on the screen while they are copying thats why i didn't do an echo off, but i'll try and see the result. Thx.

Edit: Tested and it works fine i'll fix the code.
SlayerApocalypse666 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 09:41 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution