Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27-08-2026, 05:14
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 575
Thanks: 116
Thanked 911 Times in 328 Posts
panker1992 is on a distinguished road
ADDeX — Advanced Data Deduplication Engine

ADDeX — Advanced Data Deduplication Engine

I’m working on a new data deduplication and compression tool called ADDeX (Advanced Data Deduplication Engine).

The goal is to experiment with different levels of duplicate-data detection and compression, with a focus on achieving better compression ratios while allowing the user to control the trade-off between speed, memory usage, and compression efficiency.
Current compression modes

M1 — Standard: General-purpose compression with reasonable speed and memory usage.
M2 — Improved: More aggressive matching for better compression ratios.
M3 — Exhaustive: Performs much more intensive matching for maximum compression potential. This mode is significantly more RAM-intensive and can be considerably slower.

Available options

ADDeX.exe [OPTIONS] <command> <input> <output>

Commands:
-m1 <input> <output> Standard compression mode
-m2 <input> <output> Improved compression mode
-m3 <input> <output> Exhaustive compression mode
-d <input> <output> Decompress a file
-d - - Decompress stdin to stdout
-h Display help

Compression options:
-l<N> Minimum match length
Default: 512 | Min: 64 | Max: 1024

-a<N> Alignment
Default: 0 | Min: 0 | Max: 2

-b<N> Block size in MB
Default: 8 MB

Examples

ADDeX.exe -m1 input.dat output.addex

ADDeX.exe -m2 -l64 -a1 data.bin output.addex

ADDeX.exe -m3 -l512 -b16 data.bin output.addex

ADDeX.exe -d compressed.addex original.bin

type compressed.addex | ADDeX.exe -d - - > output.bin

- can be used as a filename to read from stdin or write to stdout, making ADDeX suitable for command-line pipelines.

Version: 0.1 Alpha
Author: Panker1992

This is an early alpha release, so the format, algorithms, command-line options, and compression behavior are still subject to change. Feedback, testing results, and suggestions are welcome.
Attached Files
File Type: 7z ADDeX.7z (269.2 KB, 20 views)
File Type: 7z cls64-ADDeX.7z (26.9 KB, 15 views)
File Type: 7z CLS_addex_all.7z (51.0 KB, 1 views)
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.

Last edited by panker1992; Today at 03:20.
Reply With Quote
The Following 8 Users Say Thank You to panker1992 For This Useful Post:
Cesar82 (27-08-2026), DomoVoi_96 (27-08-2026), KaktoR (27-08-2026), kj911 (27-08-2026), Mushiiii (Yesterday), Razor12911 (27-08-2026), shazzla (27-08-2026), Spinneret94 (Yesterday)
Sponsored Links
  #2  
Old 27-08-2026, 09:55
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 294
Thanks: 532
Thanked 102 Times in 78 Posts
shazzla is on a distinguished road
For a few days im away from my computer.
So....
Whats the de/compression speed compared to srep?
Reply With Quote
  #3  
Old 27-08-2026, 14:33
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 575
Thanks: 116
Thanked 911 Times in 328 Posts
panker1992 is on a distinguished road
i have no clue i never compared to srep, encoding speed should be 15% faster and decode hould be on par

you guys can run this and tell me
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.
Reply With Quote
The Following User Says Thank You to panker1992 For This Useful Post:
shazzla (27-08-2026)
  #4  
Old Today, 03:14
FarhanFaudTahix FarhanFaudTahix is offline
Registered User
 
Join Date: Mar 2026
Location: earth
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
FarhanFaudTahix is on a distinguished road
is it possible to provide a 32 bit cls for freearc. and is the cls working without ADDeX.exe.

Last edited by FarhanFaudTahix; Today at 03:17.
Reply With Quote
  #5  
Old Today, 03:21
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 575
Thanks: 116
Thanked 911 Times in 328 Posts
panker1992 is on a distinguished road
32 bit DLL has been included, and yes the DLL can extract alone, but it cant encode...

is has only the decompression code inside.

I will run benchmarks today for people to compare
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.
Reply With Quote
  #6  
Old Today, 07:02
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 238
Thanks: 161
Thanked 91 Times in 64 Posts
kj911 is on a distinguished road
CLS filters, not works... Max. 16-32MB input data sizes still probably workingly in good scenarios/cases, upto 100MB+ data compressed it, not working.

And different cases, reactions from Win7 x64 SP1:

64bit CLS: Thread blocked indefinitely.
32bit CLS: Few percentage or first ~8MB's or rare cases in below 16MB data extracted, largers not, crashing now after 8MB data readed/writed in.

Only workingly use aDDeX.exe file from testing/decompress. /properly configured comp/decomp commands from arc.ini file./

Tested methods: xZLib+addex:m3+lzma or addex:m3+lzma

Note: xZLib = Old XTool 0.12 32bit versions.
Reply With Quote
  #7  
Old Today, 07:48
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 575
Thanks: 116
Thanked 911 Times in 328 Posts
panker1992 is on a distinguished road
I am working on my own CLS filter written in delphi, this CLS was kindly provided by a friend

Will be fixed within the day, you can use the addex to decompress your file, and if you have files that failed in srep you can try to see, rumors said that it worked
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.
Reply With Quote
  #8  
Old Today, 08:50
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,762
Thanks: 2,193
Thanked 11,254 Times in 2,320 Posts
Razor12911 is on a distinguished road
Some benchmarks, tests performed on ramdisk.

input: Bright Memory Infinite (zlib precompressed), 20,6 GB (22 175 074 282 bytes)

