mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-04 11:48:22 +02:00
extracting a game now only extract the DATA directory, update and other part are ignored
This commit is contained in:
parent
f0f076fd9c
commit
ab145250c6
1 changed files with 7 additions and 1 deletions
|
@ -122,7 +122,13 @@ class WITPath:
|
||||||
shutil.copytree(self._get_fst_root(), dest)
|
shutil.copytree(self._get_fst_root(), dest)
|
||||||
|
|
||||||
else:
|
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
|
# universal_newlines is required to correctly read text line by line
|
||||||
|
|
||||||
while process.poll() is None:
|
while process.poll() is None:
|
||||||
|
|
Loading…
Reference in a new issue