startup file
Posted: Thu Jun 23, 2005 7:52 pm
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.
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