Last active
August 28, 2020 13:57
-
-
Save JPRuskin/e22ed88d29411b9e46f941735c7cc3e3 to your computer and use it in GitHub Desktop.
A quick script to copy Remedy's Control saves from Epic's save location to Steam.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.Synopsis | |
Copies save data from the EGS version of Remedy's Control to Steam's save location. | |
.Description | |
Old save files appear to be in a file structure similar to: | |
%LocalAppData%\Remedy\Control\Default-Epic-User\savegame-slot-00\global.chunk | |
Save files for the Steam version seem to be in the format: | |
Steam\userdata\<user-id>\870780\remote\savegame-slot-00_global (no extension) | |
This script naively copies all savegame slot chunks into the new location. | |
Though this is not a destructive action, I cannot guarantee anything about your system or how you run it. | |
.Link | |
https://twitter.com/jpruskin/status/1299340706797031424 | |
#> | |
# This assumes you only have one Steam userdirectory that has Control, and that Steam was installed in your x86 Program Files | |
$remoteDirectory = Convert-Path ${env:ProgramFiles(x86)}\Steam\userdata\*\870780\remote | |
foreach ($Chunk in Get-ChildItem -Path $env:LocalAppData\Remedy\Control\Default-Epic-User\savegame-slot-*\*) { | |
Copy-Item -Path $Chunk.FullName -Destination (Join-Path $remoteDirectory "$($Chunk.Directory.Name)_$($Chunk.BaseName)") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment