March 23, 20242 yr https://flightsim.to/file/71729/corsten-s-cache-shader-removal-tool Use at your own risk! VBS -scripts are made by ChatGPT. Tool has been tested and works good with steam & store versions. Tested also with Nvidia and AMD graphics cards. What is the point to clean your MSFS cache and GPU drivers shader cache? - MSFS cache and shader cache makes MSFS run less smoother, when cache arent cleaned for a while. - Specialy Sim updates and world updates makes MSFS run less smoother because of incombatible cache files. - New GPU graphics drives could also make a diffrence in smoothness, so shader cache and MSFS cache is recodemmend to be cleaned with these tools after GPU driver update. Shader cache removal tool - This script will move shader cache folders to desktop and creates a folder and 'cache_locations.txt' file inside of that folder. - with that cache_locations.txt you can see, where the tool did move cache. Basicly it is a backup. - Make sure to disable shader cache in Nvidia Control Panel, otherwise, all the shaders won't be cleaned. - If there is problems with moving, try to restart pc and try again. Cache folders might be in use by some process. Use at your own risk. MSFS cache removal tool - This script will move MSFS cache folders to desktop and creates a folder and 'cache_locations.txt' file inside of that folder. - with that cache_locations.txt you can see, where the tool did move cache. Basicly it is a backup. - If there is problems with moving, try to restart pc and try again. Cache MSFS folders might be in use by some process. Here are the locations, tools are looking for: Shader Cache locations: - C:\Users\USERNAME\AppData\Local\D3DSCache - C:\Users\USERNAME\AppData\Local\NVIDIA\GLCache - C:\Program Files (x86)\Steam\steamapps\shadercache\ - C:\Users\USERNAME\AppData\Roaming\NVIDIA\ComputeCache - C:\Users\USERNAME\AppData\LocalLow\NVIDIA\PerDriverVersion\DXCache - C:\Users\USERNAME\AppData\LocalLow\NVIDIA\PerDriverVersion\GLCache - C:\Users\USERNAME\AppData\Local\AMD\DxCache MSFS cache locations: C:\Program Files (x86)\Steam\steamapps\common\MicrosoftFlightSimulator\cache C:\Users\USERNAME\AppData\Roaming\Microsoft Flight Simulator\cache C:\Users\USERNAME\AppData\Roaming\Microsoft Flight Simulator\SceneryCache C:\Users\USERNAME\AppData\Roaming\Microsoft Flight Simulator\SceneryIndexes C:\Users\USERNAME\AppData\Roaming\Microsoft Flight Simulator\DCE C:\Users\USERNAME\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\SceneryCache C:\Users\USERNAME\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\SceneryIndexes C:\Users\USERNAME\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\cache C:\Users\USERNAME\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\DCE
March 23, 20242 yr Nice idea. Does this also cover the Disc Cleanup for Windows recommended step? Valentin Rusu AMD Ryzen 9950X3D OC, Asus RTX 5090 OC, DDR5 64GB @6000MHz, Samsung 9100 NVMe for MSFS2024
March 23, 20242 yr Thanks for the great guide and removal tool! I always clear cache with every MSFS and NVidia driver update. I do it in safe mode to get rid of everything. By the way, I see that you have the gift of spelling hangar correctly 😅 7950X3D | RTX 4090 | 64GB DDR5
March 23, 20242 yr Thanks for this tool. I do have one question though, Does it also remove the Manually created cache & rolling cache from MSFS? Real Life Flight Sim Pilot
March 23, 20242 yr I'm quite interested in trying this tool but would prefer to see a bit more feedback before giving it a go. Does it come with any drawbacks or risks? Ryzen 5800X3D, Nvidia RTX5080 - 32 Gig DDR4 RAM, 1TB & 2 TB NVME drives - Windows 11 64 bit MSFS 2024 Premium Deluxe Edition Resolution 2560 x 1440 (32 inch curved monitor)
March 23, 20242 yr So, I just tried it and to answer my own question it doesn't delete the MSFS Manually Created and Rolling Cache. It did give me a few errors though which I think is because I don't have my Steam installed in the default location/drive so the script couldn't find any of my MSFS Cache and gave me errors. My Steam is in my d: folder so is my MSFS install. I did work for the NVIDIA Cache thought. Real Life Flight Sim Pilot
March 23, 20242 yr VBS script made by ChatGPT? Yeah, no thanks. [MSI MPG X870E Carbon | 9800X3D (PBO +200Mhz / -20 Offset) | Corsair 64GB DDR5 (Custom Timings) | RTX 4090 Founders Edition (Undervolted) | WD SNX 850X 4TB + 4TB | Antec Flux Pro]
March 23, 20242 yr 24 minutes ago, Sethos said: VBS script made by ChatGPT? Yeah, no thanks. Pardon my ignorance, but why is that bad? Btw I only do the following: delete .dat files in %localAppData%\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\SceneryIndexes delete Content.xml and ROLLINGCACHE.CCC in %localAppData%\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache Edited March 23, 20242 yr by Cpt_Piett 7950X3D | RTX 4090 | 64GB DDR5
March 23, 20242 yr 6 minutes ago, Cpt_Piett said: Pardon my ignorance, but why is that bad? Computer code creating computer code. Its not a Star Wars Dooms Day scenario (theirs's is evil people)...but surely an iRobot, Terminator, Matrix theme (evil AI and computers/robots/cyborgs). Edited March 23, 20242 yr by Steve Dra Regards, Steve DraGet my paints for MSFS planes at flightsim.to here, and iFly 737s hereDownload my FSX, P3D paints at Avsim by clicking here
March 23, 20242 yr 9 minutes ago, Cpt_Piett said: Pardon my ignorance, but why is that bad? Btw I only do the following: delete .dat files in %localAppData%\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\SceneryIndexes delete Content.xml and ROLLINGCACHE.CCC in %localAppData%\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache Because if you are unable to create a simple VBS script to delete some files, without resorting to an AI doing it for you, means the creator probably has little clue what he's doing and thus I wouldn't trust executing that code on my computer. Plus if the AI does spit out some dangerous code, who's to say he will even catch it or can help troubleshoot anything? People will run anything on their PC these days. [MSI MPG X870E Carbon | 9800X3D (PBO +200Mhz / -20 Offset) | Corsair 64GB DDR5 (Custom Timings) | RTX 4090 Founders Edition (Undervolted) | WD SNX 850X 4TB + 4TB | Antec Flux Pro]
March 23, 20242 yr Author 3 hours ago, Vali said: Nice idea. Does this also cover the Disc Cleanup for Windows recommended step? No at this point. I can try to find solution for that. Tool is giving errors - if you have nvidia gpu and trying to clear amd cache. I did want to include all scenarios in one script. - folder to remove is used by another app, therefore reboot and disabling shader cache is must before running the tool scripts. - there isnt such folders, i had those all generated but i might taka several games to have something in GLcache folder for example. Yes, i dont have skills to do this kind a code so chatGPT is great tool to have. Gemini could be even better.
March 23, 20242 yr 1 hour ago, Steve Dra said: Computer code creating computer code. Its not a Star Wars Dooms Day scenario (theirs's is evil people)...but surely an iRobot, Terminator, Matrix theme (evil AI and computers/robots/cyborgs). lol 😆 That’s almost like machines making machines. 3PO would faint… 1 hour ago, Sethos said: Because if you are unable to create a simple VBS script to delete some files, without resorting to an AI doing it for you, means the creator probably has little clue what he's doing and thus I wouldn't trust executing that code on my computer. Plus if the AI does spit out some dangerous code, who's to say he will even catch it or can help troubleshoot anything? Thanks for the heads up! I’ll just continue doing it manually then (not even skilled enough to create a simple batch file, lol) Edited March 23, 20242 yr by Cpt_Piett 7950X3D | RTX 4090 | 64GB DDR5
March 23, 20242 yr This seems like a great idea, I think I will wait a little longer to see how people are doing with it. Jay| PPL ASEL || Ryzen 7 7800x3D | MSI GeForce RTX 4090 Gaming Trio 24Gb | ASUS X670E-E ROG Strix | 64GB G.Skill Trident Z5 Neo RGB DDR5-6000 | x2 32' 4K | Windows 11
March 23, 20242 yr Author I think i have to separate scripts for all platforms, people are confused with errors that are fine, not errors.
March 23, 20242 yr 2 minutes ago, Corsten said: I think i have to separate scripts for all platforms, people are confused with errors that are fine, not errors. But if something states "error" to a user, they're never going to be fine with it. Corsten, I love your GA AI work. It's amazing. But I think your work here needs more time to perfect. I ran the MSFS Cache Cleaner (MSFS Store) and it worked fine. But the Nvidia cache tool generated error messages - even with NCP Shader Cache set to Disabled and after a reboot. Again, in terms of perception, no-one wants to use a tool that generates an error message - even if you tell them it' fine. 👍 Bill 😎FS2024 • Currently in 'GA mode' : A2A Comanche 2024 & Aerostar • Black Square C208, Bonanzas, Barons, TBM850, Dukes • COWS DA40 & DA42 • FSW Legacy, C24R Sierra & C414 • Echo Falco F8L • FFX HJET, Visionjet and P180 2024 • Got Friends A32 Vixxen • FSReborn Sirius TL3000, Sting S4 and Piper M500 • Flyboy Rans S6S • Skyward DA50RG • SWS Zenith CH701, RV-8, RV-10, RV-14, PC12 • Milviz C310R • Air Foil Labs Bristell B23 TrackIR • BeyondATC • PMS GTN Payware • RealTurb • Axis & Ohs • FS Realistic Pro9800X3D • RTX 3080 • 64GB DDR5-6000NPPL licence holder in the UK
Create an account or sign in to comment