Skip to content

Releases

v1.3.3: Encoder Performance Optimizations (GRZip, Tornado, PPMd, LZMA, REP)

Choose a tag to compare

@seb3773 seb3773 released this 16 Nov 02:35

Modern, standalone C/C++ rewrite of the FreeArc archiver and unpacker.

What's New in v1.3.3

This release brings several encoder performance improvements across all core compression algorithms and filters, and a small linux bugfix:

• GRZip WFC & MTF Speedup:
• Replaced WFC list-shifting bottleneck with O(1) 64-bit key updates and SIMD rank counting (AVX2 / SSE2).
• Accelerated MTF list shifting with 16-byte SSE2 vector blocks.
• Branchless binary arithmetic coding (ARI_EncodeBit_BL) for run-length and group position bits.

• Tornado AVX2 Acceleration:
• Vectorized CycledCachingMatchFinder with 256-bit AVX2, skipping up to 16 (ptr, key) pairs per iteration with runtime CPU dispatch (and SSE2 fallback).

• PPMd Branchless Pass:
• Replaced nested search loops in encodeSymbol2 with a single deterministic, branchless pass, eliminating branch misprediction penalties.

• LZMA Throughput:
• Branchless range coding (RangeEnc_EncodeBitBL) for literal bits.
• 64-bit word match length extension with CTZ (LzExt).
• SSE2 tag filtering and block memmove for Ht4 hash table match finding.

• REP Filter & Linux Bugfix:
• REP ILP: Interleaved 4 independent rolling hash streams maximizing CPU multiplier pipelining.
• Bugfix (Linux): Zero-initialized ht[] hash table buffer (memset), preventing crashes on multi-file archives.

• Bit-Exact Parity:
• 100% bit-for-bit parity preserved against reference FreeArc across all profiles and test suites.

Packages & Binaries

• freearc_1.3.3-1_amd64.deb : Debian / Ubuntu package
• freearc-1.3.3-linux-x86_64.tar.gz : Portable standalone Linux binaries (arc, unarc, arc.sfx, README.md, FORMAT.md, LICENSE)
• freearc-1.3.3-win64.zip : Portable standalone Windows 64-bit binaries (arc.exe, unarc.exe, README.md, FORMAT.md, LICENSE)

v1.3.2

Choose a tag to compare

@seb3773 seb3773 released this 02 Nov 14:10

Modern, standalone C/C++ rewrite of the FreeArc archiver and unpacker.

What's New in v1.3.2

This release resolves an extraction issue where unarc t / unarc x could report ERROR: file read operation failed on archives containing multi-threaded solid blocks (such as 4x4:lzma or combined profiles dict+4x4) and fixes 64-bit RAM query overflows:

  • Unarc 4x4 Decompression Buffer Handling:

    • Added per-job buffer capacity tracking and dynamic reallocation for worker threads during 4x4 decompression, preventing buffer size mismatch and heap corruption across variable-sized chunks.
    • Implemented loop-based chunk reading in _4x4MTCompressor to ensure complete chunk retrieval across multi-threaded decompressor callbacks.
  • 64-bit Memory Query Overflow Fix:

    • Migrated legacy 32-bit GlobalMemoryStatus to GlobalMemoryStatusEx on Windows (and 64-bit uint64 arithmetic on Linux).
    • Fixed a 32-bit modulo wraparound where systems with 16 GB, 32 GB, or 64 GB of RAM would report 0 bytes of physical memory, which erroneously triggered temporary disk buffering (tempfile) inside the decompression pipeline.
    • Decompression on 64-bit systems now runs entirely in-memory unless an explicit memory limit (-ld) is specified and exceeded.
  • Robust File Read Guards:

    • Clamped and guarded DecompressCallback and MYFILE::tryRead against negative lengths and unsigned 32-bit CRT count overflows.
    • Fixed arc.ini buffer allocation size and string termination in RegisterExternalCompressors.
    • Corrected MYFILE::rename return status check on Windows.

Packages & Binaries

  • freearc_1.3.2-1_amd64.deb: Debian / Ubuntu package
  • freearc-1.3.2-linux-x86_64.tar.gz: Portable standalone Linux binaries (arc, unarc, arc.sfx, README.md, FORMAT.md, LICENSE)
  • freearc-1.3.2-win64.zip: Portable standalone Windows 64-bit binaries (arc.exe, unarc.exe, README.md, FORMAT.md, LICENSE)

freearc-c 1.3.1 - Multi-threading Stability & Compatibility Fixes

Choose a tag to compare

