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 26-08-2025, 12:53
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
Archiver, 7z Alternative and FreeArc Replacement

This is a project i have been designing for the past year,

this is practically a brand new archiver, it has custom everything,

Brand new Header, like Freearc which with its utility has taken this forum for the past decade and more
this project's plan is to practically replace it.

I have added a ton of stuff, including the ability to use external algorithms and tools, and i have also included xtool 7.9 from Razor Github page into it as an internal means to precompress.

it comes with 2 modes,

Solid Block, and Blocked compression

you can rely on solid block to pack your games while a block compression can be used to maintain archives.

I plan to expand this with GUI and a DLL for Inno.

Unsolveable:
1) zstd, cannot use window > 1GB in 32 bit, hence :w30 is max for 32 bit systems. it cannot even decompress it.
2) filtering has been suspended because its slow.
3) packjpg,packmp3 are single threaded due to init sequence they are having build in and their buffers automatically clear each other out.
4) Precomp Codec will never be able to work in succession, you can only have one instance per chain, but you can use whatever you want in it as many cases and whatever depth (max:10)

Known Cases Future Fix maybe:
32bit executable uses 64bit placeholders, originally a 32 bit wasn't in the plans. this is a future fix.
New code for delphi lzma2/lzma/xz/7z is added via sdk 26.01. Possibility of adding it.

Bugs - To Do list:
Bug: Brunsli Codec in Precomp, out of bound bugs, best replacement is jojpeg because packjpg is single threaded.
Bugs: New patching Engine, release 0.1, which will be replacing zstd one that is actually present.
Masked Compression placeholders are added.


Changes - WIP 7.4:
SOS!!!
1) a critical bug in header creation was fixed
2) a critical bug was fixed that didnt verify files on decoding, on some occasions that led to corruption
3) a memory leak that occured rarely in compression succession.
Attached Files
File Type: 7z External_v0.1.7z (3.75 MB, 132 views)
File Type: 7z HashBox.7z (1.01 MB, 11 views)
File Type: 7z Setup_Delphi_Example.7z (227.3 KB, 17 views)
File Type: 7z Oodle.7z (514.8 KB, 15 views)
File Type: 7z Setup_Example.7z (4.87 MB, 26 views)
File Type: 7z Archiver_WIP7-2.7z (8.23 MB, 30 views)
File Type: 7z precomp.7z (1.97 MB, 12 views)
File Type: 7z Archiver_WIP7-4.7z (9.08 MB, 14 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; 11-05-2026 at 11:24. Reason: Added Precomp 1.0.2 + Archiver 7.4
Reply With Quote
The Following 17 Users Say Thank You to panker1992 For This Useful Post:
ADMIRAL (25-04-2026), audiofeel (21-10-2025), BKR-TN (29-08-2025), Cesar82 (27-08-2025), DomoVoi_96 (27-08-2025), Dunnowho69 (26-08-2025), KaktoR (26-08-2025), kenzo34 (26-08-2025), kj911 (26-08-2025), Lord.Freddy (26-08-2025), Lucifer Crossman (26-08-2025), Noname1966 (06-01-2026), Razor12911 (26-08-2025), ScOOt3r (26-08-2025), shazzla (26-08-2025), Wanterlude (07-09-2025), wrathma (29-04-2026)
Sponsored Links
  #2  
Old 28-08-2025, 05:02
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 231
Thanks: 158
Thanked 88 Times in 62 Posts
kj911 is on a distinguished road
Bug report (too old cpu or compilation issues?):

Running the "Archiver.exe" get error message:
Code:
Runtime error 217 at 000007FEE6DAA3BD
Xtool.exe instantly crashing. (orig 0.7.9 hotfix release 32bit exe still works.)

Last edited by kj911; 28-08-2025 at 05:07.
Reply With Quote
  #3  
Old 28-08-2025, 05:39
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
Quote:
Originally Posted by kj911 View Post
Bug report (too old cpu or compilation issues?):

Running the "Archiver.exe" get error message:
Code:
Runtime error 217 at 000007FEE6DAA3BD
Xtool.exe instantly crashing. (orig 0.7.9 hotfix release 32bit exe still works.)
What is your system specs ? what OS you use?? what CPU ?

Archiver is 64 Bit application only
__________________
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
  #4  
Old 28-08-2025, 08:03
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 231
Thanks: 158
Thanked 88 Times in 62 Posts
kj911 is on a distinguished road
The old laptop specs, see image:

Tested another Xeon PC: works! (OS is same, Win7 SP1 x64, Xeon E5-2665 CPU)

Quick test from internal zstd compression, found two bugs:

1. The program's exception handling when the syntax is incorrect... /Red lines. Good preserved in green coloured text./
2. There is no feedback on the success of testing the archive. /Blue lines./

Code:
C:\Users\Joci\Desktop\Arch>Archiver.exe a "C:\totalcmd" pack0.arch -mzstd:l22:w31:s9:f1

Original Total Data: 22226432, Actual data size: 22231292

Processing codec 1/1: zstd
  Input file: chain_1.tmp (22231292 bytes)
  Output file: chain_2.tmp
Progress: 100,00% | Compression Ratio: 31,16  zstd: 22231292 -> 6928193 (31,16%)


Final compressed size: 6928193
Overall compression ratio: 31,16%
Compression vs original estimate: 31,17%

C:\Users\Joci\Desktop\Arch>Archiver.exe d pack0.arch zzz
EAccessViolation: Access violation at address 000000000040DC55 in module 'Archiv
er.exe' (offset DC55). Read of address FFFFFFFFFFFFFFFF

C:\Users\Joci\Desktop\Arch>Archiver.exe d pack0.arch null

C:\Users\Joci\Desktop\Arch>Archiver.exe d pack0.arch .\zzz
Writing: wincmd.key - File: 100,0% - Total: 100,0% - Speed: 0,06 MB/s
Attached Images
File Type: png OS.png (2.3 KB, 547 views)

Last edited by kj911; 28-08-2025 at 08:20.
Reply With Quote
  #5  
Old 28-08-2025, 08:12
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
let me see what i can do, you probably lack heavy instruction set. also try to use block compression to test
__________________
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 28-08-2025, 08:26
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 231
Thanks: 158
Thanked 88 Times in 62 Posts
kj911 is on a distinguished road
Is that what you mean?? --> archiver a pack pack.arch -mzstd:l18 -b128 -t6

On the old laptop, the same error occurs as above. On the Xeon PC, there is no error!

UPD: Meanwhile, it turned out that testing small archives (<1-10MB) runs so quickly that there is no indication of the current status of the process. When testing larger archives (1+ GB), there is already a progress indicator. However, there is still no "Archive/All OK" feedback about the success of the testing (or about any errors?).

Are all the classic FreeArc algorithms supported?

What about the incompatibility of tta + solid mode combinations or other rare cases?

Could the "Archiver" program itself be backported to WinXP x86, from source? True, this would be useful mostly for unpacking (like: lolz!), if someone were to use it on XP, with many restrictions. (avoiding large dictionary sizes, Xtool FLAC codec not available in 32bit version, limited support for oodle codecs, etc...)

The precomp, is it version 0.4.7/0.4.8 or older?

UPD2: Found another bug/issues...

Bink compressions not workings, in get 0% ratio reduction via "-mxtool:bink/bpk" or another xtool-related iterations or wrong archive via "-mbink" compression mode, get ~32-36MB size bad archive and testing decompression, will generate blank and weird "chinese-text" named file. (Picture) Compress via -mdedup or -msrep only its works. (~10% size reduction.)

2nd issues, its probably 99% "dedup" external compressors only, stream conflicts/imcompatibility issue via xtool.

Bad: -mprecomp:cflac+dedup+zstd:l22:w31:s9:f1 -b32m -t8
Working: -mprecomp:cflac+srep+zstd:l22:w31:s9:f1 -b256m -t8
with or without "-b256m ..." switches.

More infos from attached TXT file.
Attached Files
File Type: txt _errors.txt (6.9 KB, 4 views)

Last edited by kj911; 28-08-2025 at 13:39. Reason: Added questions
Reply With Quote
  #7  
Old 29-08-2025, 05:53
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
Quote:
Originally Posted by kj911 View Post
Is that what you mean?? --> archiver a pack pack.arch -mzstd:l18 -b128 -t6

On the old laptop, the same error occurs as above. On the Xeon PC, there is no error!

UPD: Meanwhile, it turned out that testing small archives (<1-10MB) runs so quickly that there is no indication of the current status of the process. When testing larger archives (1+ GB), there is already a progress indicator. However, there is still no "Archive/All OK" feedback about the success of the testing (or about any errors?).

Are all the classic FreeArc algorithms supported?

What about the incompatibility of tta + solid mode combinations or other rare cases?

Could the "Archiver" program itself be backported to WinXP x86, from source? True, this would be useful mostly for unpacking (like: lolz!), if someone were to use it on XP, with many restrictions. (avoiding large dictionary sizes, Xtool FLAC codec not available in 32bit version, limited support for oodle codecs, etc...)

The precomp, is it version 0.4.7/0.4.8 or older?

UPD2: Found another bug/issues...

Bink compressions not workings, in get 0% ratio reduction via "-mxtool:bink/bpk" or another xtool-related iterations or wrong archive via "-mbink" compression mode, get ~32-36MB size bad archive and testing decompression, will generate blank and weird "chinese-text" named file. (Picture) Compress via -mdedup or -msrep only its works. (~10% size reduction.)

2nd issues, its probably 99% "dedup" external compressors only, stream conflicts/imcompatibility issue via xtool.

Bad: -mprecomp:cflac+dedup+zstd:l22:w31:s9:f1 -b32m -t8
Working: -mprecomp:cflac+srep+zstd:l22:w31:s9:f1 -b256m -t8
with or without "-b256m ..." switches.

More infos from attached TXT file.

Hello and thank you for your contribution to this new tool it needs attention.

that said, the issues you have, you cant use solid mode only stuff into blocked compression,

Blocked Compression and Solid Compression are 2 different things in my tool.

-mprecomp:cflac:cbink+rep+zstd:l22:w31:s9:f1
or
-mprecomp:cbink:b512mb:t90p

use this

Issue2:
This tool cant be ported to WinXP, i loved WinXp too back in the day but dedicating another year just to make it work on that old prehistoric OS is a solid Nope for me,

My plan was to make this futuristic tool with great utilities inside, most of which cant work on that OS for very good reasons.

however i plan to add a dedicated DLL for unpacking in x86 at some point.

Issue3:
TTA and other stuff can be added externally, they arent present in my code, use fazip.exe it works and also lolz works great
__________________
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 4 Users Say Thank You to panker1992 For This Useful Post:
DomoVoi_96 (29-08-2025), luxuse (12-12-2025), ScOOt3r (31-08-2025), shazzla (29-08-2025)
  #8  
Old 06-09-2025, 00:01
futureking futureking is offline
Registered User
 
Join Date: Jul 2023
Location: India
Posts: 5
Thanks: 1
Thanked 2 Times in 1 Post
futureking is on a distinguished road
one point, would it be possible to keep your external compressor ini compatible with FreeArc's one, this one will allow freearc users to easily use this "replacement".
Reply With Quote
  #9  
Old 06-09-2025, 14:24
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
My external Compression is working similarly to FA, there are however some differencies in the API which of course is different since my project is written in Delphi,

And the was written in C++.

When i designed the way it works, i was making sure that intercompatibility will be a thing

i will of course explain how it works at some point with many details

and of course you should notice that this is a WIP aka work in progress, this isn;t the final product therefore you should TEST ONLY
__________________
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
  #10  
Old 11-09-2025, 05:43
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
Updated the project to WIP 3, and liblzma to 1.0.1

the plans are for me to create a repacking GUI, so you can use the archiver.
Also provide a DLL for Inno usecase

liblzma: i plan to add more utilities in that project as its becoming larger and larger and plays a significant roll in archiver, while keeping archiver as a tool that can help itself.

liblzma brings the following APIs to archiver, XZ,lzma,Preflate,Brunsli,packjpg,Lzham,Oodle, Gritibazli, Lizard,Lzav,Brotli, Kanzi.

i plan to add code from precomp and flac
__________________
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 6 Users Say Thank You to panker1992 For This Useful Post:
Dunnowho69 (11-09-2025), kenzo34 (11-09-2025), Lord.Freddy (11-09-2025), Masquerade (11-09-2025), Razor12911 (11-09-2025), shazzla (11-09-2025)
  #11  
Old 25-09-2025, 11:45
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
Updated to WIP4

Changes - WIP 4, 25/9/2025

1) Changed Lizard to use the streaming functionality instead of using blocks. it is no longer comaptible with old version
2) Added lzham Compression to the blocked compression, and solid compression
3) Fixed lzma2, it is no longer comaptible with old version
4) Fixed Parsing when --pass= is used changed it to --password=, when you use password encryption
5) Changed Header, Params, Added Sections for spanning and more, this broke the compatibility with WIP completely
6) Fixed Zlib, compression and decompression, had issues
__________________
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 4 Users Say Thank You to panker1992 For This Useful Post:
KaktoR (25-09-2025), kenzo34 (25-09-2025), Razor12911 (25-09-2025), Wanterlude (26-09-2025)
  #12  
