View Single Post
  #64  
Old 19-12-2015, 10:47
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 566
Thanks: 116
Thanked 889 Times in 321 Posts
panker1992 is on a distinguished road
packcmd = lz77 e -si -so <stdin> <stdout> -a1 -d30 -fb273 -mc10000 -lc8 -lp4 -mfbt4

this command is the top you can get that means lz77 aka(lzma renamed) will use best dictionary available


in short terms that means you must have at least 20 gigs of ram ..... yeah lzma can use bigger dictionary than 1024 mb ...
if i remember correct 1.5 gigs or now after the update around 4 which means 15 gigs and 40 gigs respectively .....


depending on your machine use -d15 instead of 30 or -d20 test a little

enjoy

EDIT1: well decided to give you many options since i am to the bone in lzma and lzma2
-mfbt4 command on lzma is power-very-hungry ram user and nasty one to use especially if your ram is limited
it will use 10 gigs of ram per 1gig of dictionary .... in short you can switch to -mfhc4 that uses 1.5 gigs ram per 1 gig dictionary
personally i havent used -mfhc4 at all so if you pull some tests please let me know

EDIT2: sorry forgot to tell above :P please dont yell for many edits i only have one mind
with this out of the way, lz77 replaces freearc-lzma in all aspects, this is why i posted it originally
freearc-lzma is outdated to the neck so why use it ?? arc.exe has lzma inside it already and you can just call it without having lzma in ini thi is why i renamed to lz77 to reverse conflict
the lzma inside arc.exe is also outdated to fazip.exe respectively :P

EDIT3: ok now because i want to make your live easy i will tell all my secrets like boss :P
fazip also hasnt been updated in while so its outdated to lz77
lz77 is the same code used in streams to produce lzma2 i use in xz command so all in all
if you wanna do it right delete lz77.exe and use

[External compressor:lz77]
header = 0
packcmd = xz a -txz -an -mcrc=0 -m1=lzma2:d1024m: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>

this line will produce a lzma variant exactly like lz77 and fazip and the lzma code inside arc.exe this is the most updated lzma code to this day
1gig dictionary usage 10 gigs ram is required

Final Edit :

Tests on your program and Corrections

Felice i had time today so i gave a go on your program which is very nice especially for new people in compression

i also give you my endorsement for considering advanced users in this section as well

i decided to make some corrections on this in order to help minimize its source

you dont need dll files as i injected them inside the applications exe now carry their dlls on their backs no need to have them in a file separetely

i removed some programs as well as they dont fit :P

i also updated srep 32 and 64 bit to the latest best version 3.93

Enjoy
__________________
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; 20-12-2015 at 09:12.
Reply With Quote
The Following 5 Users Say Thank You to panker1992 For This Useful Post:
arkantos7 (19-12-2015), felice2011 (20-12-2015), GTX590 (19-12-2015), oltjon (19-12-2015), Stor31 (20-12-2015)