From 7a5ab6342d00cf4433f1e93ed28cbc233437f853 Mon Sep 17 00:00:00 2001 From: tmpz23 <28760271+tmpz23@users.noreply.github.com> Date: Mon, 15 Nov 2021 22:22:35 +0100 Subject: [PATCH] Update README.md --- README.md | 42 +++++++++++++++++------------------------- 1 file changed, 17 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index d37ab00..5da2cc7 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,24 @@ Pour plus d'info sur le jeu, rendez vous sur le [Wiki](http://re.wiki.virtualwor Python3 script for unpack/repack and uncompress/compress of PZZ archive. ### User manual +Unpack **source.pzz** in the default new folder _source_. If optional_dest_folder is specified we unpack in _optional_dest_folder_. +``` +pzztool.py -u source.pzz optional_dest_folder +``` +Pack **source_folder** in the default new pzz file _source_folder.pzz_. If optional_dest.pzz is specified we pack in _optional_dest.pzz_. +``` +pzztool.py -p source_folder optional_dest.pzz +``` +Unpack every pzz files present in _source_folder_ using the same directory. For each pzz a folder is created using the name of the pzz. If optional_dest_folder is specified we unpack all files in _optional_dest_folder_ instead of source_folder. +``` +pzztool.py -bu source_folder optional_dest_folder +``` +Pack every folder present in _source_folder_ using the same directory. For each folder a pzz file is created using the name of the pzz. If optional_dest_folder is specified we pack all folders in _optional_dest_folder_ instead of source_folder. +``` +pzztool.py -bp source_folder optional_dest_folder +``` +### Extracted files format Every file extracted has a name using the format : AAAB_CD.E @@ -18,28 +35,3 @@ AAAB_CD.E - E is the extension of the file. By default it is **.dat** For example file 012C_cmn_data.dat describe the 13th file off the pzz initialy compressed in a pzz named "cmn_data.pzz" and that has been uncompressed with the default format "dat". The names of unpacked files and the presence of empty unpacked files are important to keep informations relative to the initial pzz and ensure a correct pack. - -``` -pzztool.py -u source.pzz optional_dest_folder -``` -Unpack **source.pzz** in the default new folder _source_. - -If optional_dest_folder is specified we unpack in _optional_dest_folder_. -``` -pzztool.py -p source_folder optional_dest.pzz -``` -Pack **source_folder** in the default new pzz file _source_folder.pzz_. - -If optional_dest.pzz is specified we pack in _optional_dest.pzz_. -``` -pzztool.py -bu source_folder optional_dest_folder -``` -Unpack every pzz files present in _source_folder_ using the same directory. For each pzz a folder is created using the name of the pzz. - -If optional_dest_folder is specified we unpack all files in _optional_dest_folder_ instead of source_folder. -``` -pzztool.py -bp source_folder optional_dest_folder -``` -Pack every folder present in _source_folder_ using the same directory. For each folder a pzz file is created using the name of the pzz. - -If optional_dest_folder is specified we pack all folders in _optional_dest_folder_ instead of source_folder.