@seb3773 seb3773 released this 02 Nov 11:32

Modern, standalone C/C++ rewrite of the FreeArc archiver and unpacker.

What's New in v1.3.1

This maintenance release addresses stability issues under high multi-threading workloads, drastically optimizes memory allocation, and enhances compatibility:

• Multi-threading Stability Fix (Error -11):
Fixed a data compression crash (ERROR: data compression failed (-11)) that could occur under high thread counts (-mt14 and above) with solid multi-core compression (4x4:lzma).

• Reduced Memory & Disk Footprint:

  • Eliminated redundant nested worker threads in LZMA memory encoding, significantly lowering peak RAM usage during multi-core compression.
  • Streamlined writing directly to the target archive for multi-threaded tasks, bypassing large intermediate disk temporary files.

• Path & Option Compatibility:

  • Added support for FreeArc brace syntax {prefix}path in --diskpath / -dp.
  • Normalized listfile path separators across platforms.
  • Propagated -ld and -lc memory limit constraints across all automatic file grouping profiles.

Packages & Binaries

• freearc_1.3.1-1_amd64.deb : Debian / Ubuntu package
• freearc-1.3.1-linux-x86_64.tar.gz : Portable standalone Linux binaries (arc, unarc, arc.sfx, README.md, FORMAT.md, LICENSE)
• freearc-1.3.1-win64.zip : Portable standalone Windows 64-bit binaries (arc.exe, unarc.exe, README.md, FORMAT.md, LICENSE)

freearc-c 1.3.0 - True Multithreading (4x4) & Bit-Exact Legacy Parity

Choose a tag to compare

@seb3773 seb3773 released this 30 Oct 12:05

Modern, standalone C/C++ rewrite of the FreeArc archiver and unpacker.

What's New in v1.3.0 (True Multithreading & Bit-Exact Legacy Parity)

• True Intra-Stream Multithreading (4x4 Codec):
• Native 4x4 intra-stream multi-threading compressor (src/Compression/4x4/), chunking solid streams in-memory across N worker threads into a single continuous solid DATA_BLOCK.
• Eliminates solid compression trade-offs: maximum solid compression ratio preserved with full multi-core CPU saturation.
• Automatically deployed in auto-profiles (-m4, -m5, -m4x, -m5x) on multi-core systems (≥ 3 cores).

• 100% Bit-Exact Parity vs Windows FreeArc 0.67 (Arc.exe):
• Full bit-for-bit parity on compressed payload (DATA) and directory block metadata (DIR) against legacy FreeArc 0.67 across all codecs (LZMA, Tornado, PPMD, GRZip, TTA, REP, DELTA, BCJ, MM, 4x4) and presets (-m1 to -m5x).
• Exact stream-bounded dictionary capping (LimitDictionary + canonization).
• Standard EPN (Extension, Path, Name) file ordering enabled by default (-ds), with disable switch (-ds- / --sort=-).
• Standard compressed DIR_BLOCK with lzma:1mb:normal:bt4:32.

• Complete arc.groups Classification & Datatype Detection:
• Integrated full extension mapping tables from arc.groups ($text, $compressed, $exe, $iso, $precomp, $obj, $bmp, $wav).
• Dynamic content and entropy detection routing files to optimal compression pipelines (TTA for audio, MM for images, DELTA for binaries/tables).

• 64-bit Codec Hardening & Enhancements:
• PPMD LP64 sub-allocator unit sizing (12-byte units) for exact 64-bit model parity.
• Tornado Hash3 14-bit log table alignment matching original Haskell tor:5 / tor:6.
• GRZip adaptive block mode and purified method string storage.
• Multi-threaded REP hasher (MultipleProcessingThreads) and LZMA match finder MT (LzFindMt).

Packages & Binaries

• freearc_1.3.0-1_amd64.deb : Debian / Ubuntu package
• freearc-1.3.0-linux-x86_64.tar.gz : Portable standalone Linux binaries (arc, unarc, arc.sfx, README.md, FORMAT.md, LICENSE)
• freearc-1.3.0-win64.zip : Portable standalone Windows 64-bit binaries (arc.exe, unarc.exe, README.md, FORMAT.md, LICENSE)

freearc-c 1.2.0 - Performance Optimizations

Choose a tag to compare

@seb3773 seb3773 released this 12 Oct 16:24

Modern, standalone C/C++ rewrite of the FreeArc archiver and unpacker.

