FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Shelwien's Reflate compatible with Freearc (https://fileforums.com/showthread.php?t=98317)

aswadd 29-10-2016 08:50

Quote:

Originally Posted by Blade2239 (Post 453019)
Ok I tried it
On hitman silent assassin's
Game size 497 mb
Used this reflate it makes this to 1.23 gb
But while compressing it with 7zip ultra, winrar with maximum, compression ratio is 90℅ why??
Then why I use this...
I tried gozarck reflate it recompress it to 1.23 gb and compressed it to 185 mb no error........

2. While decompression it starts quickly to 14 or 15℅ and stuck. Again try to decompress it extracts it. But I tried to decompress again but it stucks again same like first time.....

My arc ini
[External compressor:reflate]
header = 0
packcmd = reflate -process $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = reflate -restore - - <stdin> <stdout>

Packing batch
del /q data.arc
arc.exe a -ep1 -r -ed -w.\temp -s4096m -mreflate data.arc "pack\*"
pause

Any body

1-you shouldn't put reflate settings in arc.ini as it has its own cls ,I mentioned that in EGYcompressor
http://i.imgur.com/QP6e3dG.jpg
2- I used this reflate many times on large files (more than 2GB) & compression & decompression was success
3- try from cmd to extract the archive & see if it still stuck at 15%

Blade2239 29-10-2016 09:21

Quote:

Originally Posted by aswadd (Post 453240)
1-you shouldn't put reflate settings in arc.ini as it has its own cls ,I mentioned that in EGYcompressor
http://i.imgur.com/QP6e3dG.jpg
2- I used this reflate many times on large files (more than 2GB) & compression & decompression was success
3- try from cmd to extract the archive & see if it still stuck at 15%

Yeah if I use batch file there is no problem...
But when I put this in asc in arc extract with resources all required it stuck Everytime.....

aswadd 29-10-2016 10:06

Quote:

Originally Posted by Blade2239 (Post 453242)
Yeah if I use batch file there is no problem...
But when I put this in asc in arc extract with resources all required it stuck Everytime.....

