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.

    Log in to join the discussion

    Log In

    Comments(34)

    H

    3 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

    3 days ago

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

    2 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

    4 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

    3 days ago

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

    about 1 month 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

    4 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 1 month 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

    4 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

    4 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 1 month 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

    4 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 1 month 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

    4 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

    about 2 months ago

    Amazing tool
    b

    about 2 months ago

    Ive tried all the other cache tools on here. theyre all garbage. This one by far is the best one. Great work! Thx. Sim runs like butta!
    A

    about 2 months ago

    Great tool !
    You don't know whats been missing until you got it.
    Thanx
    N

    about 2 months ago

    Awesome tool really improved my performance. Thanks
    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

    Downloads8K
    Version1.1.1
    File Size63.1 MB
    Published7 months ago
    Updated3 days ago
    Classification
    Utilities4.9 (11)

    User Reviews

    4.9

    11 reviews

    5
    91%
    4
    9%
    3
    0%
    2
    0%
    1
    0%

    Version History

    v1.1.1 - Critical safety fix: Manual folder cleanup now deletes only ROLLINGCACHE.CCC, protecting unrelated files. - Invalid saved paths are ignored, and folder links/junctions are skipped. - Locked files are skipped instead of scheduled for deletion after reboot. - Cache paths are now visible in the interface and cleanup confirmation. - Added NVIDIA App instructions to clear and rebuild supported shaders. Updating is strongly recommended. MSFS may reset rolling-cache size after deletion; restore your preferred size in the simulator.

    Related