FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Masked Compression (Ultimate compression in one go) (https://fileforums.com/showthread.php?t=97530)

panker1992 03-01-2016 13:20

Razor did it again :D
thanks for this
so 7z.dll 15.5 edition 32 bit should suffice or i can get the copy of 15.14 latest edition ??

i have 7z.exe to extract xz format and lz77 format (as dictated by arc.ini :external compression)

compression duration is not affected by rep:800mb but it uses 1 gig more ram during the entire process :P

so as by now lets call rep obsolete, so the entire rep+exe is skipped or replaced by the universal exe2 or as bulat call it dispack070

ramazan19833 03-01-2016 15:03

panker1992 HELP

arc a -lc1024 -ld1024 -ep1 -ed -r -hp -pYourpassword -w.\ Data\data1.bin -mmsc+srep64+rep:512+delta+exe+xz/$bink:zm+zstd/$void=srep64+zstd/$text=srep64+zpaq/$precomp=precomp+msc+srep64+rep:512+delta+exe+lz77 "C:\Max Payne 3\*"

Eror : disk full eror help

panker1992 03-01-2016 15:07

how much ram you have ?? :D

you need to optimize it for your ram post your RAM

and i will do it for you

ramazan19833 03-01-2016 15:18

http://i.hizliresim.com/L1gWVa.jpg

ramazan19833 03-01-2016 15:20


I WOULD THANKS IN ADVANCE


panker1992

panker1992 03-01-2016 15:30

16G RAM Optimals
 
Code :

[External compressor:xz]
header = 0
packcmd = xz a -txz -an -mcrc=0 -m1=lzma2:d600m:fb=273:mf=bt4:mc=1000000:lc=4:lp=0 -mmt=4 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>

[External compressor:lz77]
header = 0
packcmd = 7z a -txz -an -mcrc=0 -m1=lzma2:d1200m:fb=273:mf=bt4:mc=1000000:lc=4:lp=0 -mmt=2 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>


Change these settings in arc.ini and let shine :D hope ti works

ramazan19833 03-01-2016 15:49

@echo off
color 0c
Title Compressor - by Panker1992
echo. ************************************************** ************************
echo. * External Options for Compressor By Panker1992 *
echo. * lzma2=4x4:lzma:a1:mfbt4:d256m:fb273:mc1000:lc8 (alt) *
echo. * Mask1: $jpgsolid=jpg+zstd/$void=srep64+zstd/$text=srep64+zpaq *
echo. * Mask2: $precomp=reflate+precomp+msc+srep64+rep:512+delta+ exe+xz *
echo. * Mask3: $bink=zm+zstd *
echo. * Old: $text=dict:p:128m+lzp:64m:105:d1m:s32:h22+ppmd:12: 192m *
echo. ************************************************** ************************
pause
@echo Recompressing Data...
arc a -lc1024 -ld1024 -ep1 -ed -r -hp -pYourpassword -w.\ Data\data1.bin -mmsc+srep64+rep:512+delta+exe+xz/$jpgsolid=jpg+zstd/$void=srep64+zstd/$text=srep64+zpaq/$precomp=precomp+msc+srep64+rep:512+delta+exe+lz77 "C:\Program Files (x86)\Adobe\*"
echo ************************************************** *****************************
echo.
echo Compressing is Completed
echo.
echo ************************************************** *****************************
pause

http://i.hizliresim.com/W19O7Q.jpg

ramazan19833 03-01-2016 15:52

[External compressor:nz]
;options a) -cc=best -cO=optimal -cDP=fast b) -m6g -nm c) -p3 = cores
packcmd = nz a -cc -m1700m -p2 -t0 -br128m -bw128m -r -v $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp
unpackcmd = nz x -m512g -t0 -p0 $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp
datafile = $$arcdatafile$$.tmp
packedfile = $$arcpackedfile$$.tmp.nz

[External compressor:srep64]
;options = l%d (minimal match length, default=512)
header = 0
packcmd = srep64 {options} -m3f -d1g -a2 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d -s -- <stdin> <stdout>

[External compressor:xz]
header = 0
packcmd = xz a -txz -an -mcrc=0 -m1=lzma2:d600m:fb=273:mf=bt4:mc=1000000:lc=4:lp=0 -mmt=4 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>

[External compressor:precomp]
header = 0
packcmd = precomp -intense0 -c- -t-j {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:msc]
;Alt: c -v -f Forced //-frog=9 use this instead of -tak=9
header = 0
packcmd = MSC c -v -wav=1 -raw=1 -bmp=1 -ddsraw=1 -ddsdxt=1 -mp3=1 -bmf=9s -tak=9 -dxt=1 -lzma=hc4,lc8,lp2,pb2,fb273,mc1000 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

