From ab145250c676181d0637b23e30c4b70676f34cff Mon Sep 17 00:00:00 2001 From: Faraphel Date: Mon, 29 Aug 2022 21:41:01 +0200 Subject: [PATCH] extracting a game now only extract the DATA directory, update and other part are ignored --- source/wt/wit.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/wt/wit.py b/source/wt/wit.py index 246a33d..e147a2e 100644 --- a/source/wt/wit.py +++ b/source/wt/wit.py @@ -122,7 +122,13 @@ class WITPath: shutil.copytree(self._get_fst_root(), dest) else: - process = _tools_run_popen("EXTRACT", self.path, "-d", dest, "--progress", universal_newlines=True) + process = _tools_run_popen( + "EXTRACT", self.path, + "--DEST", dest, + "--progress", + "--psel=DATA", # only extract the game data, ignore update data, ... + universal_newlines=True + ) # universal_newlines is required to correctly read text line by line while process.poll() is None: