I was just renaming the file. I have a script to do it for me:
Renaming the files doesn’t take long, and you can then fly!
This script will search your “OneStore” folder for any folder with a CGL file in it, excluding “fs-base-cgl”, and rename each “.cgl" file it finds to ".cgl.bak”, and prints out what it changed at the end. There is a pause that can be removed, but gives you the chance to see what its doing before you let it process the rest.
Run this at your own risk!
Script
$onestore = "D:\Flight Simulator\Official\OneStore" # Set your "OneStore" location here
Set-Location $onestore
$folders = get-childitem $onestore | Where-Object {$_.Name -notlike "fs-base-cgl" }
$cgls = Get-ChildItem $folders -Filter *.cgl -Recurse
foreach ($cgl in $cgls) {
$fullpath = $cgl.DirectoryName + "\" + $cgl.Name
Rename-Item $fullpath -NewName $cgl".bak"
Write-Host $fullpath".bak"
Read-Host "Paused..."
}
This will rename them back:
Script
$onestore = "D:\Flight Simulator\Official\OneStore" # Set your "OneStore" location here
Set-Location $onestore
$folders = get-childitem $onestore | Where-Object {$_.Name -notlike "fs-base-cgl" }
$cgls = Get-ChildItem $folders -Filter *.cgl.bak -Recurse
foreach ($cgl in $cgls) {
$fullpath = $cgl.DirectoryName + "\" + $cgl.Name
Rename-Item $fullpath -NewName $cgl.ToString().TrimEnd(".bak")
Write-Host $fullpath.ToString().TrimEnd(".bak")
Read-Host "Paused..."
}