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
| # 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 |
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
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Collections; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using System; | |
| using System.Threading; | |
| public class Utilities : EditorWindow | |
| { |