From 30a08c787c75e9edcbd1ea3ec03ee41ea2d85427 Mon Sep 17 00:00:00 2001 From: m4ko Date: Fri, 28 Aug 2026 20:15:57 +0200 Subject: [PATCH] new user data storage, to preserve data better. --- ptlinux/paths.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/ptlinux/paths.py b/ptlinux/paths.py index b28c513..e03583c 100644 --- a/ptlinux/paths.py +++ b/ptlinux/paths.py @@ -162,6 +162,16 @@ class AppPaths: def runtime_manifest(self) -> Path: return self.state / "runtime-view.json" + @property + def game_user_data(self) -> Path: + """Writable game-created data kept outside the replaceable runtime view.""" + + return self.data / "user-data" + + @property + def game_save(self) -> Path: + return self.game_user_data / "save" + @property def compatibility_binaries(self) -> Path: return self.data / "compatibility-binaries" @@ -172,7 +182,7 @@ class AppPaths: @property def runtime_patch_directory(self) -> Path: - return self.data / "runtime-patches" / "v21-texture-reclaim" + return self.data / "runtime-patches" / "v21-post-auth-reclaim" @property def runtime_patch_dll(self) -> Path: @@ -182,6 +192,12 @@ class AppPaths: def runtime_patch_manifest(self) -> Path: return self.state / "runtime-patch.json" + @property + def retired_runtime_patch_dll(self) -> Path: + """The pre-0.5.7 all-session patch, retained only for diagnostics.""" + + return self.data / "runtime-patches" / "v21-texture-reclaim" / "game.dll" + @property def compat_data(self) -> Path: return self.data / "game-compat"