Use at your own risk! Remember to reboot pc after disabling Nvidia shader cache and before using the tools.
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.
Remember to reboot pc after disabling Nvidia shader cache and before using the tools.
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
8 days ago
8 days ago
Corsten
FieselWiesel
Tried the program and, like fuzzy21 (below), I received an error message "permission denied" for each location with my store version and for all but 2 of the caches with NVIDIA. Yes, I did disable my NVIDIA cache before running and did try rebooting my computer. Any ideas? Thanks,
Garry
21 days ago
8 days ago
Corsten
triflyman
First thanks for this great tool!
Sadly it doesn't detect the right user name in my case.
It detect's "Steffen" as my user name, but on my drive it is "Steff"...
I manually changed it in the vbs files and it works, but i'm curious to know why this is the case?
Thanks!
22 days ago
22 days ago
Corsten
kurdes
27 days ago
27 days ago
Corsten
rogerabram
I get these error messages:
1. error moving folder c:\users\scott\appdata\local\packages\microsoft.flightsimulate_8ew...\cache to
c:\users\scott\onedrive\desktop\cache removed_23_3_2024\cache' permission denied.
2. error moving folder c:\users\scott\appdata\local\packages\microsoft.flightsimulate_8ew...\sceneray_cache to
c:\users\scott\onedrive\desktop\scenerycache' permission denied.
3. error moving folder c:\users\scott\appdata\local\packages\microsoft.flightsimulate_8ew...\localcache\sceneryindexes to
error moving folder c:\users\scott\appdata\local\packages\microsoft.flightsimulate_8ew...\cache to c:\users\scott\onedrive\desktop\cache removed_23_3_2024\cache removed_23_3_2024\sceneryindexes permission denied.
4. error moving folder c:\users\scott\appdata\local\packages\microsoft.flightsimulate_8ew...\localstate\dce to error moving folder c:\users\scott\appdata\local\packages\microsoft.flightsimulate_8ew...\Desktop\cache removed_23_3_2024\dce permission denied.
This is what's in locations file:
Disable Shader cache in Nvidia Control panel, otherwise all the shaders won't be cleaned.
Shader Cache locations:
- C:\Users\scott\AppData\Local\D3DSCache
- C:\Users\scott\AppData\Local\NVIDIA\GLCache
- C:\Program Files (x86)\Steam\steamapps\shadercache\
- C:\Users\scott\AppData\Roaming\NVIDIA\ComputeCache
- C:\Users\scott\AppData\LocalLow\NVIDIA\PerDriverVersion\DXCache
- C:\Users\scott\AppData\LocalLow\NVIDIA\PerDriverVersion\GLCache
- C:\Users\scott\AppData\Local\AMD\DxCache
MSFS cache locations:
- C:\Program Files (x86)\Steam\steamapps\common\MicrosoftFlightSimulator\cache
- C:\Users\scott\AppData\Roaming\Microsoft Flight Simulator\cache
- C:\Users\scott\AppData\Roaming\Microsoft Flight Simulator\SceneryCache
- C:\Users\scott\AppData\Roaming\Microsoft Flight Simulator\SceneryIndexes
- C:\Users\scott\AppData\Roaming\Microsoft Flight Simulator\DCE
- C:\Users\scott\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\SceneryCache
- C:\Users\scott\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\SceneryIndexes
- C:\Users\scott\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\cache
- C:\Users\scott\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\DCE
1 months ago
1 months ago
Corsten
fuzzy21
1 months ago
1 months ago
Corsten
55BalOu55