Description
The Cleanup Script for Windows is a small utility designed to keep your The Sims 4 user folder clean and healthy. It removes temporary cache folders and diagnostic log files that can build up over time and may cause lag, UI glitches, or confusing error reports — especially after game updates or frequent mod changes.
Important: Nothing is deleted automatically. Files are only removed when you manually run the script. This gives you full control and allows you to keep logs for troubleshooting if needed. The script checks whether it is running with Administrator rights. If not, it automatically restarts and asks for permission. This prevents situations where the script appears to “do nothing” because Windows blocks file access.
This script deletes the following data:
- onlinethumbnailcache (folder and all files)
- cachestr (folder and all files)
- ConfigOverride, Screenshots & Снимки экрана (folders – deleted only if empty)
- localthumbcache.package
- localsimtexturecache.package
- avatarcache.package
- UserData.lock
- notify.glob
- ConnectionStatus.txt
- GPU Benchmark Results.txt & GPU Score Results.txt
- lastCrash, lastException & lastUIException (all matching
.txtfiles)
Logs from supported mods
The script also removes the following diagnostic logs. Only matching log or report files are affected; the mods themselves and their settings are not deleted.
| Mod | Logs removed |
|---|---|
| Andirz Smart Core Script | Andirz_*.log |
| Better Exceptions by TwistedMexi | BE-ExceptionReport*.html, BE-UIExceptionReport*.html |
| Better Time Control by ModNest | *better-time-control* logs and reports |
| MidniteTech Script | *midnitetech_log* logs and reports |
| TANK’s Mods | *TanksMods* logs and reports |
| WickedWhims | *WickedWhims* and *WhimsInfo* logs and reports |
No other files will be deleted. Your Saves, Mods, Tray files, and all personal game data remain untouched.
Availability
The Cleanup Script is available exclusively to supporting patrons on Patreon. As a separate Windows utility rather than an in-game The Sims 4 mod, it is offered as paid content. A submission to CurseForge was rejected because the script is not a mod.
Why you should delete cache files?
Cache files are meant to be temporary. After patches, mod updates, or configuration changes, they can become outdated or corrupted. Deleting them forces the game to regenerate fresh data on the next start, which often resolves:
- random UI issues;
- long loading times;
- visual glitches;
- misleading error messages.