What's New in v1.2.0 (Performance Optimizations)

  • Multi-Block Parallel Compression Engine (-mt):
    • Independent block-level multi-threading pipeline in arc preserving FreeArc archive format compatibility and bit-exact unpacker support.
  • SIMD & Hardware-Accelerated Checksums:
    • CRC-32 slice-by-8 and hardware PCLMULQDQ acceleration.
  • Tornado MatchFinder Modernization:
    • 64-bit word XOR comparison and bit manipulation intrinsics (__builtin_ctzll / _BitScanForward64) for high-throughput match finding.
  • GRZip MTF Acceleration:
    • Direct lookup table replacing linear scan in Move-To-Front encoding/decoding.
  • TTA Audio Filter Vectorization:
    • Fast multi-channel decorrelation and SIMD FIR adaptive filter loops.
  • Hot Preprocessing Filters Vectorization:
    • 64-bit and 128-bit vectorization for Delta byte differencing and MM multimedia channels.
  • Build Optimizations:
    • Full -O3 compilation flags across all Linux and Windows targets with bit-exact test suite verification (100% pass rate).

Packages & Binaries

  • freearc_1.2.0-1_amd64.deb: Debian / Ubuntu package
  • freearc-1.2.0-linux-x86_64.tar.gz: Portable standalone Linux binaries (arc, unarc, arc.sfx, README.md, FORMAT.md, LICENSE)
  • freearc-1.2.0-win64.zip: Portable standalone Windows 64-bit binaries (arc.exe, unarc.exe, README.md, FORMAT.md, LICENSE)

freearc-c 1.1.0 - C/C++ rewrite of the FreeArc archiver and unpacker

Choose a tag to compare

@seb3773 seb3773 released this 12 Oct 11:42

Modern, standalone C/C++ rewrite of the FreeArc archiver and unpacker.

What's New in v1.1.0

  • Drop-in Replacement Compatibility:
    • Added create command alias for a (arc create {options} newarchive.arc @list.lst).
    • Automatic creation of intermediate subdirectories on archive creation and extraction.
    • Supported -dpDIR / --diskpath=DIR with brace-wrapped syntax (--diskpath={path/to/folder}).
  • Operation & Diagnostic Logging:
    • Implemented --logfile=FILE / -loFILE across both arc and unarc, mirroring console output, progress, summaries, and error reports directly to the log file.
  • Decompression & Compression Memory Limits:
    • Implemented -ld<mem> / --LimitDecompMem=<mem>: clamps codec dictionary and memory parameters during compression (arc), and safely validates RAM requirements before unpacking (unarc) to prevent OOM errors.
    • Implemented -lc<mem> / --LimitCompMem=<mem>: bounds RAM consumption during compression.
  • Multithreading Control:
    • Implemented -mt<threads> / --MultiThreaded=<threads> wired to compressor processes.

Packages & Binaries

  • freearc_1.1.0-1_amd64.deb: Debian / Ubuntu package
  • freearc-1.1.0-linux-x86_64.tar.gz: Portable standalone Linux binaries (arc, unarc, arc.sfx, README.md, FORMAT.md, LICENSE)
  • freearc-1.1.0-win64.zip: Portable standalone Windows 64-bit binaries (arc.exe, unarc.exe, README.md, FORMAT.md, LICENSE)

freearc-c - C/C++ rewrite of the FreeArc archiver and unpacker

Choose a tag to compare

@seb3773 seb3773 released this 08 Oct 02:04

Modern, standalone C/C++ rewrite of the FreeArc archiver and unpacker, completely free of Haskell/GHC dependencies.

Highlights

  • Full Archive Suite: arc (create, update, freshen, delete, move, SFX conversion), unarc (extract, test, list), and arc.sfx (autonomous Linux installer stub).
  • Cross-Platform: Standalone 64-bit binaries for Linux (x86_64) and Windows (x86_64 static MinGW).
  • High-Performance Codecs: LZMA, PPMD, GRZip, Tornado, TTA.
  • Smart Preprocessors: REP, DICT, DELTA, BCJ (x86), MM (multimedia).
  • Strong Encryption: AES-128/256, Blowfish, Twofish, Serpent (data and header protection).
  • 100% Format Fidelity: Bit-for-bit extraction verified against original FreeArc 0.6x archives.

Documentation

  • README.md: Quick start guide, command reference, usage examples, and build instructions.
  • FORMAT.md: Full technical specification of the FreeArc .arc archive container format.

Packages

  • freearc_1.0-1_amd64.deb: Debian / Ubuntu package
  • freearc-1.0.0-linux-x86_64.tar.gz: Portable standalone Linux binaries
  • freearc-1.0.0-win64.zip: Portable standalone Windows 64-bit binaries