She Will Punish Them – Creating Backup Save Files Guide December 2021

She Will Punish Them – Creating Backup Save Files Guide December 2021

She Will Punish Them – Creating Backup Save Files Guide December 2021 image 0

 

Disclaimer

As Always – Use At Own Risk. I Take No Responsibility For Whatsoever.

Dependencies

The Script Is Only Using Windows Native Functions. For Compressing The Save Files Into A .zip It Is Using Powershell. It Is Required To Have Powershell Version 5 Or Higher Installed.

Creating A .bat Or .cmd Script To Backup The Files

To Create The Script Perform The Following Steps

  • Windows + R
  • Notepad.exe
  • Enter
  • Copy paste the code below
  • ::Author: https://steamcommunity.com/id/-LuckyStrike-/ ::Date: 18.07.2021 ::Version: 001 ::turn command-echoing off. @echo off ::define the paths to the backup location and to the save files, create the backup folder if it does not exist. :init set BackupDir=%Userprofile%\Documents\SWPT_BACKUP\ set SaveDir='%userprofile%\appdata\LocalLow\L2 Games\She Will Punish Them\' if not exist %BackupDir% mkdir %BackupDir% ::Check if the game is currently running or not :Chk tasklist /FI "STATUS eq RUNNING" /FI "Imagename eq She Will Punish Them.exe" | find "INFO: No tasks are running which match the specified criteria." if errorlevel 1 goto :ERR_RUN ::get the timestamp and compress the save file directory into a zip :compress call :timestamp powershell Compress-Archive -Path %SaveDir% -DestinationPath "%BackupDir%SWTP_%dtStamp%.zip" echo Backup %BackupDir%SWTP_%dtStamp%.zip created timeout /t 3 /nobreak exit ::create the timestamp :timestamp SET HOUR=%time:~0,2% SET dtStamp9=%date:~0%_0%time:~1,1%%time:~3,2%%time:~6,2% SET dtStamp24=%date:~0%_%time:~0,2%%time:~3,2%%time:~6,2% if "%HOUR:~0,1%" == " " (SET dtStamp=%dtStamp9%) else (SET dtStamp=%dtStamp24%) goto:eof ::error function in case the game is running, display an error message an try again after 60 seconds :ERR_RUN echo Game is currently running. Please close the game first. timeout /t 60 goto :Chk
  • click on File
  • Save as
  • Enter the filename:
  • SWPT_Backup.cmdor SWPT_Backup.bat
  • Choose the file type
  • Save as type: All Files (*.*)
  • click on Save
  • You are now good to go – Simply double click on the file to create a Backup
  • Windows + R
  • Notepad.exe
  • Enter
  • Copy paste the code below
  • ::Author: https://steamcommunity.com/id/-LuckyStrike-/ ::Date: 18.07.2021 ::Version: 001 ::turn command-echoing off. @echo off ::define the paths to the backup location and to the save files, create the backup folder if it does not exist. :init set BackupDir=%Userprofile%\Documents\SWPT_BACKUP\ set SaveDir='%userprofile%\appdata\LocalLow\L2 Games\She Will Punish Them\' if not exist %BackupDir% mkdir %BackupDir% ::Check if the game is currently running or not :Chk tasklist /FI "STATUS eq RUNNING" /FI "Imagename eq She Will Punish Them.exe" | find "INFO: No tasks are running which match the specified criteria." if errorlevel 1 goto :ERR_RUN ::get the timestamp and compress the save file directory into a zip :compress call :timestamp powershell Compress-Archive -Path %SaveDir% -DestinationPath "%BackupDir%SWTP_%dtStamp%.zip" echo Backup %BackupDir%SWTP_%dtStamp%.zip created timeout /t 3 /nobreak exit ::create the timestamp :timestamp SET HOUR=%time:~0,2% SET dtStamp9=%date:~0%_0%time:~1,1%%time:~3,2%%time:~6,2% SET dtStamp24=%date:~0%_%time:~0,2%%time:~3,2%%time:~6,2% if "%HOUR:~0,1%" == " " (SET dtStamp=%dtStamp9%) else (SET dtStamp=%dtStamp24%) goto:eof ::error function in case the game is running, display an error message an try again after 60 seconds :ERR_RUN echo Game is currently running. Please close the game first. timeout /t 60 goto :Chk
  • click on File
  • Save as
  • Enter the filename:
  • SWPT_Backup.cmdor SWPT_Backup.bat
  • Choose the file type
  • Save as type: All Files (*.*)
  • click on Save
  • You are now good to go – Simply double click on the file to create a Backup

Note: The Script Will Check If The Game Is Currently Running And Will NOT Create A Backup If The Game Is Still Open. This Is To Avoid Backup Corruption In Case The Game Is Saving Something At The Moment Of Creation. The Script Will Then Try Again After 60 Seconds. Per Default The Script Will Save The Files Into The Current Users \Documents Folder In The Sub-directory SWPT_BACKUP You Can Also Use This To Create Backups Of The Character Presets Only (e.g. For Sharing Them) To Do So Change The ‘set SaveDir’ Line To Something Like This:

This Will Make A Backup Of All Presets In The Character Presets Folder. To Create Only A Backup From A Specific Preset You Have To Set The Correct Path To The Subdir In ‘…\Character Presets\’

This Is All About She Will Punish Them – Creating Backup Save Files Guide; I Hope You Enjoy Reading The Guide! If You Feel Like We Should Add More Information Or We Forget/mistake, Please Let Us Know Via Commenting Below, And Thanks! See You Soon!

Source: 					

More She Will Punish Them guilds