Last active
December 7, 2022 05:51
-
-
Save fredimachado/19a489f6dccdb9e2d18b482bed87059d to your computer and use it in GitHub Desktop.
Fix/Convert Fortnite Replays to 8.30
This file contains 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
# Big thanks to the original creator of this script, IamLukeVice: https://www.reddit.com/user/IamLukeVice | |
# | |
# Copy all this content, paste in notepad and save as a ps1 file, example: Fix-Fornite-Replays.ps1 | |
# Then, open the folder containing the script, right click it and choose: Run With Powershell | |
# If it doesnt run, follow this: https://superuser.com/questions/106360/how-to-enable-execution-of-powershell-scripts | |
# | |
# Script to delete duplicate replay files: https://gist.github.com/fredimachado/1a3d36f34e786a423328a347ff11215a | |
$LocalAppDataFolder = "$env:LOCALAPPDATA" | |
$FortniteReplaysFolder = $LocalAppDataFolder + "\FortniteGame\Saved\Demos" | |
$count = 0 | |
Get-Childitem $FortniteReplaysFolder -Filter *.replay | | |
Foreach-Object { | |
$bytes = [System.IO.File]::ReadAllBytes($_.fullname) | |
$offset = 0x10 | |
if($bytes[$offset] -ne 0x49){ | |
"Fixing: " + $_.Name | |
$bytes[$offset] = 0x49 | |
$bytes[$offset+1] = 0xfb | |
$bytes[$offset+2] = 0x58 | |
[System.IO.File]::WriteAllBytes($_.DirectoryName + "\fixed-" + $_.Name, $bytes) | |
$count++ | |
} | |
else{ "Already correct version: " + $_.Name } | |
} | |
"Fixed " + $count + " Files." | |
"Press a key..."; $x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") |
is it possible to get another update?
still, look no way to decrypt encrypted data. but can get public data the same as before
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm sure it's out-dated now - Please can we get an update?