Old 21-10-2025, 09:59
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
Changes - WIP 5, 21/10/2025 (Complete Overhault)

At this point, i decided to make this tool, from scratch, everything has been created from the beginning
so i fixed countless bugs ,added a plethora of new Features.

New: Filters, in Low API, when the archive is taking the data in, aka source gathering , with tolerance , aka filter configuration
New: Span, Spanning can be activated but with some limitations, spanned archives cant contain updated streams inside for now.
New: CLS-host, with partial compatibility from Bulat's Freearc, NOTE: not all filters work and i haven't tested every single one that exists.
New: 4x4, works similarly to FA with the ability to use internal and external codecs, but not CLS-Filters for now. Note: creates temps for external. but its very fast and efficient

All around fixes and optimizations:
1) Fixed: Stability, optimized several functions which in decompression in particular has to read and reread the archive several times before unpacking.
2) Created Unarc.DLL.
3) Reduced size of the executable with 1 mb.
4) Removed depedencies from the code to work barebone
5) LZAV,Lizard, FastLzma2 have been removed from the DLL and are now Native to the executable.
6) ZSTD has been updated to 1.5.7
7) XXhash has been updated to 8.3
8) LZ4 has been updated to 1.9.4
9) Fixed internal zlib which was creating depedencies and errors , it was seeking
10) fixed lzma which had bugs, was creating buffers and it was bufferign the entire stream to ram, removed lzma2, you can use lzma2 via 4x4:b512:t4:mlzma:d256:l9.

