Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23-10-2026, 13:24
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 590
Thanks: 122
Thanked 962 Times in 337 Posts
panker1992 is on a distinguished road
TARZ — Texture Adaptive RANS

Hello everyone,

During the past 5 months i have been working on several stuff.

Including Heavy deduplications engines, compression algorithms, precompression and other adjustments my archiver has already build in.

Today i am glad to present to you a new compression tool called, Tarz.


Tarz, is a lolz replacement which i created several weeks ago.
During my recent work on OGG/Opus data i found a way to see how modeling on data really works.
And therefore i decided to create something that can be used to compress Texture heavy Data.

I hope you enjoy using this tool.

In order for you to use this tool, ram is required because it has a build-in LRM.
Which fetches the data from a hefty distance away all while a pricing model creator is running for it.

Take notice that each Thread you pop, it will have its own memory, its own set of models and so on. so using multihtreading will heavily creeple the ratio on this tool.
Attached Files
File Type: 7z tarz.7z (740.3 KB, 27 views)
File Type: 7z tarz_v1.0.1.7z (338.0 KB, 0 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 09:21. Reason: Tarz_1.0.1
Reply With Quote
The Following 10 Users Say Thank You to panker1992 For This Useful Post:
Cesar82 (23-10-2026), dixen (Yesterday), DomoVoi_96 (23-10-2026), Dunnowho69 (Yesterday), KaktoR (23-10-2026), kj911 (Yesterday), Masquerade (23-10-2026), ScOOt3r (23-10-2026), shazzla (23-10-2026), Spinneret94 (23-10-2026)
Sponsored Links
  #2  
Old 23-10-2026, 14:11
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,225
Thanks: 299
Thanked 1,417 Times in 639 Posts
Masquerade is on a distinguished road
Thanks
Been excited for this one...
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
panker1992 (23-10-2026)
  #3  
Old Yesterday, 04:42
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 257
Thanks: 169
Thanked 95 Times in 67 Posts
kj911 is on a distinguished road
Quote:
Originally Posted by panker1992 View Post
Take notice that each Thread you pop, it will have its own memory, its own set of models and so on. so using multihtreading will heavily creeple the ratio on this tool.
Am I reading this correctly? If I use a single thread for compression, do I end up with a worse final compressed size compared to classic LZ algorithms—because there is no single-pass solid compression—meaning that running it on multiple threads would actually yield a better compression ratio? In the case of LOLZ/LZMA, does using a single thread produce the best results, while using multiple threads makes it faster but results in poorer performance (in terms of compression ratio)?

Are there any comparative test results regarding compression ratios for LOLZ/LZMA and Razor vs. Tarz?
Reply With Quote
  #4  
Old Yesterday, 07:10
dixen dixen is online now
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 417
Thanks: 458
Thanked 445 Times in 205 Posts
dixen is on a distinguished road
Interesting project, thank you. It compresses very close to LOLZ, albeit more slowly. I would like to try it with settings equivalent to mtt1 tt2 mt8 mc 32. How can they be set?
Reply With Quote
The Following User Says Thank You to dixen For This Useful Post:
DomoVoi_96 (Yesterday)
  #5  
Old Today, 03:16
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 590
Thanks: 122
Thanked 962 Times in 337 Posts
panker1992 is on a distinguished road
Unfortunately the other day i was so excited to post this, that i forgot to remeasure some variants.

i am working on making it a bit more adaptive than its already is.

Let me explain how this works, and let me explain how i think lolz works.

Tarz has 2 main operations, and it all comes down as to hwo you want to use it.

using, 1 single threads you actually force a single case of models which will span from the beginning of the file until the end of it, and that model will have all known cases for all the files, textures and records it can find and predict.

When using more than one thread this will go away, it split the data in as many equal chunks as you put threads, and in return it will actually make a number of predictions in those ministreams hence you need as many cores to decompress as to compress.

i am actually working on adaptation to give you an already close to lolz ratio as possible.


BTW Tarz isn't a lolz clone, not a copy paste , nor a Reverse Engineering Project.

It is written from scratch in Delphi, using some Advanced techniques i learnt from modelling data.

To-Do:

Advanced AutoParser - Close Gap to lolz
Make it reach further to provide better coverage, lolz can see further it has LDMF-LRM techniques inside which i lack at the moment.

I cannot guarantee the next generation of Tarz will be backwards compatible since this is a demo, Version 2 will be the stable release in my mind
__________________
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 2 Users Say Thank You to panker1992 For This Useful Post:
Cesar82 (Today), DomoVoi_96 (Today)
  #6  
Old Today, 07:58
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 257
Thanks: 169
Thanked 95 Times in 67 Posts
kj911 is on a distinguished road
I ran a quick test using the standard 100MB test archive (a file compressed with the `XZLib+srep:m3f:a0` chain).

If you want to keep things very simple—and don't mind a 10–20% drop in decompression speed—you can use: `d128:l9:cm1`.

Using `cm0` results at the cost of a roughly 1% loss in compression ratio.

LOLZ is 4–5 times faster than TARZ, even when running on a single thread. It is faster with the aforementioned settings; however, I haven't tested it yet on files larger than 1GB, due to considerations regarding thread utilization and memory requirements.

You can see the results of several experiments in the text file below. The patched `cls-filter` also works on XP! It is slow in that environment, though; its benefits are only truly noticeable on a machine with at least 2–4 CPU cores/threads—even if you happen to be running 32-bit XP or Windows 7.
Attached Files
File Type: txt tarz-and-WinXP.txt (2.6 KB, 1 views)
File Type: zip tarz-vs-lolz.txt.zip (2.7 KB, 1 views)
File Type: 7z cls-tarz_WinXP_x86.7z (290.7 KB, 1 views)
Reply With Quote
  #7  
Old Today, 08:50
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 590
Thanks: 122
Thanked 962 Times in 337 Posts
panker1992 is on a distinguished road
Unfortunately, i failed to properly introduce this tool and its capabilities because i was too excited to make it available.

I have streamlined the vast available options, to make some completely static, and others are now properly utilized.

Mins and Maxes are properly displayed while a help is guiding you how to use this properly.


defaults can help you reach lolz ratio, also there are some vars that while increased also increase waiting time exponentially, take care to find what your best favorite is.

increase d or t and then start to play with other variables
__________________
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
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
The Elder Scrolls V Skyrim *Incl HR Texture Pack + Update + DLC's* (2xDVD5 or 3xDVD5) senseman PC Games - CD/DVD Conversions 66 31-12-2013 21:56
Biathlon 2006 Problems... Please help! RamGuy General Gaming 1 10-04-2006 04:23



All times are GMT -7. The time now is 10:07.


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