Srep
Quote:
srep (encoding -m3f): Clock 51.695s (CPU 58.467s), Peak RAM usage 1569 MB, Output 15,0 GB (16 112 713 354 bytes)
srep (decoding): Clock 10.785s (CPU 10.468s), Peak RAM usage 1007 MB
lzma compression: Final output 7,26 GB (7 796 298 754 bytes)
Addex
Quote:
addex (encoding -m1): Clock 85.233s (CPU 92.202s), Peak RAM usage 1797 MB, Output 15,0 GB (16 112 671 046 bytes)
addex (decoding): Clock 9.790s (CPU 9.561s), Peak RAM usage 989 MB
lzma2 compression: Final output 7,25 GB (7 796 022 132 bytes)
procprofile srep

Code:
encoding

Process ID       : 26296
Thread ID        : 19848
Process Exit Code: 0
Thread Exit Code : 0

User Time        :          52.421s
Kernel Time      :           6.046s
Process Time     :          58.467s
Clock Time       :          51.695s

Working Set      :         1606240 KB
Paged Pool       :             150 KB
Nonpaged Pool    :              11 KB
Pagefile         :         1599976 KB
Page Fault Count : 432691

IO Read          :        43310706 KB (in            5303 reads )
IO Write         :        15735101 KB (in           38937 writes)
IO Other         :              24 KB (in           31358 others)

decoding 

Process ID       : 11320
Thread ID        : 5852
Process Exit Code: 0
Thread Exit Code : 0

User Time        :           4.843s
Kernel Time      :           5.625s
Process Time     :          10.468s
Clock Time       :          10.785s

Working Set      :         1031588 KB
Paged Pool       :             149 KB
Nonpaged Pool    :             136 KB
Pagefile         :         1034640 KB
Page Fault Count : 259090

IO Read          :        15735170 KB (in            8090 reads )
IO Write         :        21655353 KB (in            9877 writes)
IO Other         :              21 KB (in            7414 others)
procprofile addex

Code:
encoding

Process ID       : 24816
Thread ID        : 20988
Process Exit Code: 0
Thread Exit Code : 0

User Time        :          86.859s
Kernel Time      :           5.343s
Process Time     :          92.202s
Clock Time       :          85.233s

Working Set      :         1840540 KB
Paged Pool       :             111 KB
Nonpaged Pool    :              12 KB
Pagefile         :         1846388 KB
Page Fault Count : 502279

IO Read          :        43310691 KB (in            5289 reads )
IO Write         :        15735033 KB (in           15455 writes)
IO Other         :              24 KB (in             156 others)

decoding

Process ID       : 23824
Thread ID        : 3120
Process Exit Code: 0
Thread Exit Code : 0

User Time        :           3.921s
Kernel Time      :           5.640s
Process Time     :           9.561s
Clock Time       :           9.790s

Working Set      :         1011880 KB
Paged Pool       :             110 KB
Nonpaged Pool    :              98 KB
Pagefile         :         1010832 KB
Page Fault Count : 1503488

IO Read          :        15735074 KB (in            7579 reads )
IO Write         :        21655346 KB (in           21158 writes)
IO Other         :               0 KB (in              49 others)

Last edited by Razor12911; Today at 08:55.
Reply With Quote
The Following 4 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (Today), Dunnowho69 (Today), kj911 (Today), shazzla (Today)
  #9  
Old Today, 14:14
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 238
Thanks: 161
Thanked 91 Times in 64 Posts
kj911 is on a distinguished road
I retested again... Now it's good.

What's certain: The 64bit CLS filter is completely inoperable.

During the afternoon test, during packaging, the 64bit version of XTOOL v0.12 was used (which I wrote as "xZLib"), including the hif/raw*.dll and zlibwapi.dll files. During unpacking, the 32bit version. (From the Xeon PC.)

Furthermore, the unpacking/testing via the "aDDeX.exe" file runs without error, with the 32bit CLS file, although not completely, similarly to the previous case. If there is no xZLib at the beginning of the packaging chain, then there is no error, strange mode. In one of the two smaller images you can see this (test from laptop) + the 64bit CLS error, in the larger image, the other test case.







For those who are experimenting, here is the small prepared package, in the "DATA" folder in the "pack" folder, copy at least 100-500MB of data or even more. Copy/move the created "data.arc" file to the other 3 folders, running the tests one after the other.

For those who don't have enough, you can also copy additional pre- and other compressors to the folders, expanding and editing the "arc.ini" files accordingly, for experimentation. Or add them to the existing test/compressor sets and test them. (eg: Tiny Compressor, Diskspan GUI, etc...)

Plus info: The 32bit CLS-filter, running from XP! (Goood!)

Last edited by kj911; Today at 14:22.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISApexEx - Unified API for 7z / FreeArc / RAR Extraction and Xdelta3 Patching BLACKFIRE69 Conversion Tutorials 9 10-07-2026 04:10
Very Advanced Packing techniques - SFK Live Patch. 'Part 2' panker1992 Conversion Tutorials 4 04-06-2024 11:30
How to patch unneeded voiceovers out of Unreal Engine 4 games Masquerade Conversion Tutorials 4 30-09-2021 22:38
Data deduplication programs? shazzla Conversion Tutorials 6 07-10-2019 14:55
S.T.A.L.K.E.R. Shadow of Chernobyle - Crashing Cpt.Canuck General Gaming 4 23-03-2007 12:01



All times are GMT -7. The time now is 16:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com