Skip to content

Fix Cyberpunk r6/cache file updates#170

Merged
Holt59 merged 1 commit intoModOrganizer2:masterfrom
ZashIn:cyberpunk/fix-cache
Jan 19, 2025
Merged

Fix Cyberpunk r6/cache file updates#170
Holt59 merged 1 commit intoModOrganizer2:masterfrom
ZashIn:cyberpunk/fix-cache

Conversation

@ZashIn
Copy link
Contributor

@ZashIn ZashIn commented Jan 19, 2025

Fixes an error (e.g. Permission denied: ...r6\\cache\\modded) when cleaning Cyberpunk script cache r6/cache with extra folder present in the game folder.

Normally r6/cache in a clean Cyberpunk installation should only contain final.redscript and tweakdb.bin.
This PR only fixes the file update logic (clean cache in overwrite and copy new files). Extra generated cache files in the game folder (before using MO) are still NOT handled and might get overwritten or deleted by the game / mods.

Although with a clean Cyberpunk installation, all generated (mod) cache files (while using MO) should be handled by this game plugin (in overwrite).

TODO for wiki:

  • Add a remark about always using a clean Cyberpunk installation, including r6/cache.

@Holt59 Holt59 merged commit 22920a0 into ModOrganizer2:master Jan 19, 2025
1 check passed
@ZashIn ZashIn deleted the cyberpunk/fix-cache branch January 25, 2025 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants