| Pages: [1] :: one page |
|
|
| Author |
Topic |

Blue Binary
Polychoron
 |
Posted - 2008.10.07 08:57:00 -
[1]
Description
A simple automated tool to backup/restore Eve's settings (including multiple clients). Settings include bookmarks, overview, computer config, etc.
Instructions
1) Right-click on your desktop and select 'New' > 'Text Document' and rename the file to WhateverYouWant.cmd (.cmd is necessary!)
2) Right-click on your new file and select 'Edit'.
3) Copy & Paste the code into your new file.
Batch file for Windows XP only, see second post for Vista.
Copy code below :
@echo off :start rem Blue Binary's backup settings tool color 8 echo. echo.Eve settings (XP) echo.================== echo.(B)ackup settings echo.(R)estore settings echo. set choice= set /p choice=Choose to either backup or restore client(s) settings : echo. if not '%choice%'=='' set choice=%choice:~0,1% if '%choice%'=='b' goto backup if '%choice%'=='B' goto backup if '%choice%'=='r' goto restore if '%choice%'=='R' goto restore echo "%choice%" is not valid please try again echo. goto start
:backup for /F %%i in ('dir /b /ad "%HOMEPATH%\Local Settings\Application Data\CCP\EVE"') do ( if exist "%HOMEPATH%\My Documents\EveBackup\%%i" ( echo.Backing up the settings for %%i xcopy "%HOMEPATH%\Local Settings\Application Data\CCP\EVE\%%i\settings\*.*" "%HOMEPATH%\My Documents\EveBackup\%%i" /q/r/y echo. ) else ( echo.Backing up the settings for %%i mkdir "%HOMEPATH%\My Documents\EveBackup\%%i" xcopy "%HOMEPATH%\Local Settings\Application Data\CCP\EVE\%%i\settings\*.*" "%HOMEPATH%\My Documents\EveBackup\%%i" /q/r/y echo. ) ) echo.Backup location is: My Documents\EveBackup echo. goto eof
:restore if exist "%HOMEPATH%\My Documents\EveBackup\%%i" ( for /F %%i in ('dir /b /ad "%HOMEPATH%\My Documents\EveBackup"') do ( if exist "%HOMEPATH%\Local Settings\Application Data\CCP\EVE\%%i" ( echo.Restoring the settings for %%i xcopy "%HOMEPATH%\My Documents\EveBackup\%%i\*.*" "%HOMEPATH%\Local Settings\Application Data\CCP\EVE\%%i\settings" /q/r/y echo. ) else ( echo.The directory %%i does not exist. echo.Creating a new directory... echo.This error appears because either: echo. echo.1 - There is a fresh Eve install and the cache has not been set yet. echo. No problem... echo. echo.2 - You have installed Eve to a different directory. echo. The settings will fail to install properly! echo. mkdir "%HOMEPATH%\Local Settings\Application Data\CCP\EVE\%%i\settings" echo.Restoring the settings for %%i xcopy "%HOMEPATH%\My Documents\EveBackup\%%i\*.*" "%HOMEPATH%\Local Settings\Application Data\CCP\EVE\%%i\settings" /q/r/y echo. ) ) ) else ( echo.There is nothing to restore! echo. )
:eof pause
____________ Blue Binary |

Blue Binary
Polychoron
 |
Posted - 2008.10.07 08:58:00 -
[2]
I don't have access to Vista, so i can't be exactly sure the code will work. It should do though, as the path references have been changed.
Description
A simple automated tool to backup/restore Eve's settings (including multiple clients). Settings include bookmarks, overview, computer config, etc.
Instructions
1) Right-click on your desktop and select 'New' > 'Text Document' and rename the file to WhateverYouWant.cmd (.cmd is necessary!)
2) Right-click on your new file and select 'Edit'.
3) Copy & Paste the code into your new file.
Batch file for Windows Vista only, see first post for XP.
Copy code below :
@echo off :start rem Blue Binary's backup settings tool color 8 echo. echo.Eve settings (Vista) echo.==================== echo.(B)ackup settings echo.(R)estore settings echo. set choice= set /p choice=Choose to either backup or restore client(s) settings : echo. if not '%choice%'=='' set choice=%choice:~0,1% if '%choice%'=='b' goto backup if '%choice%'=='B' goto backup if '%choice%'=='r' goto restore if '%choice%'=='R' goto restore echo "%choice%" is not valid please try again echo. goto start
:backup for /F %%i in ('dir /b /ad "%LOCALAPPDATA%\CCP\EVE"') do ( if exist "%HOMEPATH%\Documents\EveBackup\%%i" ( echo.Backing up the settings for %%i xcopy "%LOCALAPPDATA%\CCP\EVE\%%i\settings\*.*" "%HOMEPATH%\Documents\EveBackup\%%i" /q/r/y echo. ) else ( echo.Backing up the settings for %%i mkdir "%HOMEPATH%\Documents\EveBackup\%%i" xcopy "%LOCALAPPDATA%\CCP\EVE\%%i\settings\*.*" "%HOMEPATH%\Documents\EveBackup\%%i" /q/r/y echo. ) ) echo.Backup location is: Documents\EveBackup echo. goto eof
:restore if exist "%HOMEPATH%\Documents\EveBackup\%%i" ( for /F %%i in ('dir /b /ad "%HOMEPATH%\Documents\EveBackup"') do ( if exist "%LOCALAPPDATA%\CCP\EVE\%%i" ( echo.Restoring the settings for %%i xcopy "%HOMEPATH%\Documents\EveBackup\%%i\*.*" "%LOCALAPPDATA%\CCP\EVE\%%i\settings" /q/r/y echo. ) else ( echo.The directory %%i does not exist. echo.Creating a new directory... echo.This error appears because either: echo. echo.1 - There is a fresh Eve install and the cache has not been set yet. echo. No problem... echo. echo.2 - You have installed Eve to a different directory. echo. The settings will fail to install properly! echo. mkdir "%LOCALAPPDATA%\CCP\EVE\%%i\settings" echo.Restoring the settings for %%i xcopy "%HOMEPATH%\Documents\EveBackup\%%i\*.*" "%LOCALAPPDATA%\CCP\EVE\%%i\settings" /q/r/y echo. ) ) ) else ( echo.There is nothing to restore! echo. )
:eof pause
____________ Blue Binary |

knifee
Caldari eXceed Inc. Triumvirate.
 |
Posted - 2008.10.07 12:34:00 -
[3]
Quote: This version of C:\backup.com is not compatible with the version of Windows you' re running. Check your computer's system information to see whether you need a x 86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
Saving as .bat rather then .com seemed to get it working but then nothing was being copied.
I swapped the %dir% for an actual path and that seems to have worked now.

|

Sleepkevert
Amarr Rionnag Alba Triumvirate.
 |
Posted - 2008.10.07 14:24:00 -
[4]
I'd like to note that backing up / restoring settings is NOT recommended by ccp in between patches. It's actually the reason why people have moving window issues etc, because they use settings from an older patch.
Though settings from the same patch makes no difference so you could use this for that. Though I doubt it will actually be usefull since the settings usualy get reset during patches (with good reason every now and then). _
 Add your own line! |

Dawn Black
 |
Posted - 2008.10.07 14:27:00 -
[5]
Originally by: knifee
Quote: This version of C:\backup.com is not compatible with the version of Windows you' re running. Check your computer's system information to see whether you need a x 86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
Saving as .bat rather then .com seemed to get it working but then nothing was being copied.
I swapped the %dir% for an actual path and that seems to have worked now.
The post states the file should be named .CMD not .COM hence the result you got...
|

knifee
Caldari eXceed Inc. Triumvirate.
 |
Posted - 2008.10.07 14:56:00 -
[6]
Originally by: Dawn Black
Originally by: knifee
Quote: This version of C:\backup.com is not compatible with the version of Windows you' re running. Check your computer's system information to see whether you need a x 86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
Saving as .bat rather then .com seemed to get it working but then nothing was being copied.
I swapped the %dir% for an actual path and that seems to have worked now.
The post states the file should be named .CMD not .COM hence the result you got...
oups 

|

Taraw
Amarr Dark Rising Shadow Executive Outcomes
 |