ArchiveManager is now an advanced way to unpack your Data easily and view them in real time. provided a starting point in the future to come.

Generic IO fixes has been made as well.


There is a known issue, liblzma.dll in 32 bit doesn't work and it will give a runtime error no matter what. if this continues the 32 bit's functionality will be severely decrease
__________________
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 5 Users Say Thank You to panker1992 For This Useful Post:
audiofeel (21-10-2025), KaktoR (22-10-2025), Razor12911 (21-10-2025), shazzla (22-10-2025), Wanterlude (24-01-2026)
  #13  
Old 23-10-2025, 00:04
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
Changes - WIP 6

1) Micro optimizations, Pipes now have a little more headroom and a bigger buffer thus they operate smoother.
2) fixed an issue where in Decompression you had to give .\ param to a local folder, it can now detect folder|drive or \\ network
3) added a hash generator which can scan a folder and create a list, where it stores their hashes, xxh32 , xxh64, crc32,crc64 are supported for now because they are stored as Uint64,
MD5 expecting a string or an array of chars so i stirred clear.
4) that hashlist can also be stored and compared to another folder
5) Oodle has been removed from 32 bit Executable. i plan to make a separate 64 bit help application that will intervene and extract but in native 32 bit systems oodle can't work. period.
Silent fixes: XZ, was seeking and its now fixed, Lizard in 32bit was missing malloc, was giving EA , fixed
__________________
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 4 Users Say Thank You to panker1992 For This Useful Post:
Dunnowho69 (24-10-2025), KaktoR (23-10-2025), Masquerade (25-10-2025), Wanterlude (23-10-2025)
  #14  
Old 23-10-2025, 07:02
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Didn't imagine we have a freearc alternative in the future

I cannot wait to replace FA fully with this.
__________________
Haters gonna hate
Reply With Quote
The Following 3 Users Say Thank You to KaktoR For This Useful Post:
Dunnowho69 (20-04-2026), Masquerade (25-10-2025), Wanterlude (24-01-2026)
  #15  
Old 19-04-2026, 14:11
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
i updated this tool, this is not only a massive archiver, but the capabilities it coems with far exceed my expectations.

Next update this will expose the patch engine as in DLL, and you will be able to use it if you want it.

you can replace FA with this.
__________________
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 5 Users Say Thank You to panker1992 For This Useful Post:
audiofeel (19-04-2026), BLACKFIRE69 (19-04-2026), Cesar82 (19-04-2026), Dunnowho69 (20-04-2026), KaktoR (19-04-2026)
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
xnLZ - parallel lzma with entropy scan intended as 64bit 4x4:lzma replacement elit Conversion Tutorials 9 20-04-2025 13:07
ZArc (Alternative of Freearc) Razor12911 Conversion Tutorials 62 04-02-2021 10:40
Major League Baseball 2K12 DVD9 to DVD5 senseman PC Games - CD/DVD Conversions 13 24-08-2013 08:12



All times are GMT -7. The time now is 08:13.


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