[External compressor:lzham]
packcmd = lzham -m4 -d29 c $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = lzham -c d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:reflate]
header = 0
packcmd = reflate -process $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = reflate -restore123 $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:zstd]
header = 0
packcmd = zstd -f -8 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = zstd -d -f <stdin> <stdout>

[External compressor:rep,lzma,4x4,delta,exe]

header = 0

packcmd = fazip -i0 compress:{compressor}{:option} <stdin> <stdout>

unpackcmd = fazip -i0 decompress:{compressor}{:option} <stdin> <stdout>


[External compressor:jpg]
mem = 10
packcmd = packjpg -np $$arcdatafile$$.jpg
unpackcmd = packjpg -np $$arcdatafile$$.pjg
datafile = $$arcdatafile$$.jpg
packedfile = $$arcdatafile$$.pjg
solid = 0

[External compressor:zpaq]
;-method s4.3ci1 -method 46,36,26
packcmd = zpaq64.exe a $$arcpackedfile$$.tmp $$arcdatafile$$.tmp -method 46,36,26
unpackcmd = zpaq64.exe x $$arcpackedfile$$.tmp $$arcdatafile$$.tmp -summary
datafile = $$arcdatafile$$.tmp
packedfile = $$arcpackedfile$$.tmp

[External compressor:lz77]
header = 0
packcmd = 7z a -txz -an -mcrc=0 -m1=lzma2:d1200m:fb=273:mf=bt4:mc=1000000:lc=4:lp=0 -mmt=2 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>

panker1992 03-01-2016 15:58

-mprecomp+msc+srep64+delta+exe+lz77/$jpgsolid=jpg+zstd/$void=srep64+zstd/$text=srep64+nz

Use this, its more universal :) Windows 10 i saw above .... hmm i love troubleshooting

panker1992 03-01-2016 16:00

Quote:

Originally Posted by panker1992 (Post 445938)
Code :

[External compressor:xz]
header = 0
packcmd = 7z a -txz -an -mcrc=0 -m1=lzma2:d600m:fb=273:mf=bt4:mc=1000000:lc=4:lp=0 -mmt=4 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>

[External compressor:lz77]
header = 0
packcmd = 7z a -txz -an -mcrc=0 -m1=lzma2:d1200m:fb=273:mf=bt4:mc=1000000:lc=4:lp=0 -mmt=2 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>


Change these settings in arc.ini and let shine :D hope ti works


my mistake sorry :P copy this

ramazan19833 03-01-2016 21:18

Hello,Help
 
http://i.hizliresim.com/PP6mDv.jpg
http://i.hizliresim.com/bJMmVY.jpg
http://i.hizliresim.com/or8oVo.jpg
http://i.hizliresim.com/nLmZQ1.jpg

Advanced-Data-Comp.bat

@echo off
color 0c
Title Compressor - by Panker1992
echo. ************************************************** ************************
echo. * External Options for Compressor By Panker1992 *
echo. * lzma2=4x4:lzma:a1:mfbt4:d256m:fb273:mc1000:lc8 (alt) *
echo. * Mask1: $jpgsolid=jpg+zstd/$void=srep64+zstd/$text=srep64+zpaq *
echo. * Mask2: $precomp=reflate+precomp+msc+srep64+rep:512+delta+ exe+xz *
echo. * Mask3: $bink=zm+zstd *
echo. * Old: $text=dict:p:128m+lzp:64m:105:d1m:s32:h22+ppmd:12: 192m *
echo. ************************************************** ************************
pause
@echo Recompressing Data...
arc a -lc1024 -ld1024 -ep1 -ed -r -hp -pYourpassword -w.\ Data\data1.bin -mmsc+srep64+rep:512+delta+exe+xz/$bink:zm+zstd/$void=srep64+zstd/$text=srep64+zpaq/$precomp=precomp+msc+srep64+rep:512+delta+exe+lz77 "C:\Max Payne 3\*"
echo ************************************************** *****************************
echo.
echo Compressing is Completed
echo.
echo ************************************************** *****************************

arc.ini

[External compressor:nz]
;options a) -cc=best -cO=optimal -cDP=fast b) -m6g -nm c) -p3 = cores
packcmd = nz a -cc -m1700m -p2 -t0 -br128m -bw128m -r -v $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp
unpackcmd = nz x -m512g -t0 -p0 $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp
datafile = $$arcdatafile$$.tmp
packedfile = $$arcpackedfile$$.tmp.nz

[External compressor:srep64]
;options = l%d (minimal match length, default=512)
header = 0
packcmd = srep64 {options} -m3f -d1g -a2 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d -s -- <stdin> <stdout>