Posted - 2008.10.07 16:03:00 -
[7]
Nice work, but the XP version will not work with the german Windows. The directories there are localized. It should work with the german Vista, but I haven't tested it yet.
|

Blue Binary
Polychoron
 |
Posted - 2008.10.11 06:50:00 -
[8]
Edited by: Blue Binary on 11/10/2008 07:11:59
Originally by: Taraw Nice work, but the XP version will not work with the german Windows. The directories there are localized. It should work with the german Vista, but I haven't tested it yet.
Sorry about that, I don't speak German. 
@Sleepkevert It would be handy if Eve separated out the settings. For instance, exporting the directory structure of the bookmarks, because it is a royal pain to sort with no working backup settings. ____________ Blue Binary |

Azuraito
Caldari Capital Produce Free Trade Zone.
 |
Posted - 2008.10.13 09:18:00 -
[9]
Nice tool!
How about one now that deletes all the cache but leaves the settings intact? 
|

Liranan
M'8'S Frontal Impact
 |
Posted - 2008.10.14 01:40:00 -
[10]
Fantastic work mate! Works in Vista. Farjung is my God
You people need to open your eyes and read threads before you mindlessly spam the New Thread link. |
|

Blue Binary
Polychoron
 |
Posted - 2008.10.16 11:41:00 -
[11]
Originally by: Azuraito Nice tool!
How about one now that deletes all the cache but leaves the settings intact? 
IIRC the ingame 'clear cache' via the ESC options does that already without harming your settings.
I use CCleaner to flush the Eve cache on system boot; 'CCleaner > Options > Include' and enter the directory location. Make sure 'Run CCleaner when computer starts' is ticked under settings.
____________ Blue Binary |

DukeHilton
 |
Posted - 2008.10.16 11:53:00 -
[12]
It's so sad that after all these years and all the problems with overview and other settings, CCP still hasn't come up with a system to backup and restore your settings or frankly to make saving your settings even possible.
For the life of me I can never get my tabs to stick.... Always revert back to "not saved"...
|

Angel Lightbringer
Dark Evolution Industries
 |
Posted - 2008.10.23 14:23:00 -
[13]
Nice set of scripts
Hints: "If" has a nice "/i" flag wich checks comparisons without case (R = r) "if /i '%choice%'=='b' goto backup" would check for B and b.
Optimization: :backup for /F %%i in ('dir /b /ad "%HOMEPATH%\Local Settings\Application Data\CCP\EVE"') do ( if not exist "%HOMEPATH%\My Documents\EveBackup\%%i" mkdir "%HOMEPATH%\My Documents\EveBackup\%%i" echo.Backing up the settings for %%i xcopy "%HOMEPATH%\Local Settings\Application Data\CCP\EVE\%%i\settings\*.*" "%HOMEPATH%\My Documents\EveBackup\%%i" /q/r/y echo. )
Sorry, could not help seeing things done twice that would have been optimized. :) I do this for work, CMD scripts..  I can't find a way to format my text on the forum tho... alignment and such. color?... |

Blue Binary
Polychoron
 |
Posted - 2008.10.26 13:03:00 -
[14]
Originally by: Angel Lightbringer Nice set of scripts
Hints: "If" has a nice "/i" flag wich checks comparisons without case (R = r)
if /i '%choice%'=='b' goto backup would check for B and b.
Optimization:
:backup for /F %%i in ('dir /b /ad "%HOMEPATH%\Local Settings\Application Data\CCP\EVE"') do ( if not exist "%HOMEPATH%\My Documents\EveBackup\%%i" mkdir "%HOMEPATH%\My Documents\EveBackup\%%i" echo.Backing up the settings for %%i xcopy "%HOMEPATH%\Local Settings\Application Data\CCP\EVE\%%i\settings\*.*" "%HOMEPATH%\My Documents\EveBackup\%%i" /q/r/y echo. ) Sorry, could not help seeing things done twice that would have been optimized. :) I do this for work, CMD scripts..  I can't find a way to format my text on the forum tho... alignment and such. color?...
Thanks for the tips. 
You can use the [CODE] FORMAT text [/CODE] tag for formatting. There are more tags here.
|
|
| Pages: [1] :: one page |
| First page | Previous page | Next page | Last page |