Lost Flags
Posted: Sun Oct 19, 2008 8:52 am
This is posted in forums, just cant find it.
Old Ryzom bug, seems to be hitting now a bit more frequent.
Old advice from Boroshi(CSR) was to make a new save folder and keep updated Ryzom/save files in it.
The is a batch file that requires choice.exe. can get on from Microsoft, but is included in one of their files fair download or from
http://winsupport.org/utilities/freedos-choice.html
also used is a batch file as in the following.
I left out the entire directory pat leading up to where it is.
Just copy this and save it as menu.bat in your Ryzom/Saved directory
________________________________________________
:: Menu .bat
@ECHO OFF
cls
:start
ECHO.
ECHO.
ECHO This is to back up your ryzom save files
ECHO or to recover from a ryzom exit crash
ECHO.
ECHO.
:: open a txt editor (notepad works great)
:: copy this file entire and paste it direct
:: your editor program of choice
:: save this file as menu.bat in your
:: Ryzom/Save folder
:: if you do not have it, download choice.exe
:: http://winsupport.org/utilities/freedos-choice.html
:: If the subdirectory does not exist create one
if not exist .\save01\*.i* ECHO save01 directory being created
if not exist .\save01\*.i* md save01
ECHO.
ECHO.
:: opening screen question input
ECHO To backup Ryzom...........enter 1
ECHO.
ECHO To Recover from Crash.....enter 2
ECHO.
ECHO To exit from this bat file.....enter 3
choice /c:123
:: this calls choice.exe to wait for the choices you input
:: Choice.exe puts the answer you gave into errorlevel of your inputs
:: So now we search this to find your response
IF ERRORLEVEL 3 GOTO three
IF ERRORLEVEL 2 GOTO two
IF ERRORLEVEL 1 GOTO Qne
:: so now we go to where your response leads us
:: the files important for you to recover/save .. Flags.. are contained in the *.ic* files
:Qne
echo. backing up save files to save\
Copy *.ic* save01\*.ic*
goto eof :: goes to end of program header
:two
echo. recover save files from save01\
Copy save01\*.ic* *.ic*
goto eof :: goes to end of program header
:three
echo. exit without doing anything
:eof :: end of program header
ECHO this program is over
________________________________________________
starting out, run the file IF the subfolder does not exist then it will create it for you.
Then asks what you want to do using choice.exe.
(you can place choice.exe eitehr in C:\windows or even in the ryzom\save folder. as long as when you go to use it, windows can find it.)
Based on your key press response the batch file either backs up your ryzom\save fodler or recovers the Ryzom\save\save01 back to the way you had it prior to losing them.
To the moderator.. hope this meets your approval, if does not, then am sorry, if you could put a pointer to the old backup bat file, that could not find, then put a sticky on it, that would also work.
Thank you
Old Ryzom bug, seems to be hitting now a bit more frequent.
Old advice from Boroshi(CSR) was to make a new save folder and keep updated Ryzom/save files in it.
The is a batch file that requires choice.exe. can get on from Microsoft, but is included in one of their files fair download or from
http://winsupport.org/utilities/freedos-choice.html
also used is a batch file as in the following.
I left out the entire directory pat leading up to where it is.
Just copy this and save it as menu.bat in your Ryzom/Saved directory
________________________________________________
:: Menu .bat
@ECHO OFF
cls
:start
ECHO.
ECHO.
ECHO This is to back up your ryzom save files
ECHO or to recover from a ryzom exit crash
ECHO.
ECHO.
:: open a txt editor (notepad works great)
:: copy this file entire and paste it direct
:: your editor program of choice
:: save this file as menu.bat in your
:: Ryzom/Save folder
:: if you do not have it, download choice.exe
:: http://winsupport.org/utilities/freedos-choice.html
:: If the subdirectory does not exist create one
if not exist .\save01\*.i* ECHO save01 directory being created
if not exist .\save01\*.i* md save01
ECHO.
ECHO.
:: opening screen question input
ECHO To backup Ryzom...........enter 1
ECHO.
ECHO To Recover from Crash.....enter 2
ECHO.
ECHO To exit from this bat file.....enter 3
choice /c:123
:: this calls choice.exe to wait for the choices you input
:: Choice.exe puts the answer you gave into errorlevel of your inputs
:: So now we search this to find your response
IF ERRORLEVEL 3 GOTO three
IF ERRORLEVEL 2 GOTO two
IF ERRORLEVEL 1 GOTO Qne
:: so now we go to where your response leads us
:: the files important for you to recover/save .. Flags.. are contained in the *.ic* files
:Qne
echo. backing up save files to save\
Copy *.ic* save01\*.ic*
goto eof :: goes to end of program header
:two
echo. recover save files from save01\
Copy save01\*.ic* *.ic*
goto eof :: goes to end of program header
:three
echo. exit without doing anything
:eof :: end of program header
ECHO this program is over
________________________________________________
starting out, run the file IF the subfolder does not exist then it will create it for you.
Then asks what you want to do using choice.exe.
(you can place choice.exe eitehr in C:\windows or even in the ryzom\save folder. as long as when you go to use it, windows can find it.)
Based on your key press response the batch file either backs up your ryzom\save fodler or recovers the Ryzom\save\save01 back to the way you had it prior to losing them.
To the moderator.. hope this meets your approval, if does not, then am sorry, if you could put a pointer to the old backup bat file, that could not find, then put a sticky on it, that would also work.
Thank you