-
-
Notifications
You must be signed in to change notification settings - Fork 0
1.2.0 Documentation
Mealman1551 edited this page Dec 3, 2024
·
2 revisions
ADC Archiver is a Python-based tool for creating and extracting compressed .adc archives.
-
Create archives: Compress and store multiple files in a single
.adcarchive. -
Extract archives: Decompress
.adcarchives to their original files. - Cross-platform GUI support: File and folder selection dialogs.
- Command-line support: Automate extraction via arguments.
- Interactive console: Intuitive interface for creating and extracting archives.
- Python 3.6 or higher
- Built-in libraries:
zlib,tkinter
-
read_binary_file(file_path): Reads binary data from a file. -
parma_compress(data): Compresses data usingzlib. -
parma_decompress(compressed_data): Decompresseszlib-compressed data.
-
create_adc_archive(file_paths, output_path)
Compresses multiple files into a.adcarchive.
Parameters:-
file_paths: List of file paths to include. -
output_path: Path to save the archive.
-
-
extract_adc_archive(archive_path, output_dir)
Extracts files from a.adcarchive.
Parameters:-
archive_path: Path to the archive. -
output_dir: Directory for extracted files.
-
-
select_files_for_archiving(): Opens a dialog to select files. -
select_directory_for_extraction(): Opens a dialog to select a folder. -
save_archive_file(): Prompts for saving an.adcarchive. -
open_archive_file(): Opens a dialog to select an.adcfile.
Official ADC Archiver wiki