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 22-01-2016 07:16

MSR(precomp0.45) is masked for only mp3 that are found on the folder,
if you pack your music library or photo library you will see difference,

MSR(precomp0.45) as it is now it doesnt replace msc in any way :) but the jpg part of it is worth it and of course its smaller size :P

felice2011 22-01-2016 07:35

I had noticed the Precomp0.45 disguised as MSR...:D also the warning that you wrote me in arc.ini...:p

panker1992 22-01-2016 07:49

ahahaha :D I like your work !!

i put so much effort not to pock you but your Italian and i cant resist :P
no hard feelings about arc.ini :) i respect you very much only wanted to pock you a little

precomp.45 offers a bit of mp3 recompression, along with bug fixes on a long forgotten packjpg.exe 2.5j edition, regarding memory leaks

this is the main reason that i switched to jpg compression with precomp0.45 :P

also jpg with precomp.045 is a little more optimized at least for me

Amsal 22-01-2016 07:57

Panker you did a mistake for the Ram Optimization, you didn't added mp3 method in the arc.ini

EDIT - but i copied from the arc.ini orginal from the masked compression 2.2

felice2011 22-01-2016 08:15

Quote:

Originally Posted by panker1992 (Post 446343)
i put so much effort not to pock you but your Italian and i cant resist :P
no hard feelings about arc.ini :) i respect you very much only wanted to pock you a little

Mi sa che tu un italiano doc non l'hai mai conosciuto....:D
se non ti calmi con tutte queste maschere, e riesci a compilare qualcosa di veramente concreto, a carnevale prendo l'aereo, in un paio d'ore sto da te in grecia...mi offri un pranzo con specialità greche..e poi ce ne andiamo a donne...ne ho conosciute di tutte le razze ma con una ragazza greca non ci sono mai stato..:p:p:p
Uses the online translation....:D

Amsal 22-01-2016 08:25

Quote:

Originally Posted by felice2011 (Post 446346)
Mi sa che tu un italiano doc non l'hai mai conosciuto....:D
se non ti calmi con tutte queste maschere, e riesci a compilare qualcosa di veramente concreto, a carnevale prendo l'aereo, in un paio d'ore sto da te in grecia...mi offri un pranzo con specialità greche..e poi ce ne andiamo a donne...ne ho conosciute di tutte le razze ma con una ragazza greca non ci sono mai stato..:p:p:p
Uses the online translation....:D

Even, i read this message and understood that LOL

panker1992 22-01-2016 08:34

Felice you are welcome anytime :P

what i give is concrete :P everything i have ever made was because of experimentation

if you do not fail before you achieve something :P then its not funny at all

Basically i attend a university in Patrai :P it has ship for Italy so i can come instead :P

felice2011 22-01-2016 11:38

Hey Panker...you are also welcome, if you are in Campania near Naples let me know.:)

Pratasso seems like a nice place to vacation sea and hills, ideal.:D

Doing something concrete was just a joke, we are here for fun and hobbies, no one forces us to to do anything, and no one pays us here.;)

panker1992 22-01-2016 12:36

I will send you something when I get home I am outside at the moment


I also post a nasty bug I found :)

romulus_ut3 23-01-2016 04:29

http://i.imgur.com/an0jXw5.jpg

I get this no matter what method I use to compress the archive, upon extraction, everytime I see this, and DLG's extractor tells me my disk is full (likely needs memory parameter tweaking) -_-

panker1992 23-01-2016 07:53

I need to post, a very nasty bug i fixed yesterday but it has nothing to do with decompression

it's high likely that you have a leak somewhere please post what you compress
which method and what parameters, any modification ....

romulus_ut3 23-01-2016 08:36

Here's my "Advanced_Data_Comp.bat"

Code:

@echo off
color 0c
Title Compressor - by Panker1992
echo.  **************************************************************************
echo.  *    External Options for  Compressor  By Panker1992                    *
echo.  * Modes: Options stored in arc.ini see below for best results            *
echo.  * 1) fast =super fast, optimal =best w/o precomp, max =optimal+precomp * 
echo.  * smartmax =masked precomp, smartlzt =smartmax + lzt, legacy =oldmethod  *
echo.  * devastate = heavy duty comp, will take so much time you will freak    *
echo.  * 2) I added txt, void and jpeg as external for custom made bat files    *
echo.  **************************************************************************
pause
@echo Recompressing Data...
arc a -lc1024 -ld1024 -ep1 -ed -r -hp -pYourpassword -w.\ Data\data.bin -mstrong  "G:\Sniper Elite V2\*"
::examples, I recommend optimal and smartmax for ultimate results
::devastate has ultimate compression but its so slow that its best only when you store long term
::arc a -lc1024 -ld1024 -ep1 -ed -r -hp -pYourpassword -w.\ Data\data1.bin -mfast  "D:\Games\Steam\*"
::arc a -lc1024 -ld1024 -ep1 -ed -r -hp -pYourpassword -w.\ Data\data1.bin -mstrong  "D:\Games\Steam\*"
::arc a -lc1024 -ld1024 -ep1 -ed -r -hp -pYourpassword -w.\ Data\data1.bin -mdevastate  "D:\Games\Steam\*"
::arc a -lc1024 -ld1024 -ep1 -ed -r -hp -pYourpassword -w.\ Data\data1.bin -mlegacy  "D:\Games\Steam\*"
echo *******************************************************************************
echo.
echo                Compressing is Completed
echo.
echo *******************************************************************************
pause

And here's my arc.ini:

Code:

[Compression methods]
; For Tiny SFX usage, dont use anything else other than that !!!
sfx      =  msc+srep+delta+exe2+4x4:lzma:100m:max/$text=dict:p:128m+lzp:64m:105:d1m:s32:h22+ppmd:12:192m
sfxmax    =  precomp+msc+srep+delta+exe2+4x4:lzma:100m:max/$text=dict:p:128m+lzp:64m:105:d1m:s32:h22+ppmd:12:192m
lzma2    =  4x4:lzma:a1:mfbt4:d256m:fb273:mc1000:lc8
oldtxt    =  dict:p:128m+lzp:64m:105:d1m:s32:h22+ppmd:12:192m
; For Masked Compression Usage  (precomp:zl98:d1)
legacy    = msc+srep+delta+exe2+4x4:lzma:a1:mfbt4:d256m:fb273:mc1000:lc8
sonido    = msc+srep64+delta+exe2+zstd/$jpgsolid=jpg+zstd/$mp3solid=mp3+zstd/$void=srep64+zstd/$text=dict:p:128m+lzp:64m:105:d1m:s32:h22+ppmd:12:192m
fast      = msc+srep64+delta+exe2+xz/$jpgsolid=jpg+zstd/$mp3solid=mp3+zstd/$void=srep64+zstd/$text=nz/$precomp=msc+srep64+delta+zstd
optimal  = msc+srep64+delta+exe2+xz/$jpgsolid=jpg+zstd/$mp3solid=mp3+zstd/$void=srep64+zstd/$text=nz
lztmax    = msc+srep64+delta+exe2+lzt/$jpgsolid=jpg+zstd/$mp3solid=mp3+zstd/$void=srep64+zstd/$text=nz/$precomp=precomp+msc+srep64+delta+lzt
strong    = msc+srep64+delta+exe2+xz/$jpgsolid=jpg+zstd/$mp3solid=mp3+zstd/$void=srep64+zstd/$text=nz/$precomp=precomp+msc+srep64+delta+lz77   
ultra    = precomp+msc+srep64+delta+exe2+lz77/$jpgsolid=jpg+zstd/$mp3solid=mp3+zstd/$void=srep64+zstd/$text=nz
; these 2 methods provide ultimate compression ratios but they are BETA at the moment
refl8    = msc+srep64+delta+exe2+xz/$jpgsolid=jpg+zstd/$mp3solid=mp3+zstd/$void=srep64+zstd/$text=nz/$precomp=reflate+msc+srep64+delta+lz77
devastate = precomp+msc+srep64+delta+exe2+nzmax/$jpgsolid=jpg+zstd/$mp3solid=mp3+zstd/$void=srep64+zstd/$text=nz

[External compressor:srep]
header = 0
packcmd  = srep -m3f -a1 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s -- <stdin> <stdout>

[External compressor:srep64]
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:d27:fb=273:mf=bt4:mc=1000000:lc=4:lp=0 -mmt=on -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>

