Flightsim.to
    ClearSkies - Image 1

    Description

    ClearSkies

    A native, Open Source, Windows application to clean NVIDIA, AMD, and DirectX shader caches, as well as Microsoft Flight Simulator rolling cache data.

    GitHub Repository: purcilas/ClearSkies

    Disclaimer: This software is provided "as is", without warranty of any kind. Use it at your own risk. The author is not responsible for any data loss, system issues, or other damages that may result from using this application. Always ensure important data is backed up before performing any cleanup operations.

    Features

    • Multi-Cache Support: Cleans multiple shader cache types:

      • NVIDIA DirectX Shader Cache
      • NVIDIA OpenGL Shader Cache
      • NVIDIA GPU Cache
      • DirectX Shader Cache (D3DSCache)
      • AMD Shader Caches (DX11 & DX12)
    • MSFS Auto-Detection: Automatically detects MSFS 2020 and 2024 installations (Steam and MS Store)

      • Rolling Cache (.ccc files) cleanup
      • SceneryIndexes cleanup (fixes missing scenery and reduces load times)
      • Manual folder picker available as fallback
    • Cache Size Display: Shows the size of each cache before cleaning

    • Selective Cleaning: Choose which caches to clean with checkboxes

    • Live Deletion Log: Real-time log showing exactly which files are being deleted

      • See every file removed during cleanup
      • Track skipped files (locked/in-use)
      • View summary statistics
    • Locked File Handling: Files in use are automatically scheduled for deletion on the next system restart (requires Administrator)

    • Automatic Scheduling: Set up automatic cache cleaning using Windows Task Scheduler

      • Daily, Weekly, or Monthly schedules
      • Custom time selection

    Requirements

    • Windows 10/11
    • Administrator privileges recommended (for locked file handling and scheduling)

    Installation

    1. Download the latest release
    2. Extract to a folder of your choice
    3. Run ClearSkies.exe

    Usage

    Manual Cleaning

    1. Launch the application
    2. Caches are automatically scanned on launch
    3. Select the caches you want to clean (or use All/None buttons)
    4. Click "Clear the Skies!" to remove the cached files
    5. Confirm the deletion when prompted
    6. Watch the live log at the bottom to see which files are being deleted in real-time

    MSFS Cache

    MSFS 2020 and 2024 installations are automatically detected (both Steam and MS Store versions). The app will find and display:

    • Rolling Cache — large .ccc cache files
    • SceneryIndexes — scenery index data that can become corrupted

    If auto-detection doesn't find your installation, use "Set Folder" to manually select the MSFS cache directory.

    Scheduled Cleaning

    1. Click the "Schedule..." button
    2. Enable "Enable Automatic Cache Cleaning"
    3. Choose frequency (Daily, Weekly, or Monthly)
    4. Set the time for automatic cleaning
    5. Click "Apply"

    Note: Creating scheduled tasks requires Administrator privileges.

    Command Line

    The application supports silent cleaning via command line:

    ClearSkies.exe /clean

    This is used by the Task Scheduler for automatic cleaning.

    Why Clean Shader Caches?

    Shader caches can accumulate over time and consume significant disk space. Cleaning them can:

    • Free up disk space (often several GB)
    • Resolve graphics issues or corruption
    • Improve game performance in some cases
    • Prepare for major game updates

    Games will automatically rebuild shader caches as needed, so it's safe to delete them.

    Building from Source

    Prerequisites

    • Visual Studio 2022 or later
    • .NET 8.0 SDK

    Build

    cd ClearSkies
    dotnet build

    Publish (single-file exe)

    dotnet publish -c Release -r win-x64 --self-contained true

    Troubleshooting

    "Not running as Administrator" warning:

    • Some caches require admin rights to access
    • Right-click the app and select "Run as Administrator"

    Some files won't delete:

    • Files in use by running applications are skipped
    • When running as Administrator, locked files are scheduled for deletion on reboot
    • Close graphics-intensive applications before cleaning for best results

    License

    This project is licensed under the MIT License.

    Connectez-vous pour participer à la discussion

    Se connecter

    Commentaires(39)

    A

    about 5 hours ago

    This has worked perfectly. For some reason, the sim said I have less GPU memory capacity than I actually have. Using this tool has fixed the problem.
    D

    1 day ago

    An excellent program, the only wish to the author, you can specify the version number in the folder name immediately. For example, ClearSkies v1.1.2, otherwise it's confusing.
    M

    2 days ago

    Great job on the update! Everything works as expected.
    J

    8 days ago

    This version is rubbish; the original version doesn't ask annoying, wordy questions about NVIDIA shaders, and clearing the scenery index worked fine too. Now, all of a sudden, it’s supposedly not working with "linked folders"—whatever the problem actually is. It’s a good thing I still have the previous version.
    p
    purcilasAuthor

    3 days ago

    Agreed and 1.1.2 is on the way which addresses this feedback. Thank you!
    H

    20 days ago

    The software can't recognize the RollingCache file itself in a custom folder (I have it in a folder next to MSFS Content folder) and wants to delete the whole folder (Content folder included). Is there a way to delete only the cache file?
    p
    purcilasAuthor

    20 days ago

    Did you download the latest release? It explicitly looks for the file now instead of the folder.
    H

    19 days ago

    One more thing: If i wanna use schedule and I don't want to delete any videocache, will those checkboxes remain unchecked? Because when i disable them and restart the app they become checked again.
    M

    21 days ago

    Hi... There's an error in the add-on version numbering: it says v1.1.0, but it should be v1.1.1, like here on the page.... THX...
    p
    purcilasAuthor

    20 days ago

    Very strange. Seems I uploaded the wrong file. It's fixed now.
    m

    about 2 months ago

    Will not clear the Direct X shader cache until you set it to disabled in the nividia app and reboot. then re enable it.
    p
    purcilasAuthor

    21 days ago

    Correct. Might be easier to do so directly from NVIDIA App. Will add a note in the app advising to do it using the NVIDIA App.
    r

    about 2 months ago

    Great Tool!
    But I’ve noticed that every time I use Clear Skies, the MSFS 2024 Rolling Cache gets reset to 16 GB. I normally have it set to 64 GB, so I have to manually change it back to 64 GB after running Clear Skies.

    Is there a setting in Clear Skies that I can change so that the Rolling Cache remains at 64 GB instead of being reset to 16 GB?
    L

    21 days ago

    Even when you find and delete the rolling cache yourself, the sim completely ignores your previous setting and regenerates it at 16GB. I'm not sure this is something the author can fix
    p
    purcilasAuthor

    21 days ago

    I researched this and there is no way I can fix this. There is no setting the app could set to get it back to what it was before.
    G

    about 2 months ago

    ATTENTION !!! Lorque j'ai lançé l'application en ayant indiqué le dossier par défaut de FS2024 soit : c:\Users\Administrateur.MATRIX\AppData\Local\Packages\Microsoft.Limitless_8wekyb3d8bbwe\ Il à trouvé presque 400 Go de données à supprimer or j'avais lançé la routine et là surprise je constatais qu'il était en train de m'effacer des applications et diverses données de mes documents. J'ai juste eu le temps d'arrêr le processus mais je crains que des dégats concernant mes données soient perdues. Donc à vos risques et périls. Petit détail qui a peu-être sont importance, lorsque vous paramètrez vous pouvez constater qu'il n'indique aucun chemin pour le rolling cache et d'ailleurs il ne l'efface pas, moi je lui ai indiqué le chemin et peut-être est-ce là l'erreure. Je viens de découvrir que dans le fichier "settings.json" qui se trouve dans Clearskys, Les lignes suivantes : {
    "MsfsCachePath": "G:\\Documents"
    }

    Donc en fait je ne sais pas comment cette ligne soit créée dans le setting de Clearskys et apparamment il n'aurait touché que mon dossier Document. Heureusement que j'ai fait la dernière sauvegarde il y a 2 jours. Donc vérifiez votre setting sanchant que pour ma part j'avais mis en place la programmation automatique qui ne se fait qu'en mode Administrateur.

    j'ai refais l'expérience en supprimant ce fichier settings donc en laissant par défaut et là pas de problème. Donc c'est en voulant indiquer le chemin en manuel qu'il créer ce fichier settings mais ce chemin "Documents" je ne lui ai jamais indiqué puisque vous cliquez sur le dossier c:\Users\Administrateur.MATRIX\AppData\Local\Packages\Microsoft.Limitless_8wekyb3d8bbwe\. Bref ! c'est très curieux.

    Suite...J'ai refais la manip suivante, je lui ai indiqué en manuel le chemin que j'ai mentionné ci dessus qui est le dossier Microsoft.Limitless_8wekyb3d8bbwe\ or là c'est très grave ! Il supprime tout le contenu de ce dossier ! La question que je me pose une question en mode par défaut, quel dossier prend t-il ? DONC RESTER PAR DEFAUT ! Et ne lui indiquer pas un chemin !
    p
    purcilasAuthor

    21 days ago

    Merci beaucoup d’avoir signalé ce problème.

    Il s’agissait bien d’un problème réel, même si j’avais déjà intégré plusieurs protections dans le code pour éviter ce type de situation. Malheureusement, ce cas particulier n’était pas correctement pris en compte.

    Le problème est maintenant corrigé et une nouvelle version a été mise en ligne.

    Merci encore pour votre retour et pour avoir pris le temps de le signaler.

    about 2 months ago

    It helps when I use it before running MSFS 2024, but it seems to skip the NVIDEA DirectX Shader Cache, leaving 164KB untouched. How do I delete this too?
    p
    purcilasAuthor

    21 days ago

    You have to run the app as admin and reboot. Or, Nvidia App now has a functionality to delete and rebuild shader cache from within it so you can avoid the reboot. I recommend using the NVIDIA App.
    I

    2 months ago

    Amazing tool
    MSFS 2020MSFS 2024

    ClearSkies

    ClearSkiesA native, Open Source, Windows application to clean NVIDIA, AMD, and DirectX shader caches, as well as Microsoft Flight Simulator rolling cache data.GitHub Repository: purcilas/ClearSkiesDis

    Téléchargements10K
    Version1.1.2
    Taille du fichier63.2 MB
    PubliéIl y a 7 mois
    Mis à jourIl y a 3 jours
    Classification
    Utilities4.9 (14)

    Avis des utilisateurs

    4.9

    14 avis

    5
    93%
    4
    7%
    3
    0%
    2
    0%
    1
    0%

    Historique des versions

    v1.1.2 Thanks for the feedback on 1.1.1. This update fixes the two biggest complaints and keeps the safety fixes. Fixed - MSFS installs moved to another drive work again. If you moved your sim with a folder link or junction, 1.1.1 showed 0 bytes and SceneryIndexes and the rolling cache would not clear ("Linked cache folders are not supported"). They work again, like they did in 1.1.0. - A manually selected rolling cache folder works again when it is reached through a link. - If your saved manual cache folder is no longer valid, you now get one warning and it is cleared. Before, the warning appeared every time you opened the app. Changed - Removed the NVIDIA popup that appeared every time you cleaned. The "NVIDIA App instructions" button is still there if you want it. Safety (still in place) - Manual cleanup only ever deletes ROLLINGCACHE.CCC, never anything else in the folder. - Linked folders inside a cache are never followed or deleted. - ClearSkies will not clean a cache folder that actually points to your drive, user folders (Documents, Desktop, Downloads, OneDrive), Windows, Program Files, your Community or Official folder, or your MSFS install. How to update Close ClearSkies and replace your old ClearSkies.exe with the new one. You don't need to install .NET separately.

    Similaires