Page 1 of 1

startup file

Posted: Thu Jun 23, 2005 7:52 pm
by dam23
Okay so, by popular demand:
startgame.bat , ryzom launcher file

This:
1/ backs up the save/ folder to save.bak/
2/ removes everything in the unpack/ folder (allows for clean patches)
3/ launches the game

This way, even after a game crash, you can recover proper non corrupted save files, which contain your interface, and landmarks.

How to use:
1/ open notepad or a similar text editor
2/ put the code that is shown at the end of this post in the file, save as "startgame.bat", in your ryzom folder for example (with the double quotes)
3/ edit it, and change the "RYZOMPATH" variable to match that of your installation, for example: "E:\games\sor"
4/ put a shortcut to it wherever you like, run it.
source_code wrote: @ECHO OFF
SET RYZOMPATH=c:\jeux\ryzom

REM xcopy backs up the save folder to save.bak , overwritting if need be.
xcopy %RYZOMPATH%\save\*.* %RYZOMPATH%\save.bak\ /E /H /R /Y
REM then, we remove all that is in the unpack folder with del
del %RYZOMPATH%\unpack\*.* /F /Q
start %RYZOMPATH%\client_ryzom_rd.exe
EXIT

Re: startup file

Posted: Thu Jun 23, 2005 8:07 pm
by ayurveda
this thread has more its place in the technical support forum :p :p

EDIT: bah it moved while I was posting ;)

Re: startup file

Posted: Thu Jun 23, 2005 8:57 pm
by kaetemi
There's a bug: when you notice that your save files are corrupted, you have already overwritten your backups..

Re: startup file

Posted: Thu Jun 23, 2005 9:02 pm
by dam23
kaetemi wrote:There's a bug: when you notice that your save files are corrupted, you have already overwritten your backups..
There's a fix (bacca :p ) : restore your save files each time you crash?

Re: startup file

Posted: Thu Jun 23, 2005 9:15 pm
by kaetemi
My save files aren't corrupted when I crash, so I would only notice they are corrupted after I launch the game :p