[External compressor:xz]
header = 0
packcmd = 7z a -txz -an -mcrc=0 -m1=lzma2:d600m:fb=273:mf=bt4:mc=1000000:lc=4:lp=0 -mmt=4 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>

[External compressor:precomp]
header = 0
packcmd = precomp -intense0 -c- -t-j {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:msc]
;Alt: c -v -f Forced //-frog=9 use this instead of -tak=9
header = 0
packcmd = MSC c -v -wav=1 -raw=1 -bmp=1 -ddsraw=1 -ddsdxt=1 -mp3=1 -bmf=9s -tak=9 -dxt=1 -lzma=hc4,lc8,lp2,pb2,fb273,mc1000 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

[External compressor:lzham]
packcmd = lzham -m4 -d29 c $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = lzham -c d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:reflate]
header = 0
packcmd = reflate -process $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = reflate -restore123 $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:zstd]
header = 0
packcmd = zstd -f -8 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = zstd -d -f <stdin> <stdout>

[External compressor:rep,lzma,4x4,delta,exe]

header = 0

packcmd = fazip -i0 compress:{compressor}{:option} <stdin> <stdout>

unpackcmd = fazip -i0 decompress:{compressor}{:option} <stdin> <stdout>


[External compressor:jpg]
mem = 10
packcmd = packjpg -np $$arcdatafile$$.jpg
unpackcmd = packjpg -np $$arcdatafile$$.pjg
datafile = $$arcdatafile$$.jpg
packedfile = $$arcdatafile$$.pjg
solid = 0

[External compressor:zpaq]
;-method s4.3ci1 -method 46,36,26
packcmd = zpaq64.exe a $$arcpackedfile$$.tmp $$arcdatafile$$.tmp -method 46,36,26
unpackcmd = zpaq64.exe x $$arcpackedfile$$.tmp $$arcdatafile$$.tmp -summary
datafile = $$arcdatafile$$.tmp
packedfile = $$arcpackedfile$$.tmp

[External compressor:lz77]
header = 0
packcmd = 7z a -txz -an -mcrc=0 -m1=lzma2:d1200m:fb=273:mf=bt4:mc=1000000:lc=4:lp=0 -mmt=2 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>

Rahmani1811 03-01-2016 23:11

Panker bro getting this error
Genral (de) compreson error in precomp
http://imgur.com/ICiLtV8http://

panker1992 04-01-2016 01:54

Precomp Solution
 
Quote:

Originally Posted by panker1992 (Post 445611)

Program Version
7z.exe = 15.12
zstd.exe = 4.5
lzham.exe = 1.1
zpaq64.exe = 7.05
srep64.exe = 3.93
zlib1.dll = use precomp 0.38 no errors better compression use zlib1.dll 105 kilobytes edition works flawlessly


This is all thanks to Razor i couldnt have done without him :)

Full Support on all Compressors, except reflate its the only one that doesnt work in inno yet

The image on Background i made it quite some time ago using GIMP
hope you like it.


**** Patch 1 download the new scripts use whatever you wish v0.38 or v4.2 precomp

best choice is 0.38 precomp

**** Patch 2 fixed where it didnt properly show the application and the folder wasnt quoted

**** Ripping Decomp v3 fixed decomp error also removed some exe that are not needed for decomp such as msc.exe and pack*.exe since cls-msc.dll exsists

**** Updated Zstd for Windows added 32bit support, this compressor along with 64 bit one pipeline srep and zstd for fast compression and even faster decomp.



Ladies and Gentlemen because i support and i troubleshoot frequently,
i also update my tools regularly or post updates and solutions as they come up
please consider reading them before double posting same problems over and over

Enjoy :)

Precomp 0.38 Eliminates all errors change from 0.42 please

Razor12911 04-01-2016 04:44

Quote:

Originally Posted by panker1992 (Post 445956)
Ladies and Gentlemen because i support and i troubleshoot frequently,
i also update my tools regularly or post updates and solutions as they come up
please consider reading them before double posting same problems over and over

Enjoy :)

Precomp 0.38 Eliminates all errors change from 0.42 please

people should just work with 0.38, 0.40 and 0.43. 0.42 has a tendency of freezing and 0.41 is the black sheep of all.

And reflate does work in inno, it should work.

panker1992 04-01-2016 05:41

Quote:

Originally Posted by Razor12911 (Post 445957)

And reflate does work in inno, it should work.

Razor i cannot make it work in Inno :(
i have tried all your tools only, your inno setup (WPI).
simply refuses to work
when i RIP games (no Inno) just CMD everything works even your 7z.dll doesnt have to be present to decompress,
can you post us some pictures or anyone that had success with it ??

Thanks in advance


All times are GMT -7. The time now is 18:34.

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