Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :: CLEANMODTEMP.BAT
- :: 2022.11.21
- :: ReActif
- ::
- :: This script delete all log files and log folder in CP2077
- :: And delete generated files in R6 folder
- @echo off
- title RESET MOD FILES
- cls
- :Variables
- :: SET YOUR GAME PATH WITHOUT THE LAST \
- set game_path=C:\Program Files (x86)\Steam\steamapps\common\Cyberpunk 2077
- :CyberEngineTweaks
- del /q /s "%game_path%\bin\x64\plugins\*.log"
- del /q /s "%game_path%\bin\x64\plugins\cyber_engine_tweaks\*.sqlite3"
- :R6
- if exist "%game_path%\r6\cache\final.redscripts.bk" (
- del /q "%game_path%\r6\cache\final.redscripts"
- ren "%game_path%\r6\cache\final.redscripts.bk" final.redscripts
- )
- if exist "%game_path%\r6\cache\redscript.ts" ( del /q "%game_path%\r6\cache\redscript.ts" )
- if exist "%game_path%\r6\cache\inputContexts.xml" ( del /q "%game_path%\r6\cache\inputContexts.xml" )
- if exist "%game_path%\r6\cache\inputUserMappings.xml" ( del /q "%game_path%\r6\cache\inputUserMappings.xml" )
- del /q /s "%game_path%\r6\cache\*.log"
- rmdir /q /s "%game_path%\r6\cache\modded"
- rmdir /q /s "%game_path%\r6\logs"
- :Red4Ext
- rmdir /q /s "%game_path%\red4ext\logs"
- del /q /s "%game_path%\red4ext\plugins\*.log"
- :End
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement