Short: Fast ZIP extractor for Amiga, WarpOS PPC Author: Benedykt Dziubaltowski with Claude AI Uploader: benedykt netc fr (Benedykt Dziubaltowski) Type: util/arc Version: 1.0 Replaces: util/arc/Unzip2026_AI.lha Requires: OS 2.0+, 1MB Chip RAM, 68000+, WarpOS for PPC version Architecture: m68k-amigaos >= 2.0.0; ppc-warpos SPEED - CD32 + SX1 (68EC020 14MHz), 880KB ADF image: HDD -> HDD RAM: -> RAM: UnZip2026 1.0 12s 12s UnZip2026 0.5.3 40s 25s UnZip 6.0 15s 13s UnZip 5.5 19s 17s UnZip2026 1.0 vs 0.5.3: 3.3x faster on HDD, 2x faster in RAM: UnZip2026 1.0 vs UnZip 6.0: about 20% faster on HDD, equal in RAM: History: 1.0 - "Bug free edition + speed". Stability and speed release. Speed: - Stored (uncompressed) Deflate blocks copied in large chunks instead of byte by byte - 64KB file buffers (was 1KB) - hundreds of times fewer disk calls, extraction from/to HDD as fast as in RAM: - Match copy rewritten in C (no per-match function call) CD32 + SX1 (68EC020), 880KB ADF, HDD to HDD: UnZip2026 0.5.3: 40s, UnZip2026 1.0: 12s (UnZip 6.0: 15s, UnZip 5.5: 19s) Fixes: - Stack overflow: random crashes, "cannot create []", wrong time and hang on second run with default Shell stack. Program now allocates its own stack (68k 100KB, WarpOS 256KB) - no "Stack" command needed any more - Split archives (.z01...zNN + .zip, made by "zip -s") were joined but nothing was extracted - offsets are now calculated per volume. Note: UnZip 6.0 cannot extract such archives directly at all - Memory overwrite past the end of the output buffer (could cause random crashes after extraction) - False "Not enough space" warning when extracting to RAM: on Kickstart 3.1 (old RAM-handler reports 100% full) - Total time and average speed were shown 60x too small - Temp file for split archives placed in RAM: based on total free memory, not the largest memory block - Damaged central directory entry is now reported as an error instead of silently stopping - PPMd (method 98) crashed with guru 80000003 - fixed - PKWARE ZipCrypto always said "wrong password" and did not decrypt the data - fixed - bzip2 archives with 900k blocks failed with error -3 on machines with little memory - now falls back to bzip2 small mode automatically Other: - Options may be given anywhere on the command line ("--" ends the options) - Source code included as UnZip2026_source.zip (PPMd + AES-256) - password in PASSWORD.txt - $VER string: "Version UnZip2026_020 FULL" works - Build number shown at startup, name unified: UnZip2026 - Built with m68k-amigaos-gcc 13.3 and VBCC (WarpOS) 0.5.3 - Fix: files now extracted to archive directory, not process CWD. Prevents extraction to wrong volume (e.g. SYS:) when launched from Workbench or Shell in a different directory. 0.5.2 - Fix: AmigaDOS "Please insert volume CURRENT:" requester no longer appears when extracting without -d option. 0.5.1 - Added: WinZip AES-128/192/256 decryption (AE-1/AE-2), Unicode filename support (extra field 0x7075), multi-volume split ZIP support (.z01...zNN + .zip), -w option. 0.5 - First public release. Store, Deflate, Deflate64, LZMA, XZ, bzip2, PPMd, Implode, Reduce, Shrink, PKWARE encryption. --- ENGLISH ------------------------------------------------------- Full-featured ZIP extractor for AmigaOS and WarpOS. Requires Kickstart 2.0 or higher. Minimum 1MB Chip RAM. The need for this program arose in 2008, when Benedykt Dziubaltowski acquired his first PPC card for the Amiga 1200 and discovered that no unzip program existed running natively under WarpOS. UnZip2026 is the realisation of that idea, nearly twenty years later. Version 1.0 is a stability and speed release: all known crashes are fixed and extraction is about 3x faster than version 0.5.3 - faster than UnZip 6.0 on the same hardware. This project is further proof that Claude AI (Anthropic) handles Amiga C programming surprisingly well. The entire source code was generated by AI, including the ZIP engine, all decompression codecs, AES encryption, multi-volume support and Unicode filename handling. Features: - 10 compression methods: Store, Deflate, Deflate64, LZMA, XZ, bzip2, PPMd, Implode, Reduce (1-4), Shrink - PKWARE classic encryption - WinZip AES-128/192/256 decryption (AE-1/AE-2, HMAC-SHA1 verified) - Multi-volume / split ZIP support (.z01...zNN + .zip) - Unicode filename support (extra field 0x7075, ISO-8859-1 output) - RAM buffering and 64KB file buffers for fast extraction - Own stack - works with the default Shell stack (4KB) - Free space check before extraction with [y/N] prompt - Auto-detect and join split archives, temp file in RAM: if possible - Overwrite prompt with [y]es/[n]o/[A]ll/[N]one/[r]ename/[e]xit - Extract to archive directory by default (not process CWD) - UNZIP environment variable support - Builds: 68000, 68020, 68040, 68060, WarpOS PPC Usage: unzip2026 archive.zip <- list contents unzip2026 -x archive.zip <- extract all unzip2026 -x -d RAM:tmp/ arch.zip <- extract to directory unzip2026 -x -p password arch.zip <- extract with password unzip2026 -x arch.zip file.txt <- extract single file unzip2026 -x -w RAM: arch.zip <- working dir for split ZIPs Options: -x / -e Extract -l List contents (default) -d