Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cyberpunk fix game update #127

Merged
merged 3 commits into from
Nov 17, 2023

Conversation

ZashIn
Copy link
Contributor

@ZashIn ZashIn commented Nov 14, 2023

Adds setting clear_cache_after_game_update (by default True) to clear cache automatically on game update, i.e. when the original game files change.

Details:

  • with redscript: r6/cache/final.redscript is changed, final.redscript.bk is created as backup, which should always match the original game files
  • with REDmod: file changes are written into subdir /modded, so r6/cache/final.redscript should match original game files

Therefore after a game update, final.redscript and final.redscript.bk (if exists) differ from original game files, so the plugin clears r6/cache and copies the new files to overwrite again.

Tested with Cyberpunk 2.01 -> 2.02

@Silarn Silarn merged commit 4d7a7cc into ModOrganizer2:master Nov 17, 2023
1 check passed
@ZashIn ZashIn deleted the cyberpunk-fix-game-update branch February 19, 2024 19:01
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.

3 participants