From 031c6e9f8cddc6578284ff831d66bcdb972f65a1 Mon Sep 17 00:00:00 2001 From: Ennea Date: Sun, 23 Jul 2023 09:44:14 +0200 Subject: [PATCH] adjust cache path to match HSR 1.2. fixes #7 --- warp_journal/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/warp_journal/util.py b/warp_journal/util.py index 2d48fc8..9c2e1d5 100644 --- a/warp_journal/util.py +++ b/warp_journal/util.py @@ -72,7 +72,7 @@ def get_cache_path(): # python cannot do this without raising an error, and neither can the default # windows copy command, so we instead delegate this task to powershell's Copy-Item try: - path = Path(game_path) / 'Games/StarRail_Data/webCaches/Cache/Cache_Data/data_2' + path = Path(game_path) / 'Games/StarRail_Data/webCaches/2.14.0.0/Cache/Cache_Data/data_2' logging.debug('cache path is: ' + str(path)) if not path.exists(): logging.debug('cache file does not exist')