Dragon’s Dogma: Dark Arisen – Script for Automated Save Game Backup

Dragon’s Dogma: Dark Arisen – Script for Automated Save Game Backup 4 - steamsplay.com
Dragon’s Dogma: Dark Arisen – Script for Automated Save Game Backup 4 - steamsplay.com

A very helpful/useful guide for Dragon’s Dogma: Dark Arisen – Script for Automated Save Game Backup

It’s easy to create a script for DDDA to automatically back up save games.

Intro

You have probably lost hours of progress if you have encountered corruption in a saved file.

No longer.

This is only a quick guide for how to set up a PowerShell script that does two things.

1. Runs a game

2. stays active while the program is running. It will periodically back up the saved data to a specified folder.

The script will close after the automatic game closes. There is a slight delay depending on the frequency you set to save, so it’s also possible to close it manually.

The Script

<#

Dragon’s Dogma Save Backup Script v 1.0

Author: Monkinsane

#>

# Set Paths

$SAVE = “H:\Games\Steam\userdata\YOURUSERID\367500\remote\DDDA.sav”

$PROCESS = $null

$GAMEEXE = “E:\SteamLibrary\steamapps\common\DDDA\DDDA.exe”

$GAMEPATH = “E:\SteamLibrary\steamapps\common\DDDA”

#LaunchGame

Start-Process -FilePath “$GAMEEXE” -WorkingDirectory “$GAMEPATH”

Start-Sleep -Seconds 5

{ Do Do

# Check if a game is still in progress

$PROCESS= Get-Process ddda, ErrorAction SilentlyContinue.

# Set Backup Location and Filename

$FILEDATESTAMP = (Get-Date -Format “yyyy-MM-dd_HH-mm”)

$BACKUP = “J:\SaveBackups\Dragons Dogma\DDDA-$FILEDATESTAMP.sav”

Write-Output $PROCESS

# Backup Save

Write-Output ” ”

Write-Output “Backing up Save …”

Write-Output ” ”

Copy-Item $SAVE -Destination $BACKUP

Start-Sleep -Seconds 600

while ($PROCESS -ne $null)|while ($PROCESS $null -ne)|While ($PROCESS-ne $null),|while ($PROCESS –ne $null).|while ($PROCESS$null)}

Exit 0

Instructions to Script

1. Open Powershell ISE Search on Start and paste script in new file.

2. Set the $SAVE variables to Save files location.

3. Set $GAMEEXE (Game EXE) to the path to the game exe file & $GAMEPATH (Root folder of installation) to $GAMEPATH.

4. Create a folder for your backups.

5.Set $BACKUP to path created above – keep the \DDDA-$FILEDATESTAMP.sav though.

6. Save scripts, and run them in order to launch the games and backup saves.

Dragon's Dogma: Dark Arisen - Script for Automated Save Game Backup - Instructions for Script - AE15631

The conclusion of the article is:

And that is it.

Easy as pie

To Execute the script – you can either right-click it and click “run with powershell” or create a shortcut using this as the app to launch: powershell.exe -File “C:\Scripts\Scriptname.ps1”

Dragon's Dogma: Dark Arisen - Script for Automated Save Game Backup - Conclusion - 13C817E

Dragon's Dogma: Dark Arisen - Script for Automated Save Game Backup - Conclusion - 9A344CB

Thank you for taking the time to read Dragon’s Dogma: Dark Arisen – Script for Automated Save Game Backup, inspired by a compelling guide from MonkInsane. If you have any ideas on how to enhance this content, we’d be happy to hear them in the comments. Wishing you a fantastic day, and don’t forget to check back daily for the latest updates!


Be the first to comment

Leave a Reply

Your email address will not be published.


*