did you try to delete reflate from arc.ini for ASC ??
if yes & the same happened try on normal inno script if the same you have to make inno launch a bat file after extracting which will unpack reflated files :(

Lucas65 30-10-2016 02:35

Hello razor. I tested on .sds file of Mafia 3 (32mb). Win 7 64 bit on fx 8350.

Reflate level 1:
FreeArc 0.67 (March 15 2014) creating archive: data\data1l1.arc
Compressed 1 file, 33,397,949 => 56,319,667 bytes. Ratio 168.63%
Compression time: cpu 0.05 sec/real 14.87 sec = 0%. Speed 2.25 mB/s
All OK

Reflate level 9:
FreeArc 0.67 (March 15 2014) creating archive: data\data1l9.arc
Compressed 1 file, 33,397,949 => 50,587,917 bytes. Ratio 151.47%
Compression time: cpu 0.03 sec/real 17.82 sec = 0%. Speed 1.87 mB/s
All OK

This is ok but with level 9 it is slower and a lower ratio. Have you got an idea?
With other reflate versions there was marked how many stream found.
It seemed useful so I do an idea if the result was good.
I tried on xp 32bit but work only 64bit, pity.
Very thanks for job Razor!

ZakirAhmad 06-03-2017 08:47

I compresed files successfully with above cls +reflate but i am getting extraction problems... Sometime the extraction stucks at 5 sometimes 50... any suggestions please...
Any other reflate with cls or stdin stdout available please do tell me... I also heared about reflateMt, how can i find this please... I need it badly pleease...

COPyCAT 06-03-2017 22:29

Quote:

Originally Posted by Lucas65 (Post 453269)
Hello razor. I tested on .sds file of Mafia 3 (32mb). Win 7 64 bit on fx 8350.

Reflate level 1:
FreeArc 0.67 (March 15 2014) creating archive: data\data1l1.arc
Compressed 1 file, 33,397,949 => 56,319,667 bytes. Ratio 168.63%
Compression time: cpu 0.05 sec/real 14.87 sec = 0%. Speed 2.25 mB/s
All OK

Reflate level 9:
FreeArc 0.67 (March 15 2014) creating archive: data\data1l9.arc
Compressed 1 file, 33,397,949 => 50,587,917 bytes. Ratio 151.47%
Compression time: cpu 0.03 sec/real 17.82 sec = 0%. Speed 1.87 mB/s
All OK

This is ok but with level 9 it is slower and a lower ratio. Have you got an idea?
With other reflate versions there was marked how many stream found.
It seemed useful so I do an idea if the result was good.
I tried on xp 32bit but work only 64bit, pity.
Very thanks for job Razor!

@Lucas65, for your information the level between 1-9 isn't a compression level. In Reflate things work different from the level setting. Mostly you get better compression and time at level 6, sometime level 9 or even level 1. You must try a different level for every different kind of file. God Speed.

chum 19-04-2017 16:04

I'm without luck with a specific game. Pzlib v3 just crashes during recompression or cant find deflate streams in the game. CLSreflate find the streams and recompress fine with good final ratio after srep+lzma. The problem than during decompression it fails.

Tried reflateMT but it stuck always at 59% when compressing.

Razor12911 21-04-2017 16:54

This fails during decompression?

chum 26-04-2017 05:21

Quote:

Originally Posted by Razor12911 (Post 458277)
This fails during decompression?

CLSreflate fails in decompression, yes. PZlib cant find headerless streams during compression. I think the error for reflate in decompression is a bug of reflate itself with the file type.

Game is from PS3.

ERROR: CRC failed in "unpacked\c0000\c0000_a2x.anibnd". File is broken.

If i try compressing every file from the folder individually then decompression works fine, but when i just compress all folder together with reflate it cause CRC error in decompression.

Simorq 26-04-2017 07:59

Quote:

Originally Posted by chum (Post 458418)
CLSreflate fails in decompression, yes. PZlib cant find headerless streams during compression. I think the error for reflate in decompression is a bug of reflate itself with the file type.

Game is from PS3.

ERROR: CRC failed in "unpacked\c0000\c0000_a2x.anibnd". File is broken.

If i try compressing every file from the folder individually then decompression works fine, but when i just compress all folder together with reflate it cause CRC error in decompression.

http://krinkels.org/threads/reflate-api.3419/

Gupta 26-04-2017 08:12

actually you will never get the error in PZLIb V3H if you use reflate dll and smaller value with -s
looks like the error is in razor methods(m1,m2) but not with reflate itself
try using something like pzlib:m2:x:s16:c96m:t100p
arc.ini

Code:

[External compressor:pzlib]
header = 0
packcmd  = pzlib64 e {options} - -o - <stdin> <stdout>
unpackcmd = pZLib64 d -t100p - -o - <stdin> <stdout>


chum 26-04-2017 14:05

What exatly -s parameter does? I not even added this but using reflate.dll worked, now pzlib detect streams and can decompress it without error. Thanks for simorq and princegupta2000.

Simorq 27-04-2017 01:21

[External compressor:pZLib]
header = 0
packcmd = pZLib e -m2 -c32m -t25p - -o - <stdin> <stdout>
unpackcmd = pZLib d -t100p - -o - <stdin> <stdout>

without error

chum 27-04-2017 01:58

I just noticed than if i use one sollid block with this command -s; it cause error in decompression with Pzlib+reflate.dll in this specific game i trying. If i set manual solid block size with -s8192m it decompress without error.

Simorq -t#p only dictate the number of your CPU threads in percentage, does the thread numbers used affect reliability for compression to avoid errors? When i decompress i use higher amount of threads because decompression speed with pzlib is very sensitive with number of CPU threads used.


Code:

Compressed 12,723 files, 8,971,439,002 => 3,806,018,872 bytes. Ratio 42.42%
Compression time: cpu 17.97 sec/real 2054.92 sec = 1%. Speed 4.37 mB/s
All OK

Decompression using -t6:
Code:

Extracted 12,723 files, 3,806,018,872 => 8,971,439,002 bytes. Ratio 42.42%
Extraction time: cpu 20.91 sec/real 271.14 sec = 8%. Speed 33.09 mB/s
All OK


KaktoR 27-04-2017 09:06

What's the difference between k and l in archive?


All times are GMT -7. The time now is 15:09.

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