[External compressor:precomp]
header = 0
packcmd  = precomp -slow -t-j -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.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 -9 $$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,mp3]
header = 0
packcmd  = msr -fast -cn -t+j3 -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = msr -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp
solid = 0

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

[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:nz]
;options -cc=best -m3g=memory -nm
packcmd  = nz a -r -v -cc -m3g -br128m -bw128m -p2 -t0 -nm $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp 
unpackcmd = nz x -m1g -t0 -p0 $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp   
datafile  = $$arcdatafile$$.tmp
packedfile = $$arcpackedfile$$.tmp.nz

[External compressor:nzmax]
;options -cc=best CM algo -m3g=memory -nm ; -cO fast option BWT algo
packcmd  = nz a -r -v -cc -m8g -br128m -bw128m -p4 -t0 -nm $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp 
unpackcmd = nz x -m1g -t0 -p0 $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp   
datafile  = $$arcdatafile$$.tmp
packedfile = $$arcpackedfile$$.tmp.nz

[External compressor:lzt]
;x64 version ;fast: -32 ;max:-p1 -49 -b200
packcmd  = lzt -p1 -49 -b200 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp 
unpackcmd = lzt -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp 
datafile  = $$arcdatafile$$.tmp
packedfile = $$arcpackedfile$$.tmp

[External compressor:precomp045]
; This is a method in test, dont use this unless you are a developer or Beta tester, I DO NOT PROVIDE PUBLIC SUPPORT YET (Felice dont update DLG with this :P )
header = 0
packcmd  = msr -intense0 -cn -zl98 -d1 -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = msr -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

Here's my Unpacker.bat:

Code:

@echo off
setlocal enableextensions


unarc.exe x -o+ -pYourpassword -dptest data.bin

pause

And here's the arc.ini from the Decomp Tools folder:

Code:

[External compressor:srep]
header = 0
packcmd  = srep -m3f -a1 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s -- <stdin> <stdout>

[External compressor:srep64]
header = 0
packcmd  = srep64 {options} -m3f -d1g -a2 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d -s -- <stdin> <stdout>

[External compressor:xz,lz77]
header = 0
packcmd  = 7z a -txz -an -mcrc=0 -m1=lzma2:d450m: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 -slow -t-j -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.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 -9 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = zstd -d -f <stdin> <stdout>

[External compressor:jpg,mp3,precomp045]
; to use precomp045 in this case you need to delete packjpg_dll1.dll packjpg_dll.dll and cls-precomp.dll from this menu
header = 0
packcmd  = msr -fast -cn -t+j3 -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = msr -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp
solid = 0

[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:nz,nzmax]
;options -cc=best -m3g=memory -nm
packcmd  = nz64 a -r -v -cc -m3g -br128m -bw128m -p2 -t0 -nm $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp 
unpackcmd = nz64 x -m1400m -t0 -p0 $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp   
datafile  = $$arcdatafile$$.tmp
packedfile = $$arcpackedfile$$.tmp.nz

[External compressor:lzt]
;x64 version ;fast: -32 ;max:-p1 -49 -b200
packcmd  = lzt -p1 -49 -b200 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp 
unpackcmd = lzt -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp 
datafile  = $$arcdatafile$$.tmp
packedfile = $$arcpackedfile$$.tmp


felice2011 23-01-2016 10:29

Quote:

Originally Posted by romulus_ut3 (Post 446358)
http://i.imgur.com/an0jXw5.jpg

I get this no matter what method I use to compress the archive, upon extraction, everytime I see this, and DLG's extractor tells me my disk is full (likely needs memory parameter tweaking) -_-

You've used mask with recompression: "/$mp3solid=mp3+zstd":rolleyes:

The "DLG Extractor v1.1" does not have support for MSR(precomp0.45 beta test)..;)

romulus_ut3 23-01-2016 19:08

Quote:

Originally Posted by felice2011 (Post 446364)
You've used mask with recompression: "/$mp3solid=mp3+zstd":rolleyes:

The "DLG Extractor v1.1" does not have support for MSR(precomp0.45 beta test)..;)

I've tried it with the previous 0.38 precomp implementation, it still gave me the some error regarding disk being full.

Amsal 24-01-2016 00:07

http://i.imgur.com/dr6liKv.jpg

Bro, help me with this?


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

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