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

Reply
 
Thread Tools Display Modes
  #31  
Old 01-02-2021, 23:50
Ele's Avatar
Ele Ele is offline
Registered User
 
Join Date: Nov 2020
Location: Near Mars
Posts: 93
Thanks: 35
Thanked 87 Times in 36 Posts
Ele is on a distinguished road
Quote:
Originally Posted by github View Post
tested the Multithreaded Precomp V 0.48,
when I have setup this


The multi thread works, but it will call the cls-precomp.exe instead of cls-precomp_x64.exe

The compressing time reduced a little bit, and the result is 4% smaller?
Which doesn't seem to be right, multi thread should only reduce time not result size.
When try to unpack the result, it says
ERROR: archive structure corrupted (decompression of control block failed)Press any key to continue . . .

Reproduce:

You've misunderstood it. There's no Precomp with multiple threads. The Magic is in the "cls-precomp.dll" file.

CLS file for FreeArc is something like a DLL file for Windows OS. Remember that when you use a CLS file, you shouldn't declare a method similar to CLS name in the arc.ini. In your case, it shouldn't be the method name of the "precomp" in your arc.ini for both compression and decompression.

It finally says that you don't need the configuration file (arc.ini) for CLS files (Some CLS files require their own configuration file (cls-precomp.ini).
__________________
- All life is an experiment. The more experiments you make the better. -
Reply With Quote
Sponsored Links
  #32  
Old 02-02-2021, 01:32
github github is offline
Registered User
 
Join Date: Jan 2021
Location: Australia
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
github is on a distinguished road
Thanks for the quick response and explanation.

I read the readme.log in Masks_Additions_v1.7z and wasn't fully understand the difference that arc.exe will use cls- files without the need to declare a external compressor in arc.ini, but for FA Next, it has to be declared in fa.ini

I tried again with a clean extracting of Masked_Compression_v3.0_.7z
adding the cls- files from Masks_Additions_v1.7z to where arc.exe is.

And in the Advanced_Data_Arc.bat I changed the method to :

Quote:
arc\Arc a -ma9 -ds -lc4096 -ld4096 -di -i1 -ep1 -ed -r -w.\ Setup-1.arc -mprecomp+srep+xz "Pack\*"
This compressed fine.

I copied the srep and xz methods into the arc.ini in the folder of Arc_u.

Then I tried to decompress with Advanced_Data_Unarc.bat

but it gives error of

Quote:
Recompressing Data...
FreeArc 0.67 unpacker. Extracting archive: Setup-1.arc
Extracting test.bin (124 bytes)

ERROR: archive data corrupted (decompression fails)******************************************** ***********************************

Decompressing is Completed

************************************************** *****************************
Reply With Quote
  #33  
Old 02-02-2021, 03:06
Ele's Avatar
Ele Ele is offline
Registered User
 
Join Date: Nov 2020
Location: Near Mars
Posts: 93
Thanks: 35
Thanked 87 Times in 36 Posts
Ele is on a distinguished road
Quote:
Originally Posted by github View Post
Thanks for the quick response and explanation.

I read the readme.log in Masks_Additions_v1.7z and wasn't fully understand the difference that arc.exe will use cls- files without the need to declare a external compressor in arc.ini, but for FA Next, it has to be declared in fa.ini

I tried again with a clean extracting of Masked_Compression_v3.0_.7z
adding the cls- files from Masks_Additions_v1.7z to where arc.exe is.

And in the Advanced_Data_Arc.bat I changed the method to :



This compressed fine.

I copied the srep and xz methods into the arc.ini in the folder of Arc_u.

Then I tried to decompress with Advanced_Data_Unarc.bat

but it gives error of
I can see if you can show me your example. (both compression and decompression)
__________________
- All life is an experiment. The more experiments you make the better. -
Reply With Quote
  #34  
Old 02-02-2021, 08:33
github github is offline
Registered User
 
Join Date: Jan 2021
Location: Australia
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
github is on a distinguished road
Ok a simplier version to reproduce the problem:

Download Masked_Compression_v3.0_.7z and extract.

Put in a random file in pack folder for testing.

Try to run Advanced_Data_Arc.bat

with default packing command of

Quote:
arc\Arc a -ma9 -ds -lc4096 -ld4096 -di -i1 -ep1 -ed -r -w.\ Setup-1.arc ^
-msrep:m3f:a8:l256+exe+lolz:d128m:mt2 "pack\*"
Packing is fine.

Try to unpack.

problem 1:

Arc_u folder has cls-lolz.dll and cls-lolz_x64.exe but not in Arc folder.
Guess when unpacking cls-lolz will be called, this cause the following problem of:

cls-lolz: Can't create read mapping

while trying to unpacking.
I moved cls-lolz.dll,cls-lolz_x64.exe out temporary to solve this issue.

Problem 2:

Arc_u folder has CLS-srep.dll and cls-srep_x64.exe but not in Arc folder.
This also create problem of

CLS-srep:can't create read mapping

while trying to unpacking.
I moved CLS-srep.dll and cls-srep_x64.exe out temporary to solve this issue.

Try unpacking again,
report error of

Quote:
ERROR: archive data corrupted (decompression fails)******************************************** ***********************************

Decompressing is Completed

************************************************** *****************************
Upon checking the

Quote:
-msrep:m3f:a8:l256+exe+lolz:d128m:mt2
The srep64.exe in Arc and Arc_u folder is not the same.
Tried to unpacking with the srep64.exe from Arc folder, will not unpack.
Tried to packing with the srep64.exe from Arc_u folder, will not pack.

It's a dead end
Reply With Quote
  #35  
Old 02-02-2021, 08:46
github github is offline
Registered User
 
Join Date: Jan 2021
Location: Australia
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
github is on a distinguished road
Also

Also Arc's arc.ini has
[External compressor:lolz]
header = 0
packcmd = "lz\lolz_x64.exe" {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = "lz\lolz_x64.exe" $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

Arc_u folder's arc.ini has:

[External compressor:delta,exe,mm,rep,tor,lolz,lolzi,lolz2,l zma]
header = 0
unpackcmd = fazip -i0 decompress:{compressor}{ption} <stdin> <stdout>

But even change to the same exe for lolz will not unpack.


Changed to xz

-msrep:m3f:a8:l256+exe+xz

will not unpack.

copied srep64.exe found in 'maksed data compressor 2.5' to both the arc and arc_u folder, it will still packing fine and not unpacking?
Reply With Quote
  #36  
Old 02-02-2021, 09:08
github github is offline
Registered User
 
Join Date: Jan 2021
Location: Australia
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
github is on a distinguished road
From here
https://fileforums.com/showpost.php?...&postcount=637

srep+lolz might have problem.
But I tested srep+xz same issue.

Might be same issue here:
https://fileforums.com/showpost.php?...&postcount=582
Reply With Quote
  #37  
Old 03-02-2021, 16:18
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 539
Thanks: 115
Thanked 412 Times in 244 Posts
Masquerade is on a distinguished road
github
This error:
Code:
cls-lolz: Can't create read mapping
cls-srep: Can't create read mapping
Occurs when you are trying to run FreeArc decompression without administrator privileges.
Reply With Quote
  #38  
Old 04-02-2021, 10:11
github github is offline
Registered User
 
Join Date: Jan 2021
Location: Australia
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
github is on a distinguished road
Thank you.
While running with administrator privileges those two errors are gone.
With the example command line to compress and decomperss works.

The next question is , what confused me for the last time, is
if I disable cls-lolz.dll and declare the method in arc_u\arc.ini:

Quote:
[External compressor:lolz]
header = 0
packcmd = "lz\lolz_x64.exe" {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = "lz\lolz_x64.exe" $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
This is the same definition in the compressing process. But the decompress will fail with


not an SREP compressed file.


Is it requied to use the cls-lolz.dll for any lolz compressed file?


Same thing happens to srep. If I disable cls-srep.dll and declare the method in arc_u\arc.ini:

Quote:
[External compressor:srep]
packcmd = srep64 {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d -s -mem3072mb - - <stdin> <stdout>
This is the same definition in the compressing process. But the decompress will fail with


ERROR: archive data corrupted (decompression fails)


Is it requied to use the cls-srep.dll for any srep processed file?

I thought cls dlls are optional to use, not mandatory? That's why last time when I moved out the cls files, it ends up with
ERROR: archive data corrupted (decompression fails)
Reply With Quote
  #39  
Old 04-02-2021, 10:59
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 539
Thanks: 115
Thanked 412 Times in 244 Posts
Masquerade is on a distinguished road
github
The CLS dll is actually the controller part of the decompressor, with the EXE doing the work.

For lolz and srep, you must use the cls.
Reply With Quote
Reply

Tags
7zip, compression, freearc, masks, xdelta

Thread Tools
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
Preprocessing / Optimization / Re compression For Better Compression of Games Gupta Software 12 30-11-2021 06:44
Ultimate Conversion Compressor (UCC) vollachr Conversion Tutorials 55 26-04-2021 10:27
Masked Compression (Ultimate compression in one go) panker1992 Conversion Tutorials 658 01-02-2021 16:02
New Fox Kompressor 1.01c Ultimate felice2011 Conversion Tutorials 29 07-12-2018 05:24
M&S_Kompressor By DLG felice2011 Conversion Tutorials 93 21-01-2017 09:12



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


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