@echo off setlocal REM ═══════════════════════════════════════════════════════ REM FiveM Cache Cleaner — legendaryltdcompany.com free tool REM Clears client-side cache so stale assets re-download. REM Safe: only touches cache folders, never game files. REM ═══════════════════════════════════════════════════════ echo. echo FiveM Cache Cleaner ^| legendaryltdcompany.com echo ------------------------------------ echo. set "FM=%LOCALAPPDATA%\FiveM\FiveM.app" if not exist "%FM%" ( set "FM=%LOCALAPPDATA%\FiveM" ) if not exist "%FM%\data" ( echo [!] FiveM data folder not found under %LOCALAPPDATA%\FiveM echo If FiveM is installed elsewhere, run this from its folder. pause exit /b 1 ) echo Closing FiveM if it is running... taskkill /f /im FiveM.exe >nul 2>&1 taskkill /f /im FiveM_b2802_GTAProcess.exe >nul 2>&1 taskkill /f /im FiveM_b3095_GTAProcess.exe >nul 2>&1 taskkill /f /im FiveM_b3258_GTAProcess.exe >nul 2>&1 taskkill /f /im FiveM_b3407_GTAProcess.exe >nul 2>&1 set /a CLEARED=0 for %%D in (server-cache server-cache-priv cache nui-storage) do ( if exist "%FM%\data\%%D" ( rd /s /q "%FM%\data\%%D" >nul 2>&1 if not exist "%FM%\data\%%D" ( echo [OK] cleared data\%%D set /a CLEARED+=1 ) else ( echo [!] could not fully clear data\%%D - is FiveM still open? ) ) ) echo. if %CLEARED% GTR 0 ( echo Done — %CLEARED% cache folder(s) cleared. echo Launch FiveM and rejoin: assets re-stream fresh. ) else ( echo Nothing to clear — cache was already clean